RandomSampler Class Reference

Inheritance diagram for RandomSampler:

Sampler

List of all members.

Public Member Functions

 RandomSampler (int xstart, int xend, int ystart, int yend, int xs, int ys)
 ~RandomSampler ()
bool GetNextSample (Sample *sample)
int RoundSize (int sz) const

Private Attributes

bool jitterSamples
int xPos
int yPos
int xPixelSamples
int yPixelSamples
float * imageSamples
float * lensSamples
float * timeSamples
int samplePos


Detailed Description

Definition at line 28 of file random.cpp.


Constructor & Destructor Documentation

RandomSampler::RandomSampler ( int  xstart,
int  xend,
int  ystart,
int  yend,
int  xs,
int  ys 
)

RandomSampler::~RandomSampler (  )  [inline]

Definition at line 32 of file random.cpp.

References FreeAligned(), and imageSamples.


Member Function Documentation

bool RandomSampler::GetNextSample ( Sample sample  )  [virtual]

int RandomSampler::RoundSize ( int  sz  )  const [inline, virtual]

Implements Sampler.

Definition at line 36 of file random.cpp.


Member Data Documentation

Definition at line 39 of file random.cpp.

int RandomSampler::xPos [private]

Definition at line 40 of file random.cpp.

Referenced by GetNextSample(), and RandomSampler().

int RandomSampler::yPos [private]

Definition at line 40 of file random.cpp.

Referenced by GetNextSample(), and RandomSampler().

Definition at line 40 of file random.cpp.

Referenced by GetNextSample(), and RandomSampler().

Definition at line 40 of file random.cpp.

Referenced by GetNextSample(), and RandomSampler().

float* RandomSampler::imageSamples [private]

Definition at line 41 of file random.cpp.

Referenced by GetNextSample(), RandomSampler(), and ~RandomSampler().

float * RandomSampler::lensSamples [private]

Definition at line 41 of file random.cpp.

Referenced by GetNextSample(), and RandomSampler().

float * RandomSampler::timeSamples [private]

Definition at line 41 of file random.cpp.

Referenced by GetNextSample(), and RandomSampler().

int RandomSampler::samplePos [private]

Definition at line 42 of file random.cpp.

Referenced by GetNextSample(), and RandomSampler().


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

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