StochasticSampleGenerator.h
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @class StochasticSampleGenerator 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @date Fall 2008 00005 00006 @brief 00007 Stochastic point sample generation over a given 2D domain where samples 00008 are generated completely randomly over the entire domain 00009 <!-------------------------------------------------------------------->**/ 00010 00011 #ifndef STOCHASTIC_SAMPLE_GENERATOR_H_ 00012 #define STOCHASTIC_SAMPLE_GENERATOR_H_ 00013 00014 #include <renderers/generators/SampleGenerator.h> 00015 00016 template <class SG> 00017 class StochasticSG : public SG { 00018 00019 public: 00020 ///@name Main usage interface 00021 //@{----------------------------------------------------------------- 00022 00023 virtual void generate(PointSampleList &outSamples, 00024 const Viewport &viewport); 00025 00026 00027 //@}----------------------------------------------------------------- 00028 }; 00029 00030 #endif // STOCHASTIC_SAMPLE_GENERATOR_H_ 00031
Generated on 28 Feb 2009 for Milton by
1.5.6