Isis Developer Reference
Isis::PointLeafItem Class Referenceabstract

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

#include <PointLeafItem.h>

Inheritance diagram for Isis::PointLeafItem:
Inheritance graph
Collaboration diagram for Isis::PointLeafItem:
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

 PointLeafItem (ControlPoint *cp, int avgCharWidth, AbstractTreeItem *parent=0)
 
virtual ~PointLeafItem ()
 
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 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 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 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 = 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

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

This class represents a leaf node in the tree model and has a control point as data. When created, it was used in the serial model to show which control points connect which images.

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

Member Enumeration Documentation

◆ Column

Enumerator
Id 
PointType 
ChooserName 
DateTime 
EditLock 
Ignored 
Reference 
AdjustedSPLat 
AdjustedSPLon 
AdjustedSPRadius 
AdjustedSPLatSigma 
AdjustedSPLonSigma 
AdjustedSPRadiusSigma 
APrioriSPLat 
APrioriSPLon 
APrioriSPRadius 
APrioriSPLatSigma 
APrioriSPLonSigma 
APrioriSPRadiusSigma 
APrioriSPSource 
APrioriSPSourceFile 
APrioriRadiusSource 
APrioriRadiusSourceFile 
JigsawRejected 

◆ InternalPointerType

Enumerator
None 
Point 
Measure 
ImageAndNet 

Constructor & Destructor Documentation

◆ PointLeafItem()

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

◆ ~PointLeafItem()

Isis::PointLeafItem::~PointLeafItem ( )
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::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::AbstractPointItem::getData ( ) const
virtualinherited

◆ getData() [2/2]

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

Implements Isis::AbstractTreeItem.

References Isis::AbstractPointItem::AdjustedSPLat, Isis::AbstractPointItem::AdjustedSPLatSigma, Isis::AbstractPointItem::AdjustedSPLon, Isis::AbstractPointItem::AdjustedSPLonSigma, Isis::AbstractPointItem::AdjustedSPRadius, Isis::AbstractPointItem::AdjustedSPRadiusSigma, Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPLat, Isis::AbstractPointItem::APrioriSPLatSigma, Isis::AbstractPointItem::APrioriSPLon, Isis::AbstractPointItem::APrioriSPLonSigma, Isis::AbstractPointItem::APrioriSPRadius, Isis::AbstractPointItem::APrioriSPRadiusSigma, 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::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlPoint::GetPointTypeString(), Isis::ControlPoint::GetRadiusSourceString(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlPoint::GetSurfacePointSourceString(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlPoint::IsRejected(), Isis::AbstractPointItem::JigsawRejected, 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]

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::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::AbstractLeafItem::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()

◆ 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::AdjustedSPLat, Isis::AbstractPointItem::AdjustedSPLatSigma, Isis::AbstractPointItem::AdjustedSPLon, Isis::AbstractPointItem::AdjustedSPLonSigma, Isis::AbstractPointItem::AdjustedSPRadius, Isis::AbstractPointItem::AdjustedSPRadiusSigma, Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPLat, Isis::AbstractPointItem::APrioriSPLatSigma, Isis::AbstractPointItem::APrioriSPLon, Isis::AbstractPointItem::APrioriSPLonSigma, Isis::AbstractPointItem::APrioriSPRadius, Isis::AbstractPointItem::APrioriSPRadiusSigma, 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::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::AbstractPointItem::JigsawRejected, 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::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::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: