Changeset 1898 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.h
- Timestamp:
- 12/15/06 17:29:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.h
r1891 r1898 69 69 70 70 public: 71 71 72 /// variables usefull for mixed distribution sampling 72 73 int mType; … … 74 75 float mContribution; 75 76 76 77 78 79 77 int mTotalRays; 78 float mTotalContribution; 79 80 float mTime; 80 81 float mRatio; 81 82 82 83 protected: 83 84 84 85 85 Preprocessor &mPreprocessor; 86 static HaltonSequence sHalton; 86 87 }; 87 88 … … 90 91 { 91 92 public: 92 HaltonSequence mHalton;93 //HaltonSequence mHalton; 93 94 94 95 ObjectBasedDistribution(Preprocessor &preprocessor): … … 118 119 class ObjectDirectionBasedDistribution: public SamplingStrategy 119 120 { 120 HaltonSequence mHalton;121 //HaltonSequence mHalton; 121 122 122 123 public: … … 158 159 { 159 160 public: 160 HaltonSequence mHalton;161 //HaltonSequence mHalton; 161 162 SpatialBoxBasedDistribution(Preprocessor &preprocessor): 162 163 SamplingStrategy(preprocessor){ … … 213 214 public: 214 215 //Halton<4> halton; 215 HaltonSequence mHalton;216 //HaltonSequence mHalton; 216 217 217 218 GlobalLinesDistribution(Preprocessor &preprocessor): … … 237 238 */ 238 239 239 class MixtureDistribution : public SamplingStrategy { 240 class MixtureDistribution : public SamplingStrategy 241 { 240 242 public: 241 243 // halton sequence generator for deciding between distributions 242 HaltonSequence mHalton;244 //HaltonSequence mHalton; 243 245 244 246 // container for the distributions
Note: See TracChangeset
for help on using the changeset viewer.