Isis 3 Developer Reference
Isis::MeasureLeafItem Class Referenceabstract

A leaf node in the tree structure that represents a control measure. More...

#include <MeasureLeafItem.h>

Inheritance diagram for Isis::MeasureLeafItem:
Inheritance graph
Collaboration diagram for Isis::MeasureLeafItem:
Collaboration graph

Public Types

enum  Column {
  PointId = 0, ImageId = 1, Sample = 2, Line = 3,
  EditLock = 4, Ignored = 5, Reference = 6, Type = 7,
  Obsolete_Eccentricity = 8, GoodnessOfFit = 9, MinPixelZScore = 10, MaxPixelZScore = 11,
  SampleShift = 12, LineShift = 13, SampleSigma = 14, LineSigma = 15,
  APrioriSample = 16, APrioriLine = 17, Diameter = 18, JigsawRejected = 19,
  ResidualSample = 20, ResidualLine = 21, ResidualMagnitude = 22
}
 
enum  InternalPointerType { None, Point, Measure, ImageAndNet }
 

Public Member Functions

 MeasureLeafItem (ControlMeasure *cm, int avgCharWidth, AbstractTreeItem *parent=0)
 
virtual ~MeasureLeafItem ()
 
virtual QVariant getData () const
 
virtual QVariant getData (QString columnTitle) const
 
virtual void setData (QString const &columnTitle, QString const &newData)
 
bool isDataEditable (QString columnTitle) const
 
virtual void deleteSource ()
 
virtual InternalPointerType getPointerType () const
 
virtual void * getPointer () const
 
virtual bool hasMeasure (ControlMeasure *) const
 
AbstractTreeItemparent () const
 
void setParent (AbstractTreeItem *newParent)
 
int row () const
 
virtual void addChild (AbstractTreeItem *child)=0
 
virtual QList< AbstractTreeItem *> getChildren () const =0
 
virtual AbstractTreeItemchildAt (int row) const =0
 
virtual int childCount () const =0
 
virtual AbstractTreeItemgetFirstVisibleChild () const =0
 
virtual AbstractTreeItemgetLastVisibleChild () const =0
 
virtual int indexOf (AbstractTreeItem *child) const =0
 
virtual void setFirstVisibleChild (AbstractTreeItem *child)=0
 
virtual void setLastVisibleChild (AbstractTreeItem *child)=0
 
virtual QString getFormattedData () const
 
virtual QString getFormattedData (QString columnTitle) const
 
virtual bool hasImage (QString imageSerial) const
 
virtual bool hasPoint (ControlPoint *) const
 
virtual AbstractTreeItemgetNextVisiblePeer () const
 
virtual void setNextVisiblePeer (AbstractTreeItem *next)
 
virtual void setExpanded (bool newState)
 
virtual bool isExpanded () const
 
virtual void setSelected (bool newState)
 
virtual void setSelectable (bool newSelectable)
 
virtual bool isSelected () const
 
virtual bool isSelectable () const
 
virtual void setVisible (bool newState)
 
virtual bool isVisible () const
 
virtual int getDataWidth () const
 
virtual int getDepth () const
 
virtual void setLastVisibleFilteredItem (AbstractTreeItem *item)
 
virtual const AbstractTreeItemgetLastVisibleFilteredItem () const
 
virtual AbstractTreeItemchildAt (int row) const
 
virtual QList< AbstractTreeItem *> getChildren () const
 
virtual int indexOf (AbstractTreeItem *child) const
 
virtual int childCount () const
 
virtual void addChild (AbstractTreeItem *child)
 
virtual AbstractTreeItemgetFirstVisibleChild () const
 
virtual AbstractTreeItemgetLastVisibleChild () const
 
virtual void setFirstVisibleChild (AbstractTreeItem *)
 
virtual void setLastVisibleChild (AbstractTreeItem *)
 

Static Public Member Functions

static QString getColumnName (Column)
 
static Column getColumn (QString)
 
static TableColumnListcreateColumns ()
 

Static Public Attributes

static const int COLS = 23
 

Protected Member Functions

virtual void sourceDeleted ()
 
virtual void calcDataWidth (int avgCharWidth)
 

Static Protected Member Functions

static double catchNull (QString)
 
static QString catchNull (QVariant)
 

Detailed Description

A leaf node in the tree structure that represents a control measure.

