![]() |
VR-Forces 4.8 Class Documentation
|
Contains makVrf::DtDebugDrawNavMeshLogic class. More...

Public Member Functions | |
| DtDebugDrawNavMeshLogic (makVrv::DtDe &de, DtDebugDrawNavMeshInterface *) | |
| virtual | ~DtDebugDrawNavMeshLogic () |
| virtual void | drawNavMesh (const DtSimulationAddress &simEngine, const std::string &profileString) |
| Draw nash mesh for a certain profile. More... | |
| virtual void | deleteNavMesh (const DtSimulationAddress &simEngine, const std::string &profileString) |
| Delete nash mesh for a certain profile. More... | |
| virtual void | setNavMeshColor (bool value) |
| Enable or not the color. More... | |
| virtual void | setNavMeshColorAlpha (float alpha) |
| Control alpha value when color is turn on. More... | |
| virtual void | setNavMeshOffset (float offset) |
| Control the nav mesh 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::DtDe & | myDe |
| DtDebugDrawNavMeshInterface * | myInterface |
| bool | myNavMeshColor |
| float | myColorAlpha |
| float | myOffset |
Protected Attributes inherited from makVrf::DtDebugDrawCommonLogic | |
| makVrv::DtDe & | myDe |
| 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 ¢erPoint, double &farClipPlane, osg::Vec3d &rht_out, osg::Vec3d &newForward_out) |
| Get the frustum corners vector. More... | |
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.
| 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 |