Isis Developer Reference
|
Base class for a measure item in the tree. More...
#include <AbstractMeasureItem.h>
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 | |
AbstractMeasureItem (ControlMeasure *cm, int avgCharWidth, AbstractTreeItem *parent=0) | |
virtual | ~AbstractMeasureItem () |
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 |
AbstractTreeItem * | parent () const |
void | setParent (AbstractTreeItem *newParent) |
int | row () const |
virtual void | addChild (AbstractTreeItem *child)=0 |
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 | hasImage (QString imageSerial) const |
virtual bool | hasPoint (ControlPoint *) 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 |
Static Public Member Functions | |
static QString | getColumnName (Column) |
static Column | getColumn (QString) |
static TableColumnList * | createColumns () |
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) |
Base class for a measure item in the tree.
This class represents a measure item in the tree. This is generally visualized as a serial number. This has columns for compatibility with the table models.
|
inherited |
Isis::AbstractMeasureItem::AbstractMeasureItem | ( | ControlMeasure * | cm, |
int | avgCharWidth, | ||
AbstractTreeItem * | parent = 0 |
||
) |
References ASSERT, Isis::AbstractTreeItem::calcDataWidth(), and sourceDeleted().
|
virtual |
|
pure virtualinherited |
Implemented in Isis::PointParentItem, Isis::ConnectionParentItem, Isis::AbstractParentItem, and Isis::AbstractLeafItem.
|
protectedvirtualinherited |
|
staticprotectedinherited |
References Isis::Null.
Referenced by Isis::AbstractTreeItem::getFormattedData(), setData(), and Isis::AbstractPointItem::setData().
|
staticprotectedinherited |
References Isis::Double, and Isis::Null.
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
static |
References Isis::TableColumnList::append(), APrioriLine, APrioriSample, Diameter, EditLock, getColumnName(), GoodnessOfFit, Ignored, ImageId, JigsawRejected, Line, LineShift, LineSigma, MaxPixelZScore, MinPixelZScore, Obsolete_Eccentricity, PointId, Reference, ResidualLine, ResidualMagnitude, ResidualSample, Sample, SampleShift, SampleSigma, and Type.
Referenced by Isis::MeasureTableModel::createColumns().
|
virtual |
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::TableViewContent::mouseMoveEvent(), Isis::TableViewContent::mousePressEvent(), and Isis::TreeViewContent::mousePressEvent().
|
static |
References _FILEINFO_, COLS, getColumnName(), and Isis::IException::Programmer.
Referenced by getData(), Isis::MeasureTableModel::getMeasureWarningMessage(), Isis::MeasureTableDelegate::getWidget(), isDataEditable(), Isis::MeasureTableDelegate::readData(), Isis::MeasureTableDelegate::saveData(), and setData().
|
static |
References APrioriLine, APrioriSample, ASSERT, Diameter, EditLock, GoodnessOfFit, Ignored, ImageId, JigsawRejected, Line, LineShift, LineSigma, MaxPixelZScore, MinPixelZScore, Obsolete_Eccentricity, PointId, Reference, ResidualLine, ResidualMagnitude, ResidualSample, Sample, SampleShift, SampleSigma, and Type.
Referenced by createColumns(), deleteSource(), getColumn(), getData(), Isis::MeasureTableModel::getMeasureWarningMessage(), Isis::CnetEditorWidget::readSettings(), and Isis::CnetEditorWidget::writeSettings().
|
virtual |
Implements Isis::AbstractTreeItem.
References getColumnName(), and ImageId.
|
virtual |
Implements Isis::AbstractTreeItem.
References APrioriLine, APrioriSample, Diameter, EditLock, Isis::ControlMeasure::GetAprioriLine(), Isis::ControlMeasure::GetAprioriSample(), getColumn(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlMeasure::GetDiameter(), Isis::ControlPoint::GetId(), Isis::CnetDisplayProperties::getInstance(), Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetLineResidual(), Isis::ControlMeasure::GetLineShift(), Isis::ControlMeasure::GetLineSigma(), Isis::ControlMeasure::GetLogData(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlMeasure::GetResidualMagnitude(), Isis::ControlMeasure::GetSample(), Isis::ControlMeasure::GetSampleResidual(), Isis::ControlMeasure::GetSampleShift(), Isis::ControlMeasure::GetSampleSigma(), Isis::ControlMeasure::GetType(), Isis::ControlMeasureLogData::GoodnessOfFit, GoodnessOfFit, Ignored, ImageId, Isis::ControlMeasure::IsEditLocked(), Isis::ControlMeasure::IsIgnored(), Isis::ControlMeasure::IsRejected(), JigsawRejected, Line, LineShift, LineSigma, Isis::ControlMeasureLogData::MaximumPixelZScore, MaxPixelZScore, Isis::ControlMeasure::MeasureTypeToString(), Isis::ControlMeasureLogData::MinimumPixelZScore, MinPixelZScore, Isis::ControlMeasureLogData::Obsolete_Eccentricity, Obsolete_Eccentricity, Isis::ControlMeasure::Parent(), PointId, Reference, ResidualLine, ResidualMagnitude, ResidualSample, Sample, SampleShift, SampleSigma, and Type.
|
virtualinherited |
References _FILEINFO_, and Isis::IException::Programmer.
Referenced by Isis::AbstractTreeModel::getVisibleSize().
|
virtualinherited |
References Isis::AbstractTreeItem::parent().
Referenced by Isis::AbstractTreeModel::getVisibleSize().
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::TreeViewContent::mouseMoveEvent(), and Isis::TreeViewContent::mousePressEvent().
|
virtualinherited |
References Isis::AbstractTreeItem::catchNull(), and Isis::AbstractTreeItem::getData().
Referenced by Isis::AbstractTreeItem::calcDataWidth(), deleteSource(), Isis::AbstractPointItem::deleteSource(), Isis::MeasureTableModel::getMeasureWarningMessage(), Isis::PointTableModel::getPointWarningMessage(), Isis::MeasureTableDelegate::readData(), and Isis::PointTableDelegate::readData().
|
virtualinherited |
References Isis::AbstractTreeItem::catchNull(), and Isis::AbstractTreeItem::getData().
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::AbstractTreeModel::getItems().
|
virtualinherited |
Reimplemented in Isis::RootItem.
|
virtualinherited |
Referenced by Isis::AbstractTreeModel::getVisibleTopLevelItemCount().
|
virtual |
Implements Isis::AbstractTreeItem.
|
virtual |
Implements Isis::AbstractTreeItem.
References Isis::AbstractTreeItem::Measure.
|
virtualinherited |
Reimplemented in Isis::AbstractImageItem.
References Isis::AbstractTreeItem::childAt(), Isis::AbstractTreeItem::childCount(), and Isis::AbstractTreeItem::hasImage().
Referenced by Isis::AbstractImageItem::hasImage(), and Isis::AbstractTreeItem::hasImage().
|
virtual |
Reimplemented from Isis::AbstractTreeItem.
|
virtualinherited |
Reimplemented in Isis::AbstractPointItem.
References Isis::AbstractTreeItem::childAt(), Isis::AbstractTreeItem::childCount(), and Isis::AbstractTreeItem::hasPoint().
Referenced by Isis::AbstractTreeItem::hasPoint().
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::AbstractTreeItem::row().
|
virtual |
Implements Isis::AbstractTreeItem.
References EditLock, getColumn(), Isis::ControlMeasure::IsEditLocked(), Isis::ControlPoint::IsEditLocked(), and Isis::ControlMeasure::Parent().
|
virtualinherited |
|
virtualinherited |
Reimplemented in Isis::BusyLeafItem.
Referenced by Isis::TreeViewContent::mouseMoveEvent(), and Isis::TreeViewContent::mousePressEvent().
|
virtualinherited |
|
virtualinherited |
|
inherited |
|
inherited |
References Isis::AbstractTreeItem::indexOf().
Referenced by Isis::AbstractParentItem::childAt().
|
virtual |
Implements Isis::AbstractTreeItem.
References APrioriLine, APrioriSample, Isis::AbstractTreeItem::catchNull(), Diameter, EditLock, getColumn(), Isis::CnetDisplayProperties::getInstance(), Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetLineResidual(), Isis::ControlMeasure::GetSample(), Isis::ControlMeasure::GetSampleResidual(), Isis::CnetDisplayProperties::getSerialNumber(), Isis::ControlMeasureLogData::GoodnessOfFit, GoodnessOfFit, Ignored, ImageId, JigsawRejected, Line, LineShift, LineSigma, Isis::ControlMeasureLogData::MaximumPixelZScore, MaxPixelZScore, Isis::ControlMeasureLogData::MinimumPixelZScore, MinPixelZScore, Isis::ControlMeasureLogData::Obsolete_Eccentricity, Obsolete_Eccentricity, PointId, Reference, ResidualLine, ResidualMagnitude, ResidualSample, Sample, SampleShift, SampleSigma, Isis::ControlMeasure::SetAprioriLine(), Isis::ControlMeasure::SetAprioriSample(), Isis::ControlMeasure::SetCoordinate(), Isis::ControlMeasure::SetCubeSerialNumber(), Isis::ControlMeasure::SetDiameter(), Isis::ControlMeasure::SetEditLock(), Isis::ControlMeasure::SetIgnored(), Isis::ControlMeasure::SetLineSigma(), Isis::ControlMeasure::SetResidual(), Isis::ControlMeasure::SetSampleSigma(), Isis::ControlMeasure::SetType(), Isis::ControlMeasure::StringToMeasureType(), and Type.
|
virtualinherited |
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
|
virtualinherited |
Reimplemented in Isis::RootItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
|
inherited |
Referenced by Isis::AbstractParentItem::addChild().
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
protectedvirtual |
Implements Isis::AbstractTreeItem.
Referenced by AbstractMeasureItem().
|
static |
Referenced by getColumn().