Isis Developer Reference
|
Tree item that is a parent and represents a control point. More...
#include <PointParentItem.h>
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 |
AbstractTreeItem * | parent () const |
void | setParent (AbstractTreeItem *newParent) |
int | row () const |
virtual QList< AbstractTreeItem * > | getChildren () const =0 |
virtual AbstractTreeItem * | childAt (int row) const =0 |
virtual int | childCount () const =0 |
virtual AbstractTreeItem * | getFirstVisibleChild () const =0 |
virtual AbstractTreeItem * | getLastVisibleChild () 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 AbstractTreeItem * | getNextVisiblePeer () 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 AbstractTreeItem * | getLastVisibleFilteredItem () const |
virtual AbstractTreeItem * | childAt (int row) const |
virtual QList< AbstractTreeItem * > | getChildren () const |
virtual AbstractTreeItem * | getFirstVisibleChild () const |
virtual AbstractTreeItem * | getLastVisibleChild () 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 TableColumnList * | createColumns () |
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) |
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.
|
inherited |
|
inherited |
Isis::PointParentItem::PointParentItem | ( | ControlPoint * | cp, |
int | avgCharWidth, | ||
AbstractTreeItem * | parent = 0 ) |
|
virtual |
|
virtual |
Implements Isis::AbstractTreeItem.
References Isis::AbstractParentItem::addChild().
|
protectedvirtualinherited |
|
staticprotectedinherited |
|
staticprotectedinherited |
References Isis::Null.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References Isis::AbstractTreeItem::row().
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Referenced by Isis::AbstractTreeModel::getItems(), Isis::AbstractTreeModel::getItems(), and Isis::AbstractTreeModel::getTopLevelItemCount().
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
staticinherited |
References Isis::AbstractPointItem::AdjustedSPCoord1, Isis::AbstractPointItem::AdjustedSPCoord1Sigma, Isis::AbstractPointItem::AdjustedSPCoord2, Isis::AbstractPointItem::AdjustedSPCoord2Sigma, Isis::AbstractPointItem::AdjustedSPCoord3, Isis::AbstractPointItem::AdjustedSPCoord3Sigma, Isis::TableColumnList::append(), 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::AbstractPointItem::EditLock, Isis::AbstractPointItem::getColumnName(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::AbstractPointItem::JigsawRejected, and Isis::AbstractPointItem::Reference.
Referenced by Isis::PointTableModel::createColumns().
|
virtualinherited |
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Referenced by Isis::AbstractTreeModel::applyFilter().
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::TableViewContent::mouseMoveEvent(), Isis::TableViewContent::mousePressEvent(), and Isis::TreeViewContent::mousePressEvent().
|
staticinherited |
References _FILEINFO_, Isis::AbstractPointItem::COLS, Isis::AbstractPointItem::getColumnName(), and Isis::IException::Programmer.
Referenced by Isis::AbstractPointItem::getData(), Isis::PointTableModel::getPointWarningMessage(), Isis::PointTableDelegate::getWidget(), Isis::AbstractPointItem::isDataEditable(), Isis::PointTableDelegate::readData(), Isis::PointTableDelegate::readData(), Isis::PointTableDelegate::saveData(), and Isis::AbstractPointItem::setData().
|
staticinherited |
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::AbstractPointItem::EditLock, Isis::CnetDisplayProperties::getInstance(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::AbstractPointItem::JigsawRejected, Isis::CnetDisplayProperties::LatLonRadius, Isis::AbstractPointItem::PointType, and Isis::AbstractPointItem::Reference.
Referenced by Isis::AbstractPointItem::createColumns(), Isis::AbstractPointItem::getColumn(), Isis::AbstractPointItem::getData(), Isis::CnetEditorWidget::readSettings(), Isis::AbstractPointItem::resetColumnHeaders(), and Isis::CnetEditorWidget::writeSettings().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References Isis::AbstractPointItem::getColumnName(), Isis::AbstractPointItem::getData(), and Isis::AbstractPointItem::Id.
Referenced by Isis::AbstractPointItem::getData().
|
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.
|
virtualinherited |
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
References Isis::AbstractTreeItem::parent().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Referenced by Isis::AbstractTreeModel::getItems(), Isis::AbstractTreeModel::getItems(), Isis::AbstractTreeModel::getSelectedItems(), Isis::AbstractTreeModel::getVisibleItemCount(), Isis::AbstractTreeModel::getVisibleSize(), Isis::AbstractTreeModel::getVisibleTopLevelItemCount(), and Isis::AbstractTreeModel::indexOfVisibleItem().
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::TreeViewContent::mouseMoveEvent(), and Isis::TreeViewContent::mousePressEvent().
|
virtualinherited |
References Isis::AbstractTreeItem::catchNull(), and Isis::AbstractTreeItem::getData().
Referenced by Isis::AbstractTreeItem::calcDataWidth(), Isis::AbstractMeasureItem::deleteSource(), Isis::AbstractPointItem::deleteSource(), Isis::MeasureTableModel::getMeasureWarningMessage(), Isis::PointTableModel::getPointWarningMessage(), Isis::MeasureTableDelegate::readData(), Isis::PointTableDelegate::readData(), Isis::MeasureTableDelegate::readData(), and Isis::PointTableDelegate::readData().
|
virtualinherited |
References Isis::AbstractTreeItem::catchNull(), and Isis::AbstractTreeItem::getData().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeModel::getItems().
|
virtualinherited |
Reimplemented in Isis::RootItem.
|
virtualinherited |
Referenced by Isis::AbstractTreeModel::getVisibleTopLevelItemCount().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References Isis::AbstractTreeItem::Point.
|
virtualinherited |
Reimplemented in Isis::AbstractImageItem.
References Isis::AbstractTreeItem::childAt(), and Isis::AbstractTreeItem::childCount().
Referenced by Isis::AbstractImageItem::hasImage().
|
virtualinherited |
Reimplemented in Isis::AbstractMeasureItem.
References Isis::AbstractTreeItem::childAt(), and Isis::AbstractTreeItem::childCount().
|
virtualinherited |
Reimplemented from Isis::AbstractTreeItem.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::row().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References Isis::AbstractPointItem::EditLock, Isis::AbstractPointItem::getColumn(), and Isis::ControlPoint::IsEditLocked().
|
virtualinherited |
|
virtualinherited |
Reimplemented in Isis::BusyLeafItem.
Referenced by Isis::TreeViewContent::mouseMoveEvent(), and Isis::TreeViewContent::mousePressEvent().
|
virtualinherited |
|
virtualinherited |
|
inherited |
|
staticinherited |
Resets pertinent point table column headers based on the active point coordinate display type (Lat/Lon/Radius or XYZ).
References Isis::AbstractPointItem::AdjustedSPCoord1, Isis::AbstractPointItem::AdjustedSPCoord1Sigma, Isis::AbstractPointItem::AdjustedSPCoord2, Isis::AbstractPointItem::AdjustedSPCoord2Sigma, Isis::AbstractPointItem::AdjustedSPCoord3, Isis::AbstractPointItem::AdjustedSPCoord3Sigma, Isis::AbstractPointItem::APrioriSPCoord1, Isis::AbstractPointItem::APrioriSPCoord1Sigma, Isis::AbstractPointItem::APrioriSPCoord2, Isis::AbstractPointItem::APrioriSPCoord2Sigma, Isis::AbstractPointItem::APrioriSPCoord3, Isis::AbstractPointItem::APrioriSPCoord3Sigma, Isis::AbstractPointItem::getColumnName(), and Isis::TableColumn::setTitle().
Referenced by Isis::PointTableModel::resetColumnHeaders().
|
inherited |
References Isis::AbstractTreeItem::indexOf().
Referenced by Isis::AbstractParentItem::childAt().
|
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().
|
virtualinherited |
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
|
virtualinherited |
Reimplemented in Isis::RootItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
|
inherited |
Referenced by Isis::AbstractParentItem::addChild().
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
protectedvirtualinherited |
Implements Isis::AbstractTreeItem.
Referenced by Isis::AbstractPointItem::AbstractPointItem().
|
staticinherited |
Referenced by Isis::AbstractPointItem::getColumn().