Sampler Class Reference

#include <sampling.h>

Inheritance diagram for Sampler:

BestCandidateSampler LDSampler RandomSampler StratifiedSampler

List of all members.

Public Member Functions

virtual ~Sampler ()
 Sampler (int xstart, int xend, int ystart, int yend, int spp)
virtual bool GetNextSample (Sample *sample)=0
int TotalSamples () const
virtual int RoundSize (int size) const =0

Public Attributes

int xPixelStart
int xPixelEnd
int yPixelStart
int yPixelEnd
int samplesPerPixel


Detailed Description

Definition at line 30 of file sampling.h.


Constructor & Destructor Documentation

Sampler::~Sampler (  )  [virtual]

Definition at line 30 of file sampling.cpp.

Sampler::Sampler ( int  xstart,
int  xend,
int  ystart,
int  yend,
int  spp 
)

Definition at line 32 of file sampling.cpp.

References samplesPerPixel, xPixelEnd, xPixelStart, yPixelEnd, and yPixelStart.


Member Function Documentation

virtual bool Sampler::GetNextSample ( Sample sample  )  [pure virtual]

int Sampler::TotalSamples (  )  const [inline]

Definition at line 38 of file sampling.h.

Referenced by Scene::Render().

virtual int Sampler::RoundSize ( int  size  )  const [pure virtual]


Member Data Documentation

Definition at line 46 of file sampling.h.

Referenced by Sampler().


The documentation for this class was generated from the following files:

Generated on Mon Jul 20 17:31:56 2009 for pbrt by  doxygen 1.5.6