![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtLocationEntryWidget (bool altitudeSelectionEnabled, makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| Constructor. | |
| virtual | ~DtLocationEntryWidget () |
| virtual DtVector | location () const |
| Returns value in meters and local. | |
| virtual DtVector | geocentricLocation () const |
| Returns value as geocentric. | |
| virtual void | setLocation (DtVector, bool resetAltitude=true) |
| Expects value in meters and local. | |
| virtual void | setGeocentricLocation (DtVector, bool resetAltitude=true) |
| virtual void | setAltitude (const DtVector &localLocation, bool resetAltitude=true) |
| virtual void | setHideAltitude (bool b) |
| Hides/shows the Z (altitude) section. | |
| virtual void | setHideLocationZ (bool b) |
| Hides/shows the myLocationZ line edit. | |
| virtual void | setXLabel (const QString &) |
| Sets label titles. | |
| QString | xLabel () const |
| virtual void | setYLabel (const QString &) |
| QString | yLabel () const |
| virtual void | setZLabel (const QString &) |
| QString | zLabel () const |
| virtual void | setXValue (const QString &) |
| Sets values. | |
| virtual void | setYValue (const QString &) |
| virtual void | setZValue (const QString &) |
| virtual QString | xValue () const |
| virtual QString | yValue () const |
| virtual QString | zValue () const |
| virtual void | setAltitudeAboveSeaLevelVisible (bool b) |
| virtual void | setAltitudeAboveGroundLevelVisible (bool b) |
| virtual DtGeodeticCoord | geodeticLocation () const |
| virtual void | setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &coordSys) |
| Calls down to logic to set coordinate system. | |
| const makArchives::DtDisplayUnitsSettingsRecord::CoordSys & | coordinateSystem () const |
| virtual void | setCoordinateSystemDecimals (int decimals) |
| Sets the precision of the x, y and z line edits. | |
| virtual void | setAltitudeSelectionEnabled (bool) |
| Determines if the DtAltitudeSelectionWidget or just a regular line edit is shown for altitude editing. | |
| virtual bool | altitudeSelectionEnabled () |
| virtual void | setZEnabled (bool) |
| virtual void | setCurrentAltitudeTypeSelection (const DtAltitudeClampType &type) |
| virtual DtAltitudeClampType | currentAltitudeTypeSelection () const |
| virtual double | altitudeAboveSeaLevel () const |
| virtual double | altitudeAboveGroundLevel () const |
| virtual void | setAltitudeAboveSeaLevel (double altitude) |
| Sets the altitude location. | |
| virtual void | setAltitudeAboveGroundLevel (double altitude) |
| Sets the altitude location. | |
| virtual void | setProcessMouseEvents (bool flag) |
| virtual bool | processMouseEvents () |
| virtual void | setAltitudeAboveGroundLevelSelected (bool b) |
| virtual void | setAltitudeAboveSeaLevelSelected (bool b) |
| virtual void | setClampToNearestPolygon (bool) |
| Sets whether or not to clamp to nearest polygon when selecting altitude. | |
| virtual void | setIgnoreList (const std::vector< makVrv::DtElementID > &) |
| List of objects to ignore when getting intersections. | |
| virtual const std::vector < makVrv::DtElementID > & | ignoreList () const |
Public Attributes | |
| QWidget * | myWidget |
| QGridLayout * | myGridLayout |
| QLineEdit * | myLocationX |
| QLabel * | myLocationLabelX |
| QLineEdit * | myLocationY |
| QLabel * | myLocationLabelY |
| QLineEdit * | myLocationZ |
| QLabel * | myLocationLabelZ |
| DtAltitudeSelectionWidget * | myAltitude |
| QDoubleValidator * | myValidator |
| DtLocationEntryWidgetLogic * | myLogic |
| bool | myProcessMouseEvents |
| bool | myLockAltitude |
| bool | myAltitudeSelectionEnabled |
Protected Slots | |
| virtual void | slot_onPositionChanged () |
| virtual void | slot_onPositionEdited () |
| virtual void | slot_onAltitudeAboveGroundLevelEdited (double) |
| virtual void | slot_onAltitudeAboveSeaLevelEdited (double) |
| virtual void | slot_onAltitudeSelectionTypeChanged (const DtAltitudeClampType &) |
Protected Member Functions | |
| virtual void | slot_onClampSelectionChanged (int index) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrf::DtLocationEntryWidget::DtLocationEntryWidget | ( | bool | altitudeSelectionEnabled, |
| makVrv::DtDe & | de, | ||
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
Constructor.
| altitudeSelectionEnabled | determines if the altitude selection widget or the location entry line edit should be shown. Note that if the coordinate system is changed to geocentric, the logic will force the line edit to be shown instead as altitude selection is not valid in geocentric. |
| virtual makVrf::DtLocationEntryWidget::~DtLocationEntryWidget | ( | ) | [virtual] |
| virtual DtVector makVrf::DtLocationEntryWidget::location | ( | ) | const [virtual] |
Returns value in meters and local.
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual DtVector makVrf::DtLocationEntryWidget::geocentricLocation | ( | ) | const [virtual] |
Returns value as geocentric.
| virtual void makVrf::DtLocationEntryWidget::setLocation | ( | DtVector | , |
| bool | resetAltitude = true |
||
| ) | [virtual] |
Expects value in meters and local.
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setGeocentricLocation | ( | DtVector | , |
| bool | resetAltitude = true |
||
| ) | [virtual] |
| virtual void makVrf::DtLocationEntryWidget::setAltitude | ( | const DtVector & | localLocation, |
| bool | resetAltitude = true |
||
| ) | [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setHideAltitude | ( | bool | b | ) | [virtual] |
Hides/shows the Z (altitude) section.
| virtual void makVrf::DtLocationEntryWidget::setHideLocationZ | ( | bool | b | ) | [virtual] |
Hides/shows the myLocationZ line edit.
| virtual void makVrf::DtLocationEntryWidget::setXLabel | ( | const QString & | ) | [virtual] |
Sets label titles.
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::xLabel | ( | ) | const |
| virtual void makVrf::DtLocationEntryWidget::setYLabel | ( | const QString & | ) | [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::yLabel | ( | ) | const |
| virtual void makVrf::DtLocationEntryWidget::setZLabel | ( | const QString & | ) | [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::zLabel | ( | ) | const |
| virtual void makVrf::DtLocationEntryWidget::setXValue | ( | const QString & | ) | [virtual] |
Sets values.
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setYValue | ( | const QString & | ) | [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setZValue | ( | const QString & | ) | [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual QString makVrf::DtLocationEntryWidget::xValue | ( | ) | const [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual QString makVrf::DtLocationEntryWidget::yValue | ( | ) | const [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual QString makVrf::DtLocationEntryWidget::zValue | ( | ) | const [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveSeaLevelVisible | ( | bool | b | ) | [virtual] |
| virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveGroundLevelVisible | ( | bool | b | ) | [virtual] |
| virtual DtGeodeticCoord makVrf::DtLocationEntryWidget::geodeticLocation | ( | ) | const [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setCoordinateSystem | ( | const makArchives::DtDisplayUnitsSettingsRecord::CoordSys & | coordSys | ) | [virtual] |
Calls down to logic to set coordinate system.
Implements makVrf::DtLocationEntryWidgetInterface.
| const makArchives::DtDisplayUnitsSettingsRecord::CoordSys& makVrf::DtLocationEntryWidget::coordinateSystem | ( | ) | const |
| virtual void makVrf::DtLocationEntryWidget::setCoordinateSystemDecimals | ( | int | decimals | ) | [virtual] |
Sets the precision of the x, y and z line edits.
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setAltitudeSelectionEnabled | ( | bool | ) | [virtual] |
Determines if the DtAltitudeSelectionWidget or just a regular line edit is shown for altitude editing.
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual bool makVrf::DtLocationEntryWidget::altitudeSelectionEnabled | ( | ) | [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setZEnabled | ( | bool | ) | [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setCurrentAltitudeTypeSelection | ( | const DtAltitudeClampType & | type | ) | [virtual] |
| virtual DtAltitudeClampType makVrf::DtLocationEntryWidget::currentAltitudeTypeSelection | ( | ) | const [virtual] |
| virtual double makVrf::DtLocationEntryWidget::altitudeAboveSeaLevel | ( | ) | const [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual double makVrf::DtLocationEntryWidget::altitudeAboveGroundLevel | ( | ) | const [virtual] |
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveSeaLevel | ( | double | altitude | ) | [virtual] |
Sets the altitude location.
Implements makVrf::DtLocationEntryWidgetInterface.
| virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveGroundLevel | ( | double | altitude | ) | [virtual] |
Sets the altitude location.
| virtual void makVrf::DtLocationEntryWidget::setProcessMouseEvents | ( | bool | flag | ) | [virtual] |
| virtual bool makVrf::DtLocationEntryWidget::processMouseEvents | ( | ) | [virtual] |
| virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveGroundLevelSelected | ( | bool | b | ) | [virtual] |
| virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveSeaLevelSelected | ( | bool | b | ) | [virtual] |
| virtual void makVrf::DtLocationEntryWidget::setClampToNearestPolygon | ( | bool | ) | [virtual] |
Sets whether or not to clamp to nearest polygon when selecting altitude.
Default is true. Only valid if allowing user to set altitude
| virtual void makVrf::DtLocationEntryWidget::setIgnoreList | ( | const std::vector< makVrv::DtElementID > & | ) | [virtual] |
List of objects to ignore when getting intersections.
| virtual const std::vector<makVrv::DtElementID>& makVrf::DtLocationEntryWidget::ignoreList | ( | ) | const [virtual] |
| virtual void makVrf::DtLocationEntryWidget::slot_onPositionChanged | ( | ) | [protected, virtual, slot] |
| virtual void makVrf::DtLocationEntryWidget::slot_onPositionEdited | ( | ) | [protected, virtual, slot] |
| virtual void makVrf::DtLocationEntryWidget::slot_onAltitudeAboveGroundLevelEdited | ( | double | ) | [protected, virtual, slot] |
| virtual void makVrf::DtLocationEntryWidget::slot_onAltitudeAboveSeaLevelEdited | ( | double | ) | [protected, virtual, slot] |
| virtual void makVrf::DtLocationEntryWidget::slot_onAltitudeSelectionTypeChanged | ( | const DtAltitudeClampType & | ) | [protected, virtual, slot] |
| virtual void makVrf::DtLocationEntryWidget::slot_onClampSelectionChanged | ( | int | index | ) | [protected, virtual] |
makVrv::DtDe& makVrf::DtLocationEntryWidget::myDe [protected] |
| QGridLayout* makVrf::DtLocationEntryWidget::myGridLayout |
| QDoubleValidator* makVrf::DtLocationEntryWidget::myValidator |