Changeset 2003 for GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.h
- Timestamp:
- 01/21/07 00:40:56 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.h
r1999 r2003 41 41 mTrianglePvs = 0; 42 42 mViewCellId = 0; 43 mTotalTime = 0; 44 mTimePerViewCell = 0; 45 mTotalTrianglePvs = 0; 43 46 } 44 47 … … 53 56 int mBorderSamples; 54 57 int mGvsPass; 55 58 56 59 int mTotalPvs; 57 60 int mViewCells; … … 59 62 int mPerViewCellPvs; 60 63 int mTrianglePvs; 64 int mTotalTrianglePvs; 61 65 int mViewCellId; 62 63 float RaysPerSec() const { if (!Time()) return 0; return (float)mTotalSamples / Time() * 1e-6f; } 66 67 float mTimePerViewCell; 68 float mTotalTime; 69 70 float RaysPerSec() const { if (!mTotalTime) return 0; return (float)mTotalSamples / mTotalTime * 1e-6f; } 64 71 65 72 void Print(ostream &app) const;
Note: See TracChangeset
for help on using the changeset viewer.