Isis Developer 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 , AdjustedSPCoord1 = 7 ,
  AdjustedSPCoord2 = 8 , AdjustedSPCoord3 = 9 , AdjustedSPCoord1Sigma = 10 , AdjustedSPCoord2Sigma = 11 ,
  AdjustedSPCoord3Sigma = 12 , APrioriSPCoord1 = 13 , APrioriSPCoord2 = 14 , APrioriSPCoord3 = 15 ,
  APrioriSPCoord1Sigma = 16 , APrioriSPCoord2Sigma = 17 , APrioriSPCoord3Sigma = 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)
 
virtual ~PointParentItem ()
 
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 void resetColumnHeaders (TableColumnList *columns)
 Resets pertinent point table column headers based on the active point coordinate display type (Lat/Lon/Radius or XYZ).
 

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)
 

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

Member Enumeration Documentation

◆ Column

Enumerator
Id 
PointType 
ChooserName 
DateTime 
EditLock 
Ignored 
Reference 
AdjustedSPCoord1 
AdjustedSPCoord2 
AdjustedSPCoord3 
AdjustedSPCoord1Sigma 
AdjustedSPCoord2Sigma 
AdjustedSPCoord3Sigma 
APrioriSPCoord1 
APrioriSPCoord2 
APrioriSPCoord3 
APrioriSPCoord1Sigma 
APrioriSPCoord2Sigma 
APrioriSPCoord3Sigma 
APrioriSPSource 
APrioriSPSourceFile 
APrioriRadiusSource 
APrioriRadiusSourceFile 
JigsawRejected 

◆ InternalPointerType

Enumerator
None 
Point 
Measure 
ImageAndNet 

Constructor & Destructor Documentation

◆ PointParentItem()

Isis::PointParentItem::PointParentItem ( ControlPoint * cp,
int avgCharWidth,
AbstractTreeItem * parent = 0 )

◆ ~PointParentItem()

Isis::PointParentItem::~PointParentItem ( )
virtual

Member Function Documentation

◆ addChild()

void Isis::PointParentItem::addChild ( AbstractTreeItem * child)
virtual

◆ calcDataWidth()

◆ catchNull() [1/2]

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

◆ catchNull() [2/2]

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

References Isis::Null.

◆ childAt() [1/2]

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

◆ childAt() [2/2]

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

◆ childCount() [1/2]

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

◆ childCount() [2/2]

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

◆ createColumns()

◆ deleteSource()

◆ getChildren() [1/2]

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

◆ getChildren() [2/2]

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

◆ getColumn()

◆ getColumnName()

◆ getData() [1/2]

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

◆ getData() [2/2]

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

Implements Isis::AbstractTreeItem.

