VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtIntersectTimerPassThroughLayer Class Reference

This is a DtTerrainPassThroughLayer which times the intersection functions and provides average intersection time values for the contained implementation. More...

Inheritance diagram for DtIntersectTimerPassThroughLayer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtIntersectTimerPassThroughLayer (DtTerrainImplementation *implementation, DtConsoleCommandManager *cmdMgr)
virtual ~DtIntersectTimerPassThroughLayer ()
virtual bool chordIntersect (const DtChord &chord, DtChordIntersectionRecord &record, DtIntersectionRecord::DtIntersectionType irtFlag=DtIntersectionRecord::INT_ALL_DATA, bool *dataAvailable=0, bool overrideBlockingAssert=false) const
 Times the call to the contained terrain implementation.
virtual bool allIntersectsAlongChord (const DtChord &chord, DtChordIntersectRecordList &intList, DtIntersectionRecord::DtIntersectionType irtFlag=DtIntersectionRecord::INT_ALL_DATA, bool *dataAvailable=0, bool overrideBlockingAssert=false) const
 Times the call to the contained terrain implementation.
virtual void resetStatistics ()
virtual void printStatistics ()

Static Public Member Functions

static DtTerrainPassThroughLayer * create (DtCreatorParam createParam)

Protected Member Functions

virtual void printStatistic (int statId)

Protected Attributes

DtConsoleCommandManager * myCommandMgr
std::list< DtConsoleCommand * > myCommandList
DtPerformanceStats myDataAvailableIntersectionStats
DtPerformanceStats myDataUnavailableIntersectionStats
std::map< unsigned int,
unsigned int > 
myDataAvailableIntersectCount
std::map< unsigned int,
unsigned int > 
myDataUnavailableIntersectCount

Detailed Description

This is a DtTerrainPassThroughLayer which times the intersection functions and provides average intersection time values for the contained implementation.


Constructor & Destructor Documentation


Member Function Documentation

virtual bool DtIntersectTimerPassThroughLayer::chordIntersect ( const DtChord &  chord,
DtChordIntersectionRecord &  record,
DtIntersectionRecord::DtIntersectionType  irtFlag = DtIntersectionRecord::INT_ALL_DATA,
bool *  dataAvailable = 0,
bool  overrideBlockingAssert = false 
) const [virtual]

Times the call to the contained terrain implementation.

Reimplemented from DtTerrainPassThroughLayer.

virtual bool DtIntersectTimerPassThroughLayer::allIntersectsAlongChord ( const DtChord &  chord,
DtChordIntersectRecordList &  intList,
DtIntersectionRecord::DtIntersectionType  irtFlag = DtIntersectionRecord::INT_ALL_DATA,
bool *  dataAvailable = 0,
bool  overrideBlockingAssert = false 
) const [virtual]

Times the call to the contained terrain implementation.

Reimplemented from DtTerrainPassThroughLayer.

virtual void DtIntersectTimerPassThroughLayer::printStatistic ( int  statId) [protected, virtual]

Member Data Documentation

std::map<unsigned int, unsigned int> DtIntersectTimerPassThroughLayer::myDataAvailableIntersectCount [mutable, protected]
std::map<unsigned int, unsigned int> DtIntersectTimerPassThroughLayer::myDataUnavailableIntersectCount [mutable, protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)