VR-Forces 4.8 Class Documentation
 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. 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 (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 slot_onCoordinateSystemDecimalsChanged (makVrv::DtSharedDisplayUnitsSettings::CoordSys, int newValue, int oldValue)
 Hooked up to signal_displayCoordinateSystemDecimalsChanged on the DtDisplayUnitsSettingsSignaler. More...
 
virtual void slot_onUnitChanged (int attribute, int from)
 
virtual DtVector location () const
 Returns location in local coordinates, meters. More...
 
virtual DtVector geocentricLocation () const
 Returns location in geocentric coordinates. More...
 
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. More...
 
bool signalLocationSetOnly () const
 
virtual void blockSignals (bool)
 Block boost signals from being sent. More...
 
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)
 Sets the coordinate system. More...
 
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. More...
 
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. More...
 
virtual bool altitudeDisabled () 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
 

Detailed Description

Private to this class.

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 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::slot_onCoordinateSystemDecimalsChanged ( makVrv::DtSharedDisplayUnitsSettings::CoordSys  ,
int  newValue,
int  oldValue 
)
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
virtual makVrv::DtSharedDisplayUnitsSettings::DistanceUnits makVrf::DtLocationEntryWidgetLogic::currentDistanceUnits ( ) const
inlinevirtual
virtual makVrv::DtSharedDisplayUnitsSettings::DistanceUnits makVrf::DtLocationEntryWidgetLogic::currentAltitudeUnits ( ) const
inlinevirtual
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 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

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)