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

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