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

Contains makVrf::DtDebugDrawNavMeshLogic class. This class is trigger by the DebugDrawNavMeshPage dialog. Upon selecting an option, it will send a DtIfDebugDrawNavMesh 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 (navigation data) 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::DtDebugDrawNavMeshLogic:
Inheritance graph
[legend]

Public Member Functions

 DtDebugDrawNavMeshLogic (makVrv::DtDe &de, DtDebugDrawNavMeshInterface *)
 
virtual ~DtDebugDrawNavMeshLogic ()
 
virtual void drawNavMesh (const DtSimulationAddress &simEngine, const std::string &profileString)
 
virtual void deleteNavMesh (const DtSimulationAddress &simEngine, const std::string &profileString)
 
virtual void setNavMeshColor (bool value)
 
virtual void setNavMeshColorAlpha (float alpha)
 
virtual void setNavMeshOffset (float offset)
 
- 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
 
DtDebugDrawNavMeshInterfacemyInterface
 
bool myNavMeshColor
 
float myColorAlpha
 
float myOffset
 
- 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::DtDebugDrawNavMeshLogic::DtDebugDrawNavMeshLogic ( makVrv::DtDe de,
DtDebugDrawNavMeshInterface  
)
virtual makVrf::DtDebugDrawNavMeshLogic::~DtDebugDrawNavMeshLogic ( )
virtual

Member Function Documentation

virtual void makVrf::DtDebugDrawNavMeshLogic::drawNavMesh ( const DtSimulationAddress &  simEngine,
const std::string &  profileString 
)
virtual

Draw nash mesh for a certain profile.

virtual void makVrf::DtDebugDrawNavMeshLogic::deleteNavMesh ( const DtSimulationAddress &  simEngine,
const std::string &  profileString 
)
virtual

Delete nash mesh for a certain profile.

virtual void makVrf::DtDebugDrawNavMeshLogic::setNavMeshColor ( bool  value)
virtual

Enable or not the color.

virtual void makVrf::DtDebugDrawNavMeshLogic::setNavMeshColorAlpha ( float  alpha)
virtual

Control alpha value when color is turn on.

virtual void makVrf::DtDebugDrawNavMeshLogic::setNavMeshOffset ( float  offset)
virtual

Control the nav mesh offset in meters.

Member Data Documentation

makVrv::DtDe& makVrf::DtDebugDrawNavMeshLogic::myDe
protected
DtDebugDrawNavMeshInterface* makVrf::DtDebugDrawNavMeshLogic::myInterface
protected
bool makVrf::DtDebugDrawNavMeshLogic::myNavMeshColor
protected
float makVrf::DtDebugDrawNavMeshLogic::myColorAlpha
protected
float makVrf::DtDebugDrawNavMeshLogic::myOffset
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)