Isis Developer Reference
|
Handles how control networks should be displayed to the user. More...
#include <CnetDisplayProperties.h>
Public Types | |
enum | coordinateDisplayType { LatLonRadius = 0 , XYZ = 1 } |
Returns coordinate display type (0 = LatLonRadius, 1 = XYZ). More... | |
Signals | |
void | composeProgressChanged (int) |
void | composeProgressRangeChanged (int, int) |
void | compositionFinished () |
Public Member Functions | |
virtual | ~CnetDisplayProperties () |
bool | currentlyComposing () const |
QList< QString > | getCubeList (ControlNet *cnet) const |
TODO comment me. | |
QString | getFileName (QString fileName, bool forceFullPaths=false) const |
QString | getImageName (QString cubeSerialNumber, bool forceFullPaths=false) const |
QString | getSerialNumber (QString imageId) |
bool | getShowsFullPaths () const |
CnetDisplayProperties::coordinateDisplayType | coordinateDisplayType () |
void | setCubeList (QString fileName) |
void | setFileNameUsage (bool preferFileNames) |
void | setShowsFullPaths (bool newState) |
void | setCoordinateDisplayType (enum coordinateDisplayType coordDisplay) |
Sets the coordinate display type (0 = LatLonRadius, 1 = XYZ). | |
Static Public Member Functions | |
static CnetDisplayProperties * | getInstance () |
Handles how control networks should be displayed to the user.
This class handles how control networks should be displayed to the user. For example, this class keeps track of whether cube serial numbers or file names should be displayed to the user, and provides an interface to translate between the two.
This class is a singleton.
enum enum CnetDisplayProperties::coordinateDisplayType Isis::CnetDisplayProperties::coordinateDisplayType |
Returns coordinate display type (0 = LatLonRadius, 1 = XYZ).
Enumerator | |
---|---|
LatLonRadius | |
XYZ |
|
virtual |
|
signal |
|
signal |
|
signal |
bool Isis::CnetDisplayProperties::currentlyComposing | ( | ) | const |
Referenced by getCubeList().
QList< QString > Isis::CnetDisplayProperties::getCubeList | ( | ControlNet * | cnet | ) | const |
TODO comment me.
If a cube list is currently being loaded, this method will return an empty list. If there is no cube list, it will also return an empty list.
This method is thread safe.
References currentlyComposing(), and getImageName().
QString Isis::CnetDisplayProperties::getFileName | ( | QString | fileName, |
bool | forceFullPaths = false ) const |
References getShowsFullPaths().
Referenced by getImageName().
QString Isis::CnetDisplayProperties::getImageName | ( | QString | cubeSerialNumber, |
bool | forceFullPaths = false ) const |
cubeSerialNumber | Cube serial number as a QString |
This method is thread safe!
References getFileName().
Referenced by getCubeList().
|
static |
Referenced by Isis::PointMeasureFilterSelector::changeFilter(), Isis::CnetEditorWidget::CnetEditorWidget(), Isis::ImagePointFilterSelector::createSelector(), Isis::PointMeasureFilterSelector::createSelector(), Isis::ImageIdFilter::evaluate(), Isis::ImageIdFilter::evaluate(), Isis::AbstractPointItem::getColumnName(), Isis::AbstractMeasureItem::getData(), Isis::AbstractPointItem::getData(), Isis::PointTableModel::getPointWarningMessage(), Isis::AbstractMeasureItem::setData(), Isis::AbstractPointItem::setData(), Isis::CnetEditorWidget::setLatLonRadiusCoordinateDisplay(), and Isis::CnetEditorWidget::setXYZCoordinateDisplay().
QString Isis::CnetDisplayProperties::getSerialNumber | ( | QString | imageId | ) |
bool Isis::CnetDisplayProperties::getShowsFullPaths | ( | ) | const |
Referenced by getFileName().
void Isis::CnetDisplayProperties::setCoordinateDisplayType | ( | enum coordinateDisplayType | coordDisplay | ) |
Sets the coordinate display type (0 = LatLonRadius, 1 = XYZ).
coordDisplay | coordinate display type. |
Referenced by Isis::CnetEditorWidget::setLatLonRadiusCoordinateDisplay(), and Isis::CnetEditorWidget::setXYZCoordinateDisplay().
void Isis::CnetDisplayProperties::setCubeList | ( | QString | fileName | ) |
References _FILEINFO_, and Isis::IException::Programmer.
void Isis::CnetDisplayProperties::setFileNameUsage | ( | bool | preferFileNames | ) |
void Isis::CnetDisplayProperties::setShowsFullPaths | ( | bool | newState | ) |