VR-Forces 4.8 Class Documentation
 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. More...

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

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::DtDemyDe
 
DtDebugDrawTerrainInterfacemyInterface
 
DtIfDebugDrawTerrain::DtSkinColorMode mySkinColorMode
 
float myColorAlpha
 
bool myForcePageIn
 
- Protected Attributes inherited from makVrf::DtDebugDrawCommonLogic
makVrv::DtDemyDe
 
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 &centerPoint, double &farClipPlane, osg::Vec3d &rht_out, osg::Vec3d &newForward_out)
 Get the frustum corners vector. More...
 

Detailed Description

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.

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)