This class represents a leaf node in the tree model and has a control measure as data. When created, it was used in the point model to show which control measures are in a control point or on an image.

Author
????-??-?? Eric Hyer

Member Enumeration Documentation

◆ Column

Enumerator
PointId 
ImageId 
Sample 
Line 
EditLock 
Ignored 
Reference 
Type 
Obsolete_Eccentricity 
GoodnessOfFit 
MinPixelZScore 
MaxPixelZScore 
SampleShift 
LineShift 
SampleSigma 
LineSigma 
APrioriSample 
APrioriLine 
Diameter 
JigsawRejected 
ResidualSample 
ResidualLine 
ResidualMagnitude 

◆ InternalPointerType

Enumerator
None 
Point 
Measure 
ImageAndNet 

Constructor & Destructor Documentation

◆ MeasureLeafItem()

Isis::MeasureLeafItem::MeasureLeafItem ( ControlMeasure cm,
int  avgCharWidth,
AbstractTreeItem parent = 0 
)

◆ ~MeasureLeafItem()

Isis::MeasureLeafItem::~MeasureLeafItem ( )
virtual

Member Function Documentation

◆ addChild() [1/2]

void Isis::AbstractLeafItem::addChild ( AbstractTreeItem child)
virtualinherited

◆ addChild() [2/2]

virtual void Isis::AbstractTreeItem::addChild ( AbstractTreeItem child)
pure virtualinherited

◆ calcDataWidth()

◆ catchNull() [1/2]

double Isis::AbstractTreeItem::catchNull ( QString  str)
staticprotectedinherited

◆ catchNull() [2/2]

QString Isis::AbstractTreeItem::catchNull ( QVariant  data)
staticprotectedinherited

References Isis::Double, and Isis::Null.

◆ childAt() [1/2]

AbstractTreeItem * Isis::AbstractLeafItem::childAt ( int  row) const
virtualinherited

◆ childAt() [2/2]

virtual AbstractTreeItem* Isis::AbstractTreeItem::childAt ( int  row) const
pure virtualinherited

◆ childCount() [1/2]

int Isis::AbstractLeafItem::childCount ( ) const
virtualinherited

◆ childCount() [2/2]

virtual int Isis::AbstractTreeItem::childCount ( ) const
pure virtualinherited

◆ createColumns()

◆ deleteSource()

◆ getChildren() [1/2]

QList< AbstractTreeItem *> Isis::AbstractLeafItem::getChildren ( ) const
virtualinherited

◆ getChildren() [2/2]

virtual QList< AbstractTreeItem * > Isis::AbstractTreeItem::getChildren ( ) const
pure virtualinherited

◆ getColumn()

◆ getColumnName()

◆ getData() [1/2]

QVariant Isis::AbstractMeasureItem::getData ( ) const
virtualinherited

◆ getData() [2/2]

QVariant Isis::AbstractMeasureItem::getData ( QString  columnTitle) const
virtualinherited

Implements Isis::AbstractTreeItem.

References Isis::AbstractMeasureItem::APrioriLine, Isis::AbstractMeasureItem::APrioriSample, Isis::AbstractMeasureItem::Diameter, Isis::AbstractMeasureItem::EditLock, Isis::ControlMeasure::GetAprioriLine(), Isis::ControlMeasure::GetAprioriSample(), Isis::AbstractMeasureItem::getColumn(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlMeasure::GetDiameter(), Isis::ControlPoint::GetId(), Isis::CnetDisplayProperties::getInstance(), Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetLineResidual(), Isis::ControlMeasure::GetLineShift(), Isis::ControlMeasure::GetLineSigma(), Isis::ControlMeasure::GetLogData(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlMeasure::GetResidualMagnitude(), Isis::ControlMeasure::GetSample(), Isis::ControlMeasure::GetSampleResidual(), Isis::ControlMeasure::GetSampleShift(), Isis::ControlMeasure::GetSampleSigma(), Isis::ControlMeasure::GetType(), Isis::AbstractMeasureItem::GoodnessOfFit, Isis::ControlMeasureLogData::GoodnessOfFit, Isis::AbstractMeasureItem::Ignored, Isis::AbstractMeasureItem::ImageId, Isis::ControlMeasure::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlMeasure::IsRejected(), Isis::AbstractMeasureItem::JigsawRejected, Isis::AbstractMeasureItem::Line, Isis::AbstractMeasureItem::LineShift, Isis::AbstractMeasureItem::LineSigma, Isis::ControlMeasureLogData::MaximumPixelZScore, Isis::AbstractMeasureItem::MaxPixelZScore, Isis::ControlMeasure::MeasureTypeToString(), Isis::ControlMeasureLogData::MinimumPixelZScore, Isis::AbstractMeasureItem::MinPixelZScore, Isis::AbstractMeasureItem::Obsolete_Eccentricity, Isis::ControlMeasureLogData::Obsolete_Eccentricity, Isis::ControlMeasure::Parent(), Isis::AbstractMeasureItem::PointId, Isis::AbstractMeasureItem::Reference, Isis::AbstractMeasureItem::ResidualLine, Isis::AbstractMeasureItem::ResidualMagnitude, Isis::AbstractMeasureItem::ResidualSample, Isis::AbstractMeasureItem::Sample, Isis::AbstractMeasureItem::SampleShift, Isis::AbstractMeasureItem::SampleSigma, and Isis::AbstractMeasureItem::Type.

◆ getDataWidth()

int Isis::AbstractTreeItem::getDataWidth ( ) const
virtualinherited

◆ getDepth()

int Isis::AbstractTreeItem::getDepth ( ) const
virtualinherited

◆ getFirstVisibleChild() [1/2]

AbstractTreeItem * Isis::AbstractLeafItem::getFirstVisibleChild ( ) const
virtualinherited

◆ getFirstVisibleChild() [2/2]

virtual AbstractTreeItem* Isis::AbstractTreeItem::getFirstVisibleChild ( ) const
pure virtualinherited

◆ getFormattedData() [1/2]

◆ getFormattedData() [2/2]

QString Isis::AbstractTreeItem::getFormattedData ( QString  columnTitle) const
virtualinherited

◆ getLastVisibleChild() [1/2]

AbstractTreeItem * Isis::AbstractLeafItem::getLastVisibleChild ( ) const
virtualinherited

◆ getLastVisibleChild() [2/2]

virtual AbstractTreeItem* Isis::AbstractTreeItem::getLastVisibleChild ( ) const
pure virtualinherited

◆ getLastVisibleFilteredItem()

const AbstractTreeItem * Isis::AbstractTreeItem::getLastVisibleFilteredItem ( ) const
virtualinherited

Reimplemented in Isis::RootItem.

◆ getNextVisiblePeer()

AbstractTreeItem * Isis::AbstractTreeItem::getNextVisiblePeer ( ) const
virtualinherited

◆ getPointer()

void * Isis::AbstractMeasureItem::getPointer ( ) const
virtualinherited

◆ getPointerType()

AbstractTreeItem::InternalPointerType Isis::AbstractMeasureItem::getPointerType ( ) const
virtualinherited

◆ hasImage()

bool Isis::AbstractTreeItem::hasImage ( QString  imageSerial) const
virtualinherited

◆ hasMeasure()

bool Isis::AbstractMeasureItem::hasMeasure ( ControlMeasure m) const
virtualinherited

Reimplemented from Isis::AbstractTreeItem.

◆ hasPoint()

bool Isis::AbstractTreeItem::hasPoint ( ControlPoint point) const
virtualinherited

◆ indexOf() [1/2]

int Isis::AbstractLeafItem::indexOf ( AbstractTreeItem child) const
virtualinherited

◆ indexOf() [2/2]

virtual int Isis::AbstractTreeItem::indexOf ( AbstractTreeItem child) const
pure virtualinherited

◆ isDataEditable()

bool Isis::AbstractMeasureItem::isDataEditable ( QString  columnTitle) const
virtualinherited

◆ isExpanded()

bool Isis::AbstractTreeItem::isExpanded ( ) const
virtualinherited

◆ isSelectable()

bool Isis::AbstractTreeItem::isSelectable ( ) const
virtualinherited

◆ isSelected()

bool Isis::AbstractTreeItem::isSelected ( ) const
virtualinherited

◆ isVisible()

bool Isis::AbstractTreeItem::isVisible ( ) const
virtualinherited

◆ parent()

◆ row()

int Isis::AbstractTreeItem::row ( ) const
inherited

◆ setData()

void Isis::AbstractMeasureItem::setData ( QString const &  columnTitle,
QString const &  newData 
)
virtualinherited

Implements Isis::AbstractTreeItem.

References Isis::AbstractMeasureItem::APrioriLine, Isis::AbstractMeasureItem::APrioriSample, Isis::AbstractTreeItem::catchNull(), Isis::AbstractMeasureItem::Diameter, Isis::AbstractMeasureItem::EditLock, Isis::AbstractMeasureItem::getColumn(), Isis::CnetDisplayProperties::getInstance(), Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetLineResidual(), Isis::ControlMeasure::GetSample(), Isis::ControlMeasure::GetSampleResidual(), Isis::CnetDisplayProperties::getSerialNumber(), Isis::AbstractMeasureItem::GoodnessOfFit, Isis::ControlMeasureLogData::GoodnessOfFit, Isis::AbstractMeasureItem::Ignored, Isis::AbstractMeasureItem::ImageId, Isis::AbstractMeasureItem::JigsawRejected, Isis::AbstractMeasureItem::Line, Isis::AbstractMeasureItem::LineShift, Isis::AbstractMeasureItem::LineSigma, Isis::ControlMeasureLogData::MaximumPixelZScore, Isis::AbstractMeasureItem::MaxPixelZScore, Isis::ControlMeasureLogData::MinimumPixelZScore, Isis::AbstractMeasureItem::MinPixelZScore, Isis::AbstractMeasureItem::Obsolete_Eccentricity, Isis::ControlMeasureLogData::Obsolete_Eccentricity, Isis::AbstractMeasureItem::PointId, Isis::AbstractMeasureItem::Reference, Isis::AbstractMeasureItem::ResidualLine, Isis::AbstractMeasureItem::ResidualMagnitude, Isis::AbstractMeasureItem::ResidualSample, Isis::AbstractMeasureItem::Sample, Isis::AbstractMeasureItem::SampleShift, Isis::AbstractMeasureItem::SampleSigma, Isis::ControlMeasure::SetAprioriLine(), Isis::ControlMeasure::SetAprioriSample(), Isis::ControlMeasure::SetCoordinate(), Isis::ControlMeasure::SetCubeSerialNumber(), Isis::ControlMeasure::SetDiameter(), Isis::ControlMeasure::SetEditLock(), Isis::ControlMeasure::SetIgnored(), Isis::ControlMeasure::SetLineSigma(), Isis::ControlMeasure::SetResidual(), Isis::ControlMeasure::SetSampleSigma(), Isis::ControlMeasure::SetType(), Isis::ControlMeasure::StringToMeasureType(), and Isis::AbstractMeasureItem::Type.

◆ setExpanded()

void Isis::AbstractTreeItem::setExpanded ( bool  newState)
virtualinherited

◆ setFirstVisibleChild() [1/2]

void Isis::AbstractLeafItem::setFirstVisibleChild ( AbstractTreeItem )
virtualinherited

◆ setFirstVisibleChild() [2/2]

virtual void Isis::AbstractTreeItem::setFirstVisibleChild ( AbstractTreeItem child)
pure virtualinherited

◆ setLastVisibleChild() [1/2]

void Isis::AbstractLeafItem::setLastVisibleChild ( AbstractTreeItem )
virtualinherited

◆ setLastVisibleChild() [2/2]

virtual void Isis::AbstractTreeItem::setLastVisibleChild ( AbstractTreeItem child)
pure virtualinherited

◆ setLastVisibleFilteredItem()

void Isis::AbstractTreeItem::setLastVisibleFilteredItem ( AbstractTreeItem item)
virtualinherited

Reimplemented in Isis::RootItem.

References _FILEINFO_, and Isis::IException::Programmer.

◆ setNextVisiblePeer()

void Isis::AbstractTreeItem::setNextVisiblePeer ( AbstractTreeItem next)
virtualinherited

◆ setParent()

void Isis::AbstractTreeItem::setParent ( AbstractTreeItem newParent)
inherited

◆ setSelectable()

void Isis::AbstractTreeItem::setSelectable ( bool  newSelectable)
virtualinherited

◆ setSelected()

void Isis::AbstractTreeItem::setSelected ( bool  newState)
virtualinherited

◆ setVisible()

void Isis::AbstractTreeItem::setVisible ( bool  newState)
virtualinherited

◆ sourceDeleted()

void Isis::AbstractMeasureItem::sourceDeleted ( )
protectedvirtualinherited

Member Data Documentation

◆ COLS

const int Isis::AbstractMeasureItem::COLS = 23
staticinherited

The documentation for this class was generated from the following files: