JitteredSampleGenerator.h
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @class JitteredSampleGenerator 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @date Fall 2008 00005 00006 @brief 00007 Jittered point sample generation over a given 2D domain where M*N 00008 samples are generated randomly within M*N uniformly-spaced subdomains 00009 <!-------------------------------------------------------------------->**/ 00010 00011 #ifndef JITTERED_SAMPLE_GENERATOR_H_ 00012 #define JITTERED_SAMPLE_GENERATOR_H_ 00013 00014 #include <renderers/generators/SampleGenerator.h> 00015 00016 template <class SG> 00017 class JitteredSG : 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 // JITTERED_SAMPLE_GENERATOR_H_ 00031
Generated on 28 Feb 2009 for Milton by
1.5.6