Changeset 1990 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.h
- Timestamp:
- 01/18/07 11:44:46 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.h
r1989 r1990 15 15 struct SimpleRay; 16 16 class SimpleRayContainer; 17 class ViewCell; 17 18 18 19 struct VssRayContainer; … … 45 46 GVS, 46 47 MUTATION_BASED_DISTRIBUTION, 47 HW_GLOBAL_LINES_DISTRIBUTION 48 HW_GLOBAL_LINES_DISTRIBUTION, 49 VIEWCELL_BASED_DISTRIBUTION 48 50 }; 49 51 … … 257 259 }; 258 260 259 /** This strategy generates samples inside of the objects, e.g., 260 for sampling the inside of a colon. 261 */ 262 /*class ObjectsInteriorDistribution: public SamplingStrategy 263 { 264 public: 265 ObjectsInteriorDistribution(Preprocessor &preprocessor): 266 SamplingStrategy(preprocessor) {} 267 268 virtual bool GenerateSample(SimpleRay &ray); 269 }; 270 */ 261 class ViewCellBasedDistribution: public SamplingStrategy 262 { 263 public: 264 ViewCellBasedDistribution(Preprocessor &preprocessor, ViewCell *viewCell) 265 : SamplingStrategy(preprocessor), mViewCell(viewCell) 266 { 267 mType = VIEWCELL_BASED_DISTRIBUTION; 268 } 269 270 private: 271 272 virtual bool GenerateSample(SimpleRay &ray); 273 274 ViewCell *mViewCell; 275 static HaltonSequence sHalton; 276 }; 277 271 278 272 279 class MixtureDistribution: public SamplingStrategy
Note: See TracChangeset
for help on using the changeset viewer.