References Isis::AbstractPointItem::AdjustedSPCoord1, Isis::AbstractPointItem::AdjustedSPCoord1Sigma, Isis::AbstractPointItem::AdjustedSPCoord2, Isis::AbstractPointItem::AdjustedSPCoord2Sigma, Isis::AbstractPointItem::AdjustedSPCoord3, Isis::AbstractPointItem::AdjustedSPCoord3Sigma, Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPCoord1, Isis::AbstractPointItem::APrioriSPCoord1Sigma, Isis::AbstractPointItem::APrioriSPCoord2, Isis::AbstractPointItem::APrioriSPCoord2Sigma, Isis::AbstractPointItem::APrioriSPCoord3, Isis::AbstractPointItem::APrioriSPCoord3Sigma, Isis::AbstractPointItem::APrioriSPSource, Isis::AbstractPointItem::APrioriSPSourceFile, Isis::AbstractPointItem::ChooserName, Isis::AbstractPointItem::DateTime, Isis::Angle::degrees(), Isis::AbstractPointItem::EditLock, Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlPoint::GetAprioriRadiusSourceFile(), Isis::ControlPoint::GetAprioriSurfacePoint(), Isis::ControlPoint::GetAprioriSurfacePointSourceFile(), Isis::ControlPoint::GetChooserName(), Isis::AbstractPointItem::getColumn(), Isis::ControlPoint::GetDateTime(), Isis::ControlPoint::GetId(), Isis::CnetDisplayProperties::getInstance(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLatSigmaDistance(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLocalRadiusSigma(), Isis::SurfacePoint::GetLongitude(), Isis::SurfacePoint::GetLonSigmaDistance(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlPoint::GetPointTypeString(), Isis::ControlPoint::GetRadiusSourceString(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlPoint::GetSurfacePointSourceString(), Isis::SurfacePoint::GetX(), Isis::SurfacePoint::GetXSigma(), Isis::SurfacePoint::GetY(), Isis::SurfacePoint::GetYSigma(), Isis::SurfacePoint::GetZ(), Isis::SurfacePoint::GetZSigma(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlPoint::IsRejected(), Isis::AbstractPointItem::JigsawRejected, Isis::CnetDisplayProperties::LatLonRadius, Isis::Displacement::meters(), Isis::Distance::meters(), Isis::AbstractPointItem::PointType, and Isis::AbstractPointItem::Reference.

◆ getDataWidth()

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

◆ getDepth()

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

◆ getFirstVisibleChild() [1/2]

◆ 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::AbstractParentItem::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::AbstractPointItem::getPointer ( ) const
virtualinherited

◆ getPointerType()

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

◆ hasImage()

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

◆ hasMeasure()

bool Isis::AbstractTreeItem::hasMeasure ( ControlMeasure * measure) const
virtualinherited

◆ hasPoint()

bool Isis::AbstractPointItem::hasPoint ( ControlPoint * p) const
virtualinherited

Reimplemented from Isis::AbstractTreeItem.

◆ indexOf() [1/2]

int Isis::AbstractParentItem::indexOf ( AbstractTreeItem * child) const
virtualinherited

◆ indexOf() [2/2]

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

◆ isDataEditable()

bool Isis::AbstractPointItem::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()

◆ resetColumnHeaders()

◆ row()

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

◆ setData()

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

Implements Isis::AbstractTreeItem.

References _FILEINFO_, Isis::AbstractPointItem::AdjustedSPCoord1, Isis::AbstractPointItem::AdjustedSPCoord1Sigma, Isis::AbstractPointItem::AdjustedSPCoord2, Isis::AbstractPointItem::AdjustedSPCoord2Sigma, Isis::AbstractPointItem::AdjustedSPCoord3, Isis::AbstractPointItem::AdjustedSPCoord3Sigma, Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPCoord1, Isis::AbstractPointItem::APrioriSPCoord1Sigma, Isis::AbstractPointItem::APrioriSPCoord2, Isis::AbstractPointItem::APrioriSPCoord2Sigma, Isis::AbstractPointItem::APrioriSPCoord3, Isis::AbstractPointItem::APrioriSPCoord3Sigma, Isis::AbstractPointItem::APrioriSPSource, Isis::AbstractPointItem::APrioriSPSourceFile, Isis::AbstractTreeItem::catchNull(), Isis::AbstractPointItem::ChooserName, Isis::AbstractPointItem::DateTime, Isis::Angle::Degrees, Isis::AbstractPointItem::EditLock, Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlPoint::GetAprioriSurfacePoint(), Isis::AbstractPointItem::getColumn(), Isis::CnetDisplayProperties::getInstance(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::SurfacePoint::GetX(), Isis::SurfacePoint::GetY(), Isis::SurfacePoint::GetZ(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::AbstractPointItem::JigsawRejected, Isis::CnetDisplayProperties::LatLonRadius, Isis::Distance::Meters, Isis::AbstractPointItem::PointType, Isis::IException::Programmer, Isis::AbstractPointItem::Reference, Isis::ControlPoint::SetAdjustedSurfacePoint(), Isis::ControlPoint::SetAprioriRadiusSource(), Isis::ControlPoint::SetAprioriRadiusSourceFile(), Isis::ControlPoint::SetAprioriSurfacePoint(), Isis::ControlPoint::SetAprioriSurfacePointSource(), Isis::ControlPoint::SetAprioriSurfacePointSourceFile(), Isis::ControlPoint::SetChooserName(), Isis::ControlPoint::SetDateTime(), Isis::ControlPoint::SetEditLock(), Isis::ControlPoint::SetId(), Isis::ControlPoint::SetIgnored(), Isis::ControlPoint::SetRefMeasure(), Isis::ControlPoint::SetType(), Isis::ControlPoint::StringToPointType(), Isis::ControlPoint::StringToRadiusSource(), and Isis::ControlPoint::StringToSurfacePointSource().

◆ setExpanded()

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

◆ setFirstVisibleChild() [1/2]

void Isis::AbstractParentItem::setFirstVisibleChild ( AbstractTreeItem * child)
virtualinherited

◆ setFirstVisibleChild() [2/2]

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

◆ setLastVisibleChild() [1/2]

void Isis::AbstractParentItem::setLastVisibleChild ( AbstractTreeItem * child)
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::AbstractPointItem::sourceDeleted ( )
protectedvirtualinherited

Member Data Documentation

◆ COLS

const int Isis::AbstractPointItem::COLS = 24
staticinherited

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