![]() |
VR-Forces Developer's Guide
|
Contains makVrf::DtDebugDrawTerrainLogic class. This class is trigger by the DebugDrawTerrainPage dialog. Upon selecting an option, it will send a DtIfDebugDrawTerrain 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 (terrain triangles 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.

Public Member Functions | |
| DtDebugDrawTerrainLogic (makVrv::DtDe &de, DtDebugDrawTerrainInterface *) | |
| virtual | ~DtDebugDrawTerrainLogic () |
| virtual void | drawTerrainSkin (const DtSimulationAddress &simEngine) |
| virtual void | deleteTerrainSkin (const DtSimulationAddress &simEngine) |
| virtual void | drawTerrainSkinNormal (const DtSimulationAddress &simEngine) |
| virtual void | deleteTerrainSkinNormal (const DtSimulationAddress &simEngine) |
| virtual void | drawCollisionObjects (const DtSimulationAddress &simEngine) |
| virtual void | deleteCollisionObjects (const DtSimulationAddress &simEngine) |
| virtual void | setSkinColor (DtIfDebugDrawTerrain::DtSkinColorMode mode) |
| virtual void | setSkinColorAlpha (float alpha) |
| virtual void | setForcePageIn (bool value) |
| virtual bool | forcePageIn () const |
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 |
| DtDebugDrawTerrainInterface * | myInterface |
| DtIfDebugDrawTerrain::DtSkinColorMode | mySkinColorMode |
| float | myColorAlpha |
| bool | myForcePageIn |
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::DtDebugDrawTerrainLogic::DtDebugDrawTerrainLogic | ( | makVrv::DtDe & | de, |
| DtDebugDrawTerrainInterface * | |||
| ) |
|
virtual |
|
virtual |
Draw terrain skin.
|
virtual |
Delete terrain skin.
|
virtual |
Draw terrain skin normal.
|
virtual |
Delete terrain skin normal.
|
virtual |
Draw collision objects.
|
virtual |
Delete collision objects.
|
virtual |
Set skin color mode.
|
virtual |
Set skin color alpha.
|
virtual |
Set Force page in flag.
|
virtual |
Get Force page in flag.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |