Changeset 1934 for GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.h
- Timestamp:
- 01/03/07 21:45:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.h
r1932 r1934 13 13 class VssRay; 14 14 15 /** View space partition statistics. 16 */ 17 class GvsStatistics: public StatisticsBase 18 { 19 public: 20 21 /// Constructor 22 GvsStatistics() 23 { 24 Reset(); 25 } 26 27 void Reset() 28 { 29 mPass = 0; 30 mTotalSamples = 0; 31 mPassContribution = 0; 32 mTotalContribution = 0; 33 mReverseSamples = 0; 34 mBorderSamples = 0; 35 mGvsPass = 0; 36 } 37 38 39 public: 40 41 int mPass; 42 int mTotalSamples; 43 int mPassContribution; 44 int mTotalContribution; 45 int mReverseSamples; 46 int mBorderSamples; 47 int mGvsPass; 48 49 void Print(ostream &app) const; 50 51 friend ostream &operator<<(ostream &s, const GvsStatistics &stat) 52 { 53 stat.Print(s); 54 return s; 55 } 56 }; 15 57 16 58 … … 148 190 // stats 149 191 150 int mSampleContriPerPass;192 /*int mSampleContriPerPass; 151 193 int mTotalSampleContri; 152 194 int mReverseSamples; 153 195 int mBorderSamples; 154 int mGvsPass; 155 156 ofstream mGvsStats; 196 int mGvsPass;*/ 197 198 ofstream mGvsStatsStream; 199 GvsStatistics mGvsStats; 200 201 bool mOnlyRandomSampling; 157 202 }; 158 203
Note: See TracChangeset
for help on using the changeset viewer.