Changeset 2726 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.h
- Timestamp:
- 05/30/08 02:37:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.h
r2694 r2726 7 7 #include "common.h" 8 8 #include "Halton.h" 9 #include "Vector3.h" 10 9 11 namespace GtpVisibilityPreprocessor { 10 12 … … 59 61 virtual ~SamplingStrategy(); 60 62 63 virtual int GenerateSamples(int number, SimpleRayContainer &rays, int &invalidSamples); 61 64 /** Each strategy has to implement this function. 62 @returns true if generated valid sample.65 @returns true if generated valid sample. 63 66 */ 64 65 virtual int GenerateSamples(const int number, SimpleRayContainer &rays);66 67 67 virtual bool GenerateSample(SimpleRay &ray) = 0; 68 68 … … 262 262 263 263 ViewCell *mViewCell; 264 265 Vector3 origin; 266 Vector3 direction; 267 Vector3 point; 268 Vector3 normal; 269 float r[2]; 270 264 271 static HaltonSequence sHalton; 265 272 }; … … 307 314 } 308 315 309 virtual int GenerateSamples( const int number, SimpleRayContainer &rays);316 virtual int GenerateSamples(int number, SimpleRayContainer &rays, int &invalidSamples); 310 317 311 318 private:
Note: See TracChangeset
for help on using the changeset viewer.