Isis 3 Programmer Reference
Isis::PointParentItem Class Referenceabstract

Tree item that is a parent and represents a control point. More...

#include <PointParentItem.h>

Inheritance diagram for Isis::PointParentItem:
Inheritance graph
Collaboration diagram for Isis::PointParentItem:
Collaboration graph

Public Types

enum  Column {
  Id = 0, PointType = 1, ChooserName = 2, DateTime = 3,
  EditLock = 4, Ignored = 5, Reference = 6, AdjustedSPLat = 7,
  AdjustedSPLon = 8, AdjustedSPRadius = 9, AdjustedSPLatSigma = 10, AdjustedSPLonSigma = 11,
  AdjustedSPRadiusSigma = 12, APrioriSPLat = 13, APrioriSPLon = 14, APrioriSPRadius = 15,
  APrioriSPLatSigma = 16, APrioriSPLonSigma = 17, APrioriSPRadiusSigma = 18, APrioriSPSource = 19,
  APrioriSPSourceFile = 20, APrioriRadiusSource = 21, APrioriRadiusSourceFile = 22, JigsawRejected = 23
}
 
enum  InternalPointerType { None, Point, Measure, ImageAndNet }
 

Public Member Functions

 PointParentItem (ControlPoint *cp, int avgCharWidth, AbstractTreeItem *parent=0)
 
void addChild (AbstractTreeItem *child)
 
QVariant getData () const
 
QVariant getData (QString columnTitle) const
 
void setData (QString const &columnTitle, QString const &newData)
 
bool isDataEditable (QString columnTitle) const
 
void deleteSource ()
 
InternalPointerType getPointerType () const
 
void * getPointer () const
 
bool hasPoint (ControlPoint *) const
 
AbstractTreeItemparent () const
 
void setParent (AbstractTreeItem *newParent)
 
int row () const
 
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 hasMeasure (ControlMeasure *) const
 
virtual bool hasImage (QString imageSerial) 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 AbstractTreeItemgetFirstVisibleChild () const
 
virtual AbstractTreeItemgetLastVisibleChild () const
 
virtual int indexOf (AbstractTreeItem *child) const
 
virtual int childCount () const
 
virtual void setFirstVisibleChild (AbstractTreeItem *child)
 
virtual void setLastVisibleChild (AbstractTreeItem *child)
 

Static Public Member Functions

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

Static Public Attributes

static const int COLS = 24
 

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

 PointParentItem (const PointParentItem &other)
 
const PointParentItemoperator= (const PointParentItem &other)
 
SurfacePoint prepareSigmas (Distance, SurfacePoint)
 
SurfacePoint prepareSurfacePoint (Latitude, SurfacePoint)
 
SurfacePoint prepareSurfacePoint (Longitude, SurfacePoint)
 
SurfacePoint prepareSurfacePoint (Distance, SurfacePoint)
 
SurfacePoint prepareSurfacePoint (SurfacePoint)
 

Private Attributes

ControlPointm_point
 
AbstractTreeItemm_nextVisibleItem
 
AbstractTreeItemm_parentItem
 
bool m_expanded
 
bool m_selectable
 
bool m_selected
 
bool m_visible
 
int m_dataWidth
 
QList< AbstractTreeItem * > * m_children
 
AbstractTreeItemm_firstVisibleChild
 
AbstractTreeItemm_lastVisibleChild
 

Detailed Description

Tree item that is a parent and represents a control point.

This class represents a parent item in a tree structure that holds control point data. It can have children items added to it, but they must be of type MeasureLeafItem.

Author
????-??-?? Eric Hyer
History:
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.

Definition at line 34 of file PointParentItem.h.


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