VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtLocationEntryWidgetLogic Class Reference

Private to this class. More...

List of all members.

Public Member Functions

 DtLocationEntryWidgetLogic (bool preferAltitudeSelection, makVrv::DtDe &de, DtLocationEntryWidgetInterface *)
 Contructor.
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 setCoordinateSystem (const makVrv::DtSharedDisplayUnitsSettings::CoordSys &system)
 Sets the coordinate system.
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 ()

Protected Member Functions

virtual void initialize ()

Protected Attributes

makVrv::DtDemyDe
DtLocationEntryWidgetInterfacemyInterface
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits myDistanceUnits
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits myAltitudeUnits
makVrv::DtSharedDisplayUnitsSettings::CoordSys myCoordSys
DtLocationEntryEventProcessor * myLocationEntryEventProcessor
bool myPreferAltitudeSelection

Detailed Description

Private to this class.


Constructor & Destructor Documentation

Contructor.

Parameters:
preferAltitudeSelectiondetermines if the altitude selection widget or the simple line edit should be shown. Saved in myPreferAltitudeSelection.

Member Function Documentation

Hooked up to signal_displayCoordinateSystemDecimalsChanged on the DtDisplayUnitsSettingsSignaler.

virtual void makVrf::DtLocationEntryWidgetLogic::slot_onUnitChanged ( int  attribute,
int  from 
) [virtual]

Returns location in local coordinates, meters.

Returns location in geocentric coordinates.

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::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::initialize ( ) [protected, virtual]

Member Data Documentation

DtLocationEntryEventProcessor* makVrf::DtLocationEntryWidgetLogic::myLocationEntryEventProcessor [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)