VR-Forces 4.10 Class Documentation
 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. More...

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

Public Member Functions

 DtDebugDrawFeatureLogic (makVrv::DtDe &de, DtDebugDrawFeatureInterface *)
 
virtual ~DtDebugDrawFeatureLogic ()
 
virtual void drawPointFeature (const DtSimulationAddress &simEngine, const std::string &queryString)
 Draw point feature. More...
 
virtual void deletePointFeature (const DtSimulationAddress &simEngine)
 Delete point feature. More...
 
virtual void drawArealFeature (const DtSimulationAddress &simEngine, const std::string &queryString)
 Draw areal feature. More...
 
virtual void deleteArealFeature (const DtSimulationAddress &simEngine)
 Delete areal feature. More...
 
virtual void drawLinearFeature (const DtSimulationAddress &simEngine, const std::string &queryString)
 Draw Linear feature. More...
 
virtual void deleteLinearFeature (const DtSimulationAddress &simEngine)
 Delete Linear feature. More...
 
virtual void setFeatureOffset (float offset)
 Control the Feature offset in meters. More...
 
- Public Member Functions inherited from makVrf::DtDebugDrawCommonLogic
 DtDebugDrawCommonLogic (makVrv::DtDe &de)
 
virtual ~DtDebugDrawCommonLogic ()
 
virtual double maxQueryDistance () const
 Set/Get MaxQueryDistance. More...
 
virtual void setMaxQueryDistance (double value)
 

Protected Attributes

makVrv::DtDemyDe
 
DtDebugDrawFeatureInterfacemyInterface
 
float myOffset
 
- Protected Attributes inherited from makVrf::DtDebugDrawCommonLogic
makVrv::DtDemyDe
 
double myMaxQueryDistance
 Max distance of the query (in meters) to limit the number of polygons. More...
 

Additional Inherited Members

- Protected Member Functions inherited from makVrf::DtDebugDrawCommonLogic
virtual bool frustumCoordinates (DtVector &topLeftCorner, DtVector &topRightCorner, DtVector &bottomLeftCorner, DtVector &bottomRightCorner)
 Get the frustum corners position (call function frustumVectors) More...
 
virtual void frustumVectors (DtVector &topLeft, DtVector &topRight, DtVector &bottomLeft, DtVector &bottomRight, DtVector &centerPoint, double &farClipPlane, osg::Vec3d &rht_out, osg::Vec3d &newForward_out)
 Get the frustum corners vector. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

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

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.

Member Data Documentation

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

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)