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 Attributes
makVrf::DtDebugDrawFeatureLogic Class Reference

Contains makVrf::DtDebugDrawFeatureLogic class. This class is trigger by the DebugDrawFeaturePage dialog. Upon selecting an option, it will send a DtIfDebugDrawFeature message (via DIS/HLA) to the selected sim. engine. This message will be received in the back end by DtDebugDrawManager. The DtDebugDrawManager will then gather the sim information needed (feature lines for example.) and will send messages (Not via DIS/HLA but via UDP) to the debugDrawRender plugin (GUI side) to draw the result on screen.

Inheritance diagram for makVrf::DtDebugDrawFeatureLogic:
Inheritance graph
[legend]

Public Member Functions

 DtDebugDrawFeatureLogic (makVrv::DtDe &de, DtDebugDrawFeatureInterface *)
 
virtual ~DtDebugDrawFeatureLogic () override
 
virtual void drawPointFeature (const DtSimulationAddress &simEngine, const std::string &queryString)
 
virtual void deletePointFeature (const DtSimulationAddress &simEngine)
 
virtual void drawArealFeature (const DtSimulationAddress &simEngine, const std::string &queryString)
 
virtual void deleteArealFeature (const DtSimulationAddress &simEngine)
 
virtual void drawLinearFeature (const DtSimulationAddress &simEngine, const std::string &queryString)
 
virtual void deleteLinearFeature (const DtSimulationAddress &simEngine)
 
virtual void setFeatureOffset (float offset)
 
virtual void setClampToGround (bool clamp)
 
- Public Member Functions inherited from makVrf::DtDebugDrawCommonLogic
 DtDebugDrawCommonLogic (makVrv::DtDe &de)
 
virtual ~DtDebugDrawCommonLogic ()
 
virtual double maxQueryDistance () const
 
virtual void setMaxQueryDistance (double value)
 

Protected Attributes

makVrv::DtDemyDe
 
DtDebugDrawFeatureInterfacemyInterface
 
float myOffset
 
bool myClampToGround
 
- Protected Attributes inherited from makVrf::DtDebugDrawCommonLogic
makVrv::DtDemyDe
 
double myMaxQueryDistance
 

Additional Inherited Members

- Protected Member Functions inherited from makVrf::DtDebugDrawCommonLogic
virtual bool frustumCoordinates (DtVector &topLeftCorner, DtVector &topRightCorner, DtVector &bottomLeftCorner, DtVector &bottomRightCorner)
 
virtual void frustumVectors (DtVector &topLeft, DtVector &topRight, DtVector &bottomLeft, DtVector &bottomRight, DtVector &centerPoint, double &farClipPlane, osg::Vec3d &rht_out, osg::Vec3d &newForward_out)
 

Constructor & Destructor Documentation

makVrf::DtDebugDrawFeatureLogic::DtDebugDrawFeatureLogic ( makVrv::DtDe de,
DtDebugDrawFeatureInterface  
)
virtual makVrf::DtDebugDrawFeatureLogic::~DtDebugDrawFeatureLogic ( )
overridevirtual

Member Function Documentation

virtual void makVrf::DtDebugDrawFeatureLogic::drawPointFeature ( const DtSimulationAddress &  simEngine,
const std::string &  queryString 
)
virtual

Draw point feature.

virtual void makVrf::DtDebugDrawFeatureLogic::deletePointFeature ( const DtSimulationAddress &  simEngine)
virtual

Delete point feature.

virtual void makVrf::DtDebugDrawFeatureLogic::drawArealFeature ( const DtSimulationAddress &  simEngine,
const std::string &  queryString 
)
virtual

Draw areal feature.

virtual void makVrf::DtDebugDrawFeatureLogic::deleteArealFeature ( const DtSimulationAddress &  simEngine)
virtual

Delete areal feature.

virtual void makVrf::DtDebugDrawFeatureLogic::drawLinearFeature ( const DtSimulationAddress &  simEngine,
const std::string &  queryString 
)
virtual

Draw Linear feature.

virtual void makVrf::DtDebugDrawFeatureLogic::deleteLinearFeature ( const DtSimulationAddress &  simEngine)
virtual

Delete Linear feature.

virtual void makVrf::DtDebugDrawFeatureLogic::setFeatureOffset ( float  offset)
virtual

Control the Feature offset in meters.

virtual void makVrf::DtDebugDrawFeatureLogic::setClampToGround ( bool  clamp)
virtual

Control the true/false to clamp features to ground.

Member Data Documentation

makVrv::DtDe& makVrf::DtDebugDrawFeatureLogic::myDe
protected
DtDebugDrawFeatureInterface* makVrf::DtDebugDrawFeatureLogic::myInterface
protected
float makVrf::DtDebugDrawFeatureLogic::myOffset
protected
bool makVrf::DtDebugDrawFeatureLogic::myClampToGround
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)