Changeset 414 for trunk/VUT/GtpVisibilityPreprocessor/src/RenderSimulator.h
- Timestamp:
- 11/15/05 15:57:15 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/RenderSimulator.h
r411 r414 3 3 4 4 #include "common.h" 5 #include "Statistics.h" 5 6 6 7 class BspTree; … … 9 10 class KdLeaf; 10 11 12 class SimulationStatistics: public StatisticsBase 13 { 14 public: 15 /// view cell with the biggest "cost" 16 float maxCost; 17 /// view cell with the minimal "cost" 18 float minCost; 19 /// average render time 20 float avgRenderTime; 21 /// average render time with the overhead when crossing view cells 22 float avgRtWithoutOverhead; 23 24 void Reset() 25 { 26 maxCost = 0; 27 minCost = 999999; 28 avgRenderTime = 0; 29 avgRtWithoutOverhead = 0; 30 } 31 32 void Print(ostream &app) const; 33 34 friend ostream &operator<<(ostream &s, const SimulationStatistics &stat) 35 { 36 stat.Print(s); 37 return s; 38 } 39 }; 40 11 41 /** Simulated rendering using a simple render heuristics. Used to evaluate the 12 42 quality of the view cell partition. … … 14 44 class RenderSimulator 15 45 { 46 16 47 public: 17 48 RenderSimulator(); … … 25 56 /// move speed of player 26 57 float mMoveSpeed; 58 59 SimulationStatistics mStat; 27 60 }; 28 61
Note: See TracChangeset
for help on using the changeset viewer.