StratifiedSampler Class Reference

Inheritance diagram for StratifiedSampler:

Sampler

List of all members.

Public Member Functions

 StratifiedSampler (int xstart, int xend, int ystart, int yend, int xs, int ys, bool jitter)
int RoundSize (int size) const
 ~StratifiedSampler ()
bool GetNextSample (Sample *sample)

Private Attributes

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


Detailed Description

Definition at line 29 of file stratified.cpp.


Constructor & Destructor Documentation

StratifiedSampler::StratifiedSampler ( int  xstart,
int  xend,
int  ystart,
int  yend,
int  xs,
int  ys,
bool  jitter 
)

StratifiedSampler::~StratifiedSampler (  )  [inline]

Definition at line 38 of file stratified.cpp.

References FreeAligned(), and imageSamples.


Member Function Documentation

int StratifiedSampler::RoundSize ( int  size  )  const [inline, virtual]

Implements Sampler.

Definition at line 35 of file stratified.cpp.

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


Member Data Documentation

Definition at line 44 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().

Definition at line 44 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().

Definition at line 45 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().

int StratifiedSampler::xPos [private]

Definition at line 46 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().

int StratifiedSampler::yPos [private]

Definition at line 46 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().

Definition at line 47 of file stratified.cpp.

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

float * StratifiedSampler::lensSamples [private]

Definition at line 47 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().

float * StratifiedSampler::timeSamples [private]

Definition at line 47 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().

Definition at line 48 of file stratified.cpp.

Referenced by GetNextSample(), and StratifiedSampler().


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

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