source: GTP/trunk/Lib/Vis/Preprocessing/src/FilterBasedDistribution.h @ 2582

Revision 2582, 646 bytes checked in by bittner, 16 years ago (diff)

Havran Ray Caster compiles and links, but still does not work

Line 
1#ifndef __FILTER_BASED_DISTRIBUTION
2#define __FILTER_BASED_DISTRIBUTION
3
4#include "SamplingStrategy.h"
5#include "ObjectPvs.h"
6
7namespace GtpVisibilityPreprocessor {
8
9class FilterBasedDistribution: public SamplingStrategy
10{
11public:
12
13  FilterBasedDistribution(Preprocessor &preprocessor)
14        : SamplingStrategy(preprocessor)
15  {
16        mType = FILTER_BASED_DISTRIBUTION;
17        mViewCell = NULL;
18  }
19 
20private:
21 
22  virtual bool GenerateSample(SimpleRay &ray);
23
24  // cached values
25  ViewCell *mViewCell;
26  ObjectPvs mFilteredPvs;
27  int samplesToGenerate;
28  int samplesGenerated;
29 
30  static HaltonSequence sHalton;
31};
32}
33
34#endif
Note: See TracBrowser for help on using the repository browser.