Private to this class.
More...
Public Member Functions |
| | DtLocationEntryWidgetLogic (bool preferAltitudeSelection, makVrv::DtDe &de, DtLocationEntryWidgetInterface *) |
| virtual | ~DtLocationEntryWidgetLogic () |
| virtual void | enableEventProcessor (bool flag) |
| virtual void | slot_onPositionChanged () |
| virtual void | slot_onPositionEdited () |
| virtual void | slot_onAltitudeAboveGroundLevelEdited (double) |
| virtual void | slot_onAltitudeAboveSeaLevelEdited (double) |
| virtual void | slot_onAltitudeSelectionTypeChanged (const DtAltitudeClampType &type) |
| virtual void | slot_onClampSelectionChanged (int) |
| virtual void | slot_onCoordinateSystemChanged (makVrv::DtSharedDisplayUnitsSettings::CoordSys) |
| virtual void | slot_onCoordinateSystemDecimalsChanged (makVrv::DtSharedDisplayUnitsSettings::CoordSys, int newValue, int oldValue) |
| | Hooked up to signal_displayCoordinateSystemDecimalsChanged on the DtDisplayUnitsSettingsSignaler.
|
| virtual void | slot_onUnitChanged (int attribute, int from) |
| virtual DtVector | location () const |
| | Returns location in local coordinates, meters.
|
| virtual DtVector | geocentricLocation () const |
| | Returns location in geocentric coordinates.
|
| virtual void | setSignalLocationSetOnly (bool) |
| | Sets to signal the location change by mouse set only – do not set in gui as it is expected that others will do that.
|
| bool | signalLocationSetOnly () const |
| virtual void | blockSignals (bool) |
| | Block boost signals from being sent.
|
| bool | signalsBlocked () const |
| virtual void | setCoordinateSystem (const makVrv::DtSharedDisplayUnitsSettings::CoordSys &system) |
| | Sets the coordinate system.
|
| virtual void | setPreferAltitudeSelection (bool) |
const
makVrv::DtSharedDisplayUnitsSettings::CoordSys & | coordinateSystem () const |
| virtual void | setLocation (const DtVector &local, bool resetAltitude=true) |
| | Sets location, and, whether or not to reset altitude selection.
|
| virtual void | setGeocentricLocation (const DtVector &local, bool resetAltitude=true) |
| virtual void | setDatabaseLocation (double x, double y, double z) |
| virtual void | setupLabels () |
| virtual void | setAltitudeDisabled (bool) |
| | If altitude is disabled never show Z (unless in geocentric) and always set altitude above sea level to 0.
|
| virtual bool | altitudeDisabled () const |
Detailed Description
Constructor & Destructor Documentation
| virtual makVrf::DtLocationEntryWidgetLogic::~DtLocationEntryWidgetLogic |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrf::DtLocationEntryWidgetLogic::enableEventProcessor |
( |
bool |
flag | ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onPositionChanged |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onPositionEdited |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onAltitudeAboveGroundLevelEdited |
( |
double |
| ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onAltitudeAboveSeaLevelEdited |
( |
double |
| ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onAltitudeSelectionTypeChanged |
( |
const DtAltitudeClampType & |
type | ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onClampSelectionChanged |
( |
int |
| ) |
|
|
virtual |
Hooked up to signal_displayCoordinateSystemDecimalsChanged on the DtDisplayUnitsSettingsSignaler.
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onUnitChanged |
( |
int |
attribute, |
|
|
int |
from |
|
) |
| |
|
virtual |
| virtual DtVector makVrf::DtLocationEntryWidgetLogic::location |
( |
| ) |
const |
|
virtual |
Returns location in local coordinates, meters.
| virtual DtVector makVrf::DtLocationEntryWidgetLogic::geocentricLocation |
( |
| ) |
const |
|
virtual |
Returns location in geocentric coordinates.
| virtual void makVrf::DtLocationEntryWidgetLogic::setSignalLocationSetOnly |
( |
bool |
| ) |
|
|
virtual |
Sets to signal the location change by mouse set only – do not set in gui as it is expected that others will do that.
The signal for location being set my mouse will still be sent
| bool makVrf::DtLocationEntryWidgetLogic::signalLocationSetOnly |
( |
| ) |
const |
|
inline |
| virtual void makVrf::DtLocationEntryWidgetLogic::blockSignals |
( |
bool |
| ) |
|
|
virtual |
Block boost signals from being sent.
| bool makVrf::DtLocationEntryWidgetLogic::signalsBlocked |
( |
| ) |
const |
Sets the coordinate system.
Updates the labels on the interface. If myPreferAltitudeSelection is set and the coordinate system is not geocentric, setAltitudeSelectionEnabled(true) is called on the interface to enable altitude selection. Otherwise, it's called with false to show the line edit.
| virtual void makVrf::DtLocationEntryWidgetLogic::setPreferAltitudeSelection |
( |
bool |
| ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::setLocation |
( |
const DtVector & |
local, |
|
|
bool |
resetAltitude = true |
|
) |
| |
|
virtual |
Sets location, and, whether or not to reset altitude selection.
Expects location in local, meters
| virtual void makVrf::DtLocationEntryWidgetLogic::setGeocentricLocation |
( |
const DtVector & |
local, |
|
|
bool |
resetAltitude = true |
|
) |
| |
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::setDatabaseLocation |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::setupLabels |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::setAltitudeDisabled |
( |
bool |
| ) |
|
|
virtual |
If altitude is disabled never show Z (unless in geocentric) and always set altitude above sea level to 0.
| virtual bool makVrf::DtLocationEntryWidgetLogic::altitudeDisabled |
( |
| ) |
const |
|
virtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::slot_onSystemCoordinateSystemChanged |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtLocationEntryWidgetLogic::initialize |
( |
| ) |
|
|
protectedvirtual |
Member Data Documentation
| DtLocationEntryEventProcessor* makVrf::DtLocationEntryWidgetLogic::myLocationEntryEventProcessor |
|
protected |
| bool makVrf::DtLocationEntryWidgetLogic::myPreferAltitudeSelection |
|
protected |
| bool makVrf::DtLocationEntryWidgetLogic::myAltitudeDisabled |
|
protected |
| bool makVrf::DtLocationEntryWidgetLogic::mySignalLocationSetOnly |
|
protected |
| bool makVrf::DtLocationEntryWidgetLogic::myBlockSignals |
|
protected |
| bool makVrf::DtLocationEntryWidgetLogic::myEnableEventProcessor |
|
protected |
The documentation for this class was generated from the following file: