VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtLocationEntryWidgetLogic Class Reference

Private to this class.

Public Member Functions

 DtLocationEntryWidgetLogic (bool preferAltitudeSelection, makVrv::DtDe &de, DtLocationEntryWidgetInterface *)
 
virtual ~DtLocationEntryWidgetLogic ()
 
virtual void enableEventProcessor (bool flag)
 
virtual double altitudeAboveGroundLevel () const
 
virtual double altitudeAboveAboveSeaLevel () const
 
virtual void slot_onPositionChanged ()
 
virtual void slot_onPositionEdited (bool complete)
 
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 setChangeWithDisplaySettings (bool)
 
virtual void slot_onDecimalsChanged (const makVrv::DtUnicode &category, const makVrv::DtUnicode &type, int precision)
 
virtual void slot_onUnitChanged (const makVrv::DtUnicode &category, const makVrv::DtUnicode &type, int newValue, int oldValue)
 
virtual DtVector location () const
 
virtual DtVector geocentricLocation () const
 
virtual void setSignalLocationSetOnly (bool)
 
bool signalLocationSetOnly () const
 
virtual void blockSignals (bool)
 
bool signalsBlocked () const
 
virtual
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits 
currentDistanceUnits () const
 
virtual
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits 
currentAltitudeUnits () const
 
virtual void setCoordinateSystem (const makVrv::DtSharedDisplayUnitsSettings::CoordSys &system, bool force=false)
 
virtual void setPreferAltitudeSelection (bool)
 
const
makVrv::DtSharedDisplayUnitsSettings::CoordSys
coordinateSystem () const
 
virtual void setLocation (const DtVector &local, bool resetAltitude=true)
 
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)
 
virtual bool altitudeDisabled () const
 
virtual bool hasMapFocus () const
 

Protected Member Functions

virtual void slot_onSystemCoordinateSystemChanged ()
 
virtual void initialize ()
 

Protected Attributes

makVrv::DtDemyDe
 
DtLocationEntryWidgetInterfacemyInterface
 
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits myDistanceUnits
 
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits myAltitudeUnits
 
makVrv::DtSharedDisplayUnitsSettings::CoordSys myCoordSys
 
DtLocationEntryEventProcessormyLocationEntryEventProcessor
 
makVrv::DtSignalConnectionManager myConnectionManager
 
bool myPreferAltitudeSelection
 
bool myAltitudeDisabled
 
bool mySignalLocationSetOnly
 
bool myBlockSignals
 
bool myEnableEventProcessor
 
bool myChangeWithDisplaySettings
 

Constructor & Destructor Documentation

makVrf::DtLocationEntryWidgetLogic::DtLocationEntryWidgetLogic ( bool  preferAltitudeSelection,
makVrv::DtDe de,
DtLocationEntryWidgetInterface  
)
virtual makVrf::DtLocationEntryWidgetLogic::~DtLocationEntryWidgetLogic ( )
virtual

Member Function Documentation

virtual void makVrf::DtLocationEntryWidgetLogic::enableEventProcessor ( bool  flag)
virtual
virtual double makVrf::DtLocationEntryWidgetLogic::altitudeAboveGroundLevel ( ) const
virtual
virtual double makVrf::DtLocationEntryWidgetLogic::altitudeAboveAboveSeaLevel ( ) const
virtual
virtual void makVrf::DtLocationEntryWidgetLogic::slot_onPositionChanged ( )
virtual
virtual void makVrf::DtLocationEntryWidgetLogic::slot_onPositionEdited ( bool  complete)
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
virtual void makVrf::DtLocationEntryWidgetLogic::slot_onCoordinateSystemChanged ( makVrv::DtSharedDisplayUnitsSettings::CoordSys  )
virtual
virtual void makVrf::DtLocationEntryWidgetLogic::setChangeWithDisplaySettings ( bool  )
virtual

Set to false to freeze location widget at current display settings.

virtual void makVrf::DtLocationEntryWidgetLogic::slot_onDecimalsChanged ( const makVrv::DtUnicode category,
const makVrv::DtUnicode type,
int  precision 
)
virtual

Hooked up to signal_displayCoordinateSystemDecimalsChanged on the DtDisplayUnitsSettingsSignaler.

virtual void makVrf::DtLocationEntryWidgetLogic::slot_onUnitChanged ( const makVrv::DtUnicode category,
const makVrv::DtUnicode type,
int  newValue,
int  oldValue 
)
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
virtual makVrv::DtSharedDisplayUnitsSettings::DistanceUnits makVrf::DtLocationEntryWidgetLogic::currentDistanceUnits ( ) const
inlinevirtual
virtual makVrv::DtSharedDisplayUnitsSettings::DistanceUnits makVrf::DtLocationEntryWidgetLogic::currentAltitudeUnits ( ) const
virtual
virtual void makVrf::DtLocationEntryWidgetLogic::setCoordinateSystem ( const makVrv::DtSharedDisplayUnitsSettings::CoordSys system,
bool  force = false 
)
virtual

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
const makVrv::DtSharedDisplayUnitsSettings::CoordSys& makVrf::DtLocationEntryWidgetLogic::coordinateSystem ( ) const
inline
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 bool makVrf::DtLocationEntryWidgetLogic::hasMapFocus ( ) const
virtual
virtual void makVrf::DtLocationEntryWidgetLogic::slot_onSystemCoordinateSystemChanged ( )
protectedvirtual
virtual void makVrf::DtLocationEntryWidgetLogic::initialize ( )
protectedvirtual

Member Data Documentation

makVrv::DtDe& makVrf::DtLocationEntryWidgetLogic::myDe
protected
DtLocationEntryWidgetInterface* makVrf::DtLocationEntryWidgetLogic::myInterface
protected
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits makVrf::DtLocationEntryWidgetLogic::myDistanceUnits
protected
makVrv::DtSharedDisplayUnitsSettings::DistanceUnits makVrf::DtLocationEntryWidgetLogic::myAltitudeUnits
protected
makVrv::DtSharedDisplayUnitsSettings::CoordSys makVrf::DtLocationEntryWidgetLogic::myCoordSys
protected
DtLocationEntryEventProcessor* makVrf::DtLocationEntryWidgetLogic::myLocationEntryEventProcessor
protected
makVrv::DtSignalConnectionManager makVrf::DtLocationEntryWidgetLogic::myConnectionManager
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
bool makVrf::DtLocationEntryWidgetLogic::myChangeWithDisplaySettings
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)