Ignore:
Timestamp:
12/15/06 17:29:45 (18 years ago)
Author:
mattausch
Message:

removed bug in sampling strategy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.h

    r1891 r1898  
    6969 
    7070public: 
     71 
    7172        /// variables usefull for mixed distribution sampling 
    7273        int mType; 
     
    7475        float mContribution; 
    7576 
    76   int mTotalRays; 
    77   float mTotalContribution; 
    78  
    79   float mTime; 
     77        int mTotalRays; 
     78        float mTotalContribution; 
     79 
     80        float mTime; 
    8081        float mRatio; 
    8182 
    8283protected: 
    8384 
    84   Preprocessor &mPreprocessor; 
    85  
     85        Preprocessor &mPreprocessor; 
     86        static HaltonSequence sHalton; 
    8687}; 
    8788 
     
    9091{ 
    9192 public: 
    92   HaltonSequence mHalton; 
     93  //HaltonSequence mHalton; 
    9394   
    9495  ObjectBasedDistribution(Preprocessor &preprocessor): 
     
    118119class ObjectDirectionBasedDistribution: public SamplingStrategy 
    119120{ 
    120   HaltonSequence mHalton; 
     121  //HaltonSequence mHalton; 
    121122   
    122123public: 
     
    158159{ 
    159160 public: 
    160   HaltonSequence mHalton; 
     161  //HaltonSequence mHalton; 
    161162  SpatialBoxBasedDistribution(Preprocessor &preprocessor): 
    162163        SamplingStrategy(preprocessor){ 
     
    213214public: 
    214215  //Halton<4> halton; 
    215   HaltonSequence mHalton; 
     216  //HaltonSequence mHalton; 
    216217 
    217218  GlobalLinesDistribution(Preprocessor &preprocessor): 
     
    237238*/ 
    238239 
    239 class MixtureDistribution : public SamplingStrategy { 
     240class MixtureDistribution : public SamplingStrategy  
     241{ 
    240242public: 
    241243  // halton sequence generator for deciding between distributions 
    242   HaltonSequence mHalton; 
     244  //HaltonSequence mHalton; 
    243245   
    244246  // container for the distributions 
Note: See TracChangeset for help on using the changeset viewer.