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::DtAltitudeSelectionWidgetLogic Class Reference

Local to class – not exposed. More...

Public Member Functions

 DtAltitudeSelectionWidgetLogic (makVrv::DtDe &de, DtAltitudeSelectionWidgetInterface *)
 
virtual ~DtAltitudeSelectionWidgetLogic ()
 
virtual void setLocation (const DtVector &local, bool resetAltitude=true)
 Sets location, and, whether or not to reset altitude selection. More...
 
virtual void setMouseClickSupportEnabled (bool)
 Enables/disables mouse selection handling for mouse down. Default is turned off. More...
 
virtual void setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &)
 
const
makArchives::DtDisplayUnitsSettingsRecord::CoordSys
coordinateSystem () const
 
virtual void slot_onAltitudeAboveSeaLevelChanged ()
 
void setUseHighestLOD (bool b)
 
bool useHighestLOD () const
 
virtual void slot_onAltitudeAboveGroundLevelChanged ()
 
virtual void slot_onAltitudeAboveSeaLevelEdited ()
 
virtual void slot_onAltitudeAboveGroundLevelEdited ()
 
virtual void slot_onAltitudeSelectionTypeChanged ()
 
virtual void setDatabaseLocation (double x, double y, double z)
 
virtual QString zUnitsLabel () const
 
virtual DtGeodeticCoord geodeticLocation () const
 
virtual void setClampToNearestPolygon (bool)
 Sets whether or not to clamp to nearest polygon when selecting altitude. Default is true. More...
 
virtual void setIgnoreList (const std::vector< makVrv::DtElementID > &)
 List of objects to ignore when getting intersections. More...
 
virtual const std::vector
< makVrv::DtElementID > & 
ignoreList () const
 
virtual void setMaintainCurrentAltitude (bool)
 
virtual bool maintainCurrentAltitude () const
 
virtual void setClampFlag (DtLocalObjectManager::ClampFlag)
 
DtLocalObjectManager::ClampFlag clampFlag () const
 
virtual void refreshLabels ()
 

Protected Member Functions

virtual void initialize ()
 
virtual double groundHeight (const DtVector &loc)
 Returns highest point at the given location. More...
 
virtual void slot_onUnitChanged (int attribute, int from)
 
virtual void slot_onDisplayUnitDecimalsChanged (makVrv::DtUnitConverterCollection::DisplayUnitType, int unit, int newValue)
 Hooked up to signal_displayUnitDecimalsChanged on the DtDisplayUnitsSettingsSignaler. More...
 

Protected Attributes

makVrv::DtDemyDe
 
DtAltitudeSelectionWidgetInterfacemyInterface
 
makArchives::DtDisplayUnitsSettingsRecord::CoordSys myCoordSys
 
DtAltitudeEventProcessor * myAltitudeEventProcessor
 
DtVector myNearestPoint
 
makVrv::DtSignalConnectionManager myConnectionManager
 
DtAltitudeClampType myAltitudeSelectionType
 
DtVector myLastLocation
 
bool myInitialized
 
DtGeodeticCoord myGeodeticLocation
 
bool myClampToNearestPolygon
 
std::vector< makVrv::DtElementIDmyIgnoreList
 
bool myMaintainCurrentAltitude
 
bool myMouseClickSupportEnabled
 
bool myUseHighestLOD
 
DtLocalObjectManager::ClampFlag myClampFlag
 
std::set< makVrv::DtElementIDmyIgnoreSet
 

Detailed Description

Local to class – not exposed.

Constructor & Destructor Documentation

makVrf::DtAltitudeSelectionWidgetLogic::DtAltitudeSelectionWidgetLogic ( makVrv::DtDe de,
DtAltitudeSelectionWidgetInterface  
)
virtual makVrf::DtAltitudeSelectionWidgetLogic::~DtAltitudeSelectionWidgetLogic ( )
virtual

Member Function Documentation

virtual void makVrf::DtAltitudeSelectionWidgetLogic::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::DtAltitudeSelectionWidgetLogic::setMouseClickSupportEnabled ( bool  )
virtual

Enables/disables mouse selection handling for mouse down. Default is turned off.

virtual void makVrf::DtAltitudeSelectionWidgetLogic::setCoordinateSystem ( const makArchives::DtDisplayUnitsSettingsRecord::CoordSys )
virtual
const makArchives::DtDisplayUnitsSettingsRecord::CoordSys& makVrf::DtAltitudeSelectionWidgetLogic::coordinateSystem ( ) const
virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onAltitudeAboveSeaLevelChanged ( )
virtual
void makVrf::DtAltitudeSelectionWidgetLogic::setUseHighestLOD ( bool  b)
inline
bool makVrf::DtAltitudeSelectionWidgetLogic::useHighestLOD ( ) const
inline
virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onAltitudeAboveGroundLevelChanged ( )
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onAltitudeAboveSeaLevelEdited ( )
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onAltitudeAboveGroundLevelEdited ( )
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onAltitudeSelectionTypeChanged ( )
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::setDatabaseLocation ( double  x,
double  y,
double  z 
)
virtual
virtual QString makVrf::DtAltitudeSelectionWidgetLogic::zUnitsLabel ( ) const
virtual
virtual DtGeodeticCoord makVrf::DtAltitudeSelectionWidgetLogic::geodeticLocation ( ) const
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::setClampToNearestPolygon ( bool  )
virtual

Sets whether or not to clamp to nearest polygon when selecting altitude. Default is true.

virtual void makVrf::DtAltitudeSelectionWidgetLogic::setIgnoreList ( const std::vector< makVrv::DtElementID > &  )
virtual

List of objects to ignore when getting intersections.

virtual const std::vector<makVrv::DtElementID>& makVrf::DtAltitudeSelectionWidgetLogic::ignoreList ( ) const
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::setMaintainCurrentAltitude ( bool  )
virtual
virtual bool makVrf::DtAltitudeSelectionWidgetLogic::maintainCurrentAltitude ( ) const
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::setClampFlag ( DtLocalObjectManager::ClampFlag  )
virtual
DtLocalObjectManager::ClampFlag makVrf::DtAltitudeSelectionWidgetLogic::clampFlag ( ) const
inline
virtual void makVrf::DtAltitudeSelectionWidgetLogic::refreshLabels ( )
virtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::initialize ( )
protectedvirtual
virtual double makVrf::DtAltitudeSelectionWidgetLogic::groundHeight ( const DtVector loc)
protectedvirtual

Returns highest point at the given location.

virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onUnitChanged ( int  attribute,
int  from 
)
protectedvirtual
virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onDisplayUnitDecimalsChanged ( makVrv::DtUnitConverterCollection::DisplayUnitType  ,
int  unit,
int  newValue 
)
protectedvirtual

Hooked up to signal_displayUnitDecimalsChanged on the DtDisplayUnitsSettingsSignaler.

Member Data Documentation

makVrv::DtDe& makVrf::DtAltitudeSelectionWidgetLogic::myDe
protected
DtAltitudeSelectionWidgetInterface* makVrf::DtAltitudeSelectionWidgetLogic::myInterface
protected
makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrf::DtAltitudeSelectionWidgetLogic::myCoordSys
protected
DtAltitudeEventProcessor* makVrf::DtAltitudeSelectionWidgetLogic::myAltitudeEventProcessor
protected
DtVector makVrf::DtAltitudeSelectionWidgetLogic::myNearestPoint
protected
makVrv::DtSignalConnectionManager makVrf::DtAltitudeSelectionWidgetLogic::myConnectionManager
protected
DtAltitudeClampType makVrf::DtAltitudeSelectionWidgetLogic::myAltitudeSelectionType
protected
DtVector makVrf::DtAltitudeSelectionWidgetLogic::myLastLocation
protected
bool makVrf::DtAltitudeSelectionWidgetLogic::myInitialized
protected
DtGeodeticCoord makVrf::DtAltitudeSelectionWidgetLogic::myGeodeticLocation
protected
bool makVrf::DtAltitudeSelectionWidgetLogic::myClampToNearestPolygon
protected
std::vector<makVrv::DtElementID> makVrf::DtAltitudeSelectionWidgetLogic::myIgnoreList
protected
bool makVrf::DtAltitudeSelectionWidgetLogic::myMaintainCurrentAltitude
protected
bool makVrf::DtAltitudeSelectionWidgetLogic::myMouseClickSupportEnabled
protected
bool makVrf::DtAltitudeSelectionWidgetLogic::myUseHighestLOD
protected
DtLocalObjectManager::ClampFlag makVrf::DtAltitudeSelectionWidgetLogic::myClampFlag
protected
std::set<makVrv::DtElementID> makVrf::DtAltitudeSelectionWidgetLogic::myIgnoreSet
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)