![]() |
VR-Forces 5.0.1 Developer's Guide
|
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.

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::DtDe & | myDe |
| DtDebugDrawNavMeshInterface * | myInterface |
| bool | myNavMeshColor |
| float | myColorAlpha |
| float | myOffset |
Protected Attributes inherited from makVrf::DtDebugDrawCommonLogic | |
| makVrv::DtDe & | myDe |
| 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 ¢erPoint, double &farClipPlane, osg::Vec3d &rht_out, osg::Vec3d &newForward_out) |
| makVrf::DtDebugDrawNavMeshLogic::DtDebugDrawNavMeshLogic | ( | makVrv::DtDe & | de, |
| DtDebugDrawNavMeshInterface * | |||
| ) |
|
virtual |
|
virtual |
Draw nash mesh for a certain profile.
|
virtual |
Delete nash mesh for a certain profile.
|
virtual |
Enable or not the color.
|
virtual |
Control alpha value when color is turn on.
|
virtual |
Control the nav mesh offset in meters.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |