Isis 3 Programmer Reference
|
Base class for a point item in the tree. More...
#include <AbstractPointItem.h>
Public Member Functions | |
AbstractPointItem (ControlPoint *cp, int avgCharWidth, AbstractTreeItem *parent=0) | |
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 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 | 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 |
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) |
Private Member Functions | |
AbstractPointItem (const AbstractPointItem &other) | |
const AbstractPointItem & | operator= (const AbstractPointItem &other) |
SurfacePoint | prepareSigmas (Distance, SurfacePoint) |
SurfacePoint | prepareXYZSigmas (Distance, SurfacePoint) |
SurfacePoint | prepareSurfacePoint (Latitude, SurfacePoint) |
SurfacePoint | prepareSurfacePoint (Longitude, SurfacePoint) |
SurfacePoint | prepareSurfacePoint (Distance, SurfacePoint) |
SurfacePoint | prepareSurfacePoint (SurfacePoint) |
Private Attributes | |
ControlPoint * | m_point |
AbstractTreeItem * | m_nextVisibleItem |
AbstractTreeItem * | m_parentItem |
bool | m_expanded |
bool | m_selectable |
bool | m_selected |
bool | m_visible |
int | m_dataWidth |
Base class for a point item in the tree.
This class represents a point item in the tree. This is generally visualized as a point id. This has columns for compatibility with the table models.
2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.
2019-07-26 Ken Edmundson - OSIRIS-REx modifications to support display/edit of control point coordinates/sigmas in either Lat, Lon, Radius or XYZ. 1) Made the column headers in the enum "Column" generic to refer to any point coordinate definition, e.g., AdjustedSPCoord1 instead of AdjustedSPLatitude. 2) Added static method resetColumnHeaders(). 3) Added prepareXYZSigmas() method. 4) Modified static methods getColumnName(), createColumns() and methods getData(QString columnTitle), setData(QString const &columnTitle, QString const &newData).
Definition at line 50 of file AbstractPointItem.h.
enum Isis::AbstractPointItem::Column |
Definition at line 54 of file AbstractPointItem.h.
|
inherited |
Definition at line 44 of file AbstractTreeItem.h.
Isis::AbstractPointItem::AbstractPointItem | ( | ControlPoint * | cp, |
int | avgCharWidth, | ||
AbstractTreeItem * | parent = 0 ) |
Definition at line 217 of file AbstractPointItem.cpp.
|
virtual |
Definition at line 228 of file AbstractPointItem.cpp.
|
protectedvirtualinherited |
Definition at line 191 of file AbstractTreeItem.cpp.
|
staticprotectedinherited |
Definition at line 221 of file AbstractTreeItem.cpp.
|
staticprotectedinherited |
Definition at line 201 of file AbstractTreeItem.cpp.
|
static |
Definition at line 162 of file AbstractPointItem.cpp.
|
virtual |
Implements Isis::AbstractTreeItem.
Definition at line 717 of file AbstractPointItem.cpp.
|
static |
Definition at line 150 of file AbstractPointItem.cpp.
|
static |
Definition at line 28 of file AbstractPointItem.cpp.
|
virtual |
Implements Isis::AbstractTreeItem.
Definition at line 233 of file AbstractPointItem.cpp.
|
virtual |
Implements Isis::AbstractTreeItem.
Definition at line 274 of file AbstractPointItem.cpp.
|
virtualinherited |
Definition at line 153 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 164 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 63 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 68 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 186 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 73 of file AbstractTreeItem.cpp.
|
virtual |
Implements Isis::AbstractTreeItem.
Definition at line 742 of file AbstractPointItem.cpp.
|
virtual |
Implements Isis::AbstractTreeItem.
Definition at line 737 of file AbstractPointItem.cpp.
|
virtualinherited |
Definition at line 103 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 93 of file AbstractTreeItem.cpp.
|
virtual |
Reimplemented from Isis::AbstractTreeItem.
Definition at line 747 of file AbstractPointItem.cpp.
|
virtual |
Implements Isis::AbstractTreeItem.
Definition at line 703 of file AbstractPointItem.cpp.
|
virtualinherited |
Definition at line 118 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 138 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 133 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 148 of file AbstractTreeItem.cpp.
|
inherited |
Definition at line 43 of file AbstractTreeItem.cpp.
|
private |
Definition at line 756 of file AbstractPointItem.cpp.
|
private |
Definition at line 837 of file AbstractPointItem.cpp.
|
private |
Definition at line 809 of file AbstractPointItem.cpp.
|
private |
Definition at line 823 of file AbstractPointItem.cpp.
|
private |
Definition at line 851 of file AbstractPointItem.cpp.
|
private |
Definition at line 783 of file AbstractPointItem.cpp.
|
static |
Resets pertinent point table column headers based on the active point coordinate display type (Lat/Lon/Radius or XYZ).
Definition at line 243 of file AbstractPointItem.cpp.
|
inherited |
Definition at line 53 of file AbstractTreeItem.cpp.
|
virtual |
Implements Isis::AbstractTreeItem.
Definition at line 418 of file AbstractPointItem.cpp.
|
virtualinherited |
Definition at line 114 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 178 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 78 of file AbstractTreeItem.cpp.
|
inherited |
Definition at line 48 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 128 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 123 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 143 of file AbstractTreeItem.cpp.
|
protectedvirtual |
Implements Isis::AbstractTreeItem.
Definition at line 751 of file AbstractPointItem.cpp.
|
static |
Definition at line 80 of file AbstractPointItem.h.
|
privateinherited |
Definition at line 135 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 131 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 129 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 130 of file AbstractTreeItem.h.
|
private |
Definition at line 120 of file AbstractPointItem.h.
|
privateinherited |
Definition at line 132 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 133 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 134 of file AbstractTreeItem.h.