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

Contains makVrf::DtDebugDrawQueryLogic class. More...

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

Public Member Functions

 DtDebugDrawQueryLogic (makVrv::DtDe &de, DtDebugDrawQueryInterface *)
 
virtual ~DtDebugDrawQueryLogic ()
 
virtual void drawQueryVector (const DtSimulationAddress &simEngine)
 Draw terrain query vector. More...
 
virtual void deleteQueryVector (const DtSimulationAddress &simEngine)
 Delete terrain query vector. More...
 
virtual void drawElevationTiles (const DtSimulationAddress &simEngine)
 Draw elevation tiles. More...
 
virtual void deleteElevationTiles (const DtSimulationAddress &simEngine)
 Delete elevation tiles. More...
 
virtual void drawProceduralTreeTiles (const DtSimulationAddress &simEngine)
 Draw procedural tree tiles. More...
 
virtual void deleteProceduralTreeTiles (const DtSimulationAddress &simEngine)
 Delete procedural tree tiles. More...
 
virtual void drawPageOutNodeBS (const DtSimulationAddress &simEngine)
 Draw page out node bounding sphere. More...
 
virtual void deletePageOutNodeBS (const DtSimulationAddress &simEngine)
 Delete page out node bounding sphere. More...
 
virtual void drawPageInNodeBS (const DtSimulationAddress &simEngine)
 Draw page in node bounding sphere. More...
 
virtual void deletePageInNodeBS (const DtSimulationAddress &simEngine)
 Delete page in node bounding sphere. More...
 
virtual void setForcePageIn (bool value)
 Set Force page in flag. More...
 
virtual void onPostTick ()
 Use this function to refresh the draw tile. More...
 
virtual void setRefreshTile (bool value)
 Set refresh tile 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
 
DtDebugDrawQueryInterfacemyInterface
 
bool myForcePageIn
 
bool myAutoRefresh
 
const DtSimulationAddress * myLastSimEngine
 
unsigned int myTick
 
- 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::DtDebugDrawQueryLogic class.

This class is trigger by the DebugDrawQueryPage 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 tiles 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::DtDebugDrawQueryLogic::DtDebugDrawQueryLogic ( makVrv::DtDe de,
DtDebugDrawQueryInterface  
)
virtual makVrf::DtDebugDrawQueryLogic::~DtDebugDrawQueryLogic ( )
virtual

Member Function Documentation

virtual void makVrf::DtDebugDrawQueryLogic::drawQueryVector ( const DtSimulationAddress &  simEngine)
virtual

Draw terrain query vector.

virtual void makVrf::DtDebugDrawQueryLogic::deleteQueryVector ( const DtSimulationAddress &  simEngine)
virtual

Delete terrain query vector.

virtual void makVrf::DtDebugDrawQueryLogic::drawElevationTiles ( const DtSimulationAddress &  simEngine)
virtual

Draw elevation tiles.

virtual void makVrf::DtDebugDrawQueryLogic::deleteElevationTiles ( const DtSimulationAddress &  simEngine)
virtual

Delete elevation tiles.

virtual void makVrf::DtDebugDrawQueryLogic::drawProceduralTreeTiles ( const DtSimulationAddress &  simEngine)
virtual

Draw procedural tree tiles.

virtual void makVrf::DtDebugDrawQueryLogic::deleteProceduralTreeTiles ( const DtSimulationAddress &  simEngine)
virtual

Delete procedural tree tiles.

virtual void makVrf::DtDebugDrawQueryLogic::drawPageOutNodeBS ( const DtSimulationAddress &  simEngine)
virtual

Draw page out node bounding sphere.

virtual void makVrf::DtDebugDrawQueryLogic::deletePageOutNodeBS ( const DtSimulationAddress &  simEngine)
virtual

Delete page out node bounding sphere.

virtual void makVrf::DtDebugDrawQueryLogic::drawPageInNodeBS ( const DtSimulationAddress &  simEngine)
virtual

Draw page in node bounding sphere.

virtual void makVrf::DtDebugDrawQueryLogic::deletePageInNodeBS ( const DtSimulationAddress &  simEngine)
virtual

Delete page in node bounding sphere.

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

Set Force page in flag.

virtual void makVrf::DtDebugDrawQueryLogic::onPostTick ( )
virtual

Use this function to refresh the draw tile.

virtual void makVrf::DtDebugDrawQueryLogic::setRefreshTile ( bool  value)
virtual

Set refresh tile flag.

Member Data Documentation

makVrv::DtDe& makVrf::DtDebugDrawQueryLogic::myDe
protected
DtDebugDrawQueryInterface* makVrf::DtDebugDrawQueryLogic::myInterface
protected
bool makVrf::DtDebugDrawQueryLogic::myForcePageIn
protected
bool makVrf::DtDebugDrawQueryLogic::myAutoRefresh
protected
const DtSimulationAddress* makVrf::DtDebugDrawQueryLogic::myLastSimEngine
protected
unsigned int makVrf::DtDebugDrawQueryLogic::myTick
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)