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

Local to class -- not exposed. More...

List of all members.

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.
virtual void setMouseClickSupportEnabled (bool)
 Enables/disables mouse selection handling for mouse down. Default is turned off.
virtual void setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &)
const
makArchives::DtDisplayUnitsSettingsRecord::CoordSys
coordinateSystem () const
virtual void slot_onAltitudeAboveSeaLevelChanged ()
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.
virtual void setIgnoreList (const std::vector< makVrv::DtElementID > &)
 List of objects to ignore when getting intersections.
virtual const std::vector
< makVrv::DtElementID > & 
ignoreList () const

Protected Member Functions

virtual void initialize ()
virtual double groundHeight (const DtVector &loc)
 Returns highest point at the given location.
virtual void refreshLabels ()
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.

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

Detailed Description

Local to class -- not exposed.


Constructor & Destructor Documentation


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

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

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]

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::initialize ( ) [protected, virtual]
virtual double makVrf::DtAltitudeSelectionWidgetLogic::groundHeight ( const DtVector loc) [protected, virtual]

Returns highest point at the given location.

virtual void makVrf::DtAltitudeSelectionWidgetLogic::refreshLabels ( ) [protected, virtual]
virtual void makVrf::DtAltitudeSelectionWidgetLogic::slot_onUnitChanged ( int  attribute,
int  from 
) [protected, virtual]

Hooked up to signal_displayUnitDecimalsChanged on the DtDisplayUnitsSettingsSignaler.


Member Data Documentation


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)