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

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.

Inheritance diagram for makVrf::DtDebugDrawTerrainLogic:
Inheritance graph
[legend]

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::DtDemyDe
 
DtDebugDrawTerrainInterfacemyInterface
 
DtIfDebugDrawTerrain::DtSkinColorMode mySkinColorMode
 
float myColorAlpha
 
bool myForcePageIn
 
- 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::DtDebugDrawTerrainLogic::DtDebugDrawTerrainLogic ( makVrv::DtDe de,
DtDebugDrawTerrainInterface  
)
virtual makVrf::DtDebugDrawTerrainLogic::~DtDebugDrawTerrainLogic ( )
virtual

Member Function Documentation

virtual void makVrf::DtDebugDrawTerrainLogic::drawTerrainSkin ( const DtSimulationAddress &  simEngine)
virtual

Draw terrain skin.

virtual void makVrf::DtDebugDrawTerrainLogic::deleteTerrainSkin ( const DtSimulationAddress &  simEngine)
virtual

Delete terrain skin.

virtual void makVrf::DtDebugDrawTerrainLogic::drawTerrainSkinNormal ( const DtSimulationAddress &  simEngine)
virtual

Draw terrain skin normal.

virtual void makVrf::DtDebugDrawTerrainLogic::deleteTerrainSkinNormal ( const DtSimulationAddress &  simEngine)
virtual

Delete terrain skin normal.

virtual void makVrf::DtDebugDrawTerrainLogic::drawCollisionObjects ( const DtSimulationAddress &  simEngine)
virtual

Draw collision objects.

virtual void makVrf::DtDebugDrawTerrainLogic::deleteCollisionObjects ( const DtSimulationAddress &  simEngine)
virtual

Delete collision objects.

virtual void makVrf::DtDebugDrawTerrainLogic::setSkinColor ( DtIfDebugDrawTerrain::DtSkinColorMode  mode)
virtual

Set skin color mode.

virtual void makVrf::DtDebugDrawTerrainLogic::setSkinColorAlpha ( float  alpha)
virtual

Set skin color alpha.

virtual void makVrf::DtDebugDrawTerrainLogic::setForcePageIn ( bool  value)
virtual

Set Force page in flag.

virtual bool makVrf::DtDebugDrawTerrainLogic::forcePageIn ( ) const
virtual

Get Force page in flag.

Member Data Documentation

makVrv::DtDe& makVrf::DtDebugDrawTerrainLogic::myDe
protected
DtDebugDrawTerrainInterface* makVrf::DtDebugDrawTerrainLogic::myInterface
protected
DtIfDebugDrawTerrain::DtSkinColorMode makVrf::DtDebugDrawTerrainLogic::mySkinColorMode
protected
float makVrf::DtDebugDrawTerrainLogic::myColorAlpha
protected
bool makVrf::DtDebugDrawTerrainLogic::myForcePageIn
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)