VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
intersectTimerPassThroughLayer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include <vlutil/vlPerformanceStats.h>
16 #include <list>
17 
18 class DtConsoleCommand;
19 
23 {
24 public:
26  DtConsoleCommandManager* cmdMgr);
28 
30  virtual bool chordIntersect(const DtChord& chord,
31  DtChordIntersectionRecord& record,
32  DtIntersectionRecord::DtIntersectionType irtFlag =
33  DtIntersectionRecord::INT_ALL_DATA,
34  bool* dataAvailable = 0, bool overrideBlockingAssert = false) const;
35 
37  virtual bool allIntersectsAlongChord(const DtChord& chord,
38  DtChordIntersectRecordList& intList,
39  DtIntersectionRecord::DtIntersectionType irtFlag = DtIntersectionRecord::INT_ALL_DATA,
40  bool* dataAvailable = 0, bool overrideBlockingAssert = false) const;
41 
42  virtual void resetStatistics();
43 
44  virtual void printStatistics();
45 
46  static DtTerrainPassThroughLayer* create(DtCreatorParam createParam);
47 protected:
48  virtual void printStatistic(int statId);
49 protected:
51  std::list<DtConsoleCommand*> myCommandList;
52 
53  mutable DtPerformanceStats myDataAvailableIntersectionStats;
54  mutable DtPerformanceStats myDataUnavailableIntersectionStats;
55  mutable std::map<unsigned int, unsigned int> myDataAvailableIntersectCount;
56  mutable std::map<unsigned int, unsigned int> myDataUnavailableIntersectCount;
57 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)