Isis 3 Programmer 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 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)
 

Private Member Functions

 MeasureLeafItem (const MeasureLeafItem &other)
 
const MeasureLeafItemoperator= (const MeasureLeafItem &other)
 

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
History:
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.

Definition at line 24 of file MeasureLeafItem.h.


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