StratifiedSampler Class Reference

#include <stratified.h>

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, float sopen, float sclose)
 ~StratifiedSampler ()
int RoundSize (int size) const
SamplerGetSubSampler (int num, int count)
int GetMoreSamples (Sample *sample, RNG &rng)
int MaximumSampleCount ()

Private Attributes

int xPixelSamples
int yPixelSamples
bool jitterSamples
int xPos
int yPos
float * sampleBuf

Detailed Description

Definition at line 36 of file stratified.h.


Constructor & Destructor Documentation

StratifiedSampler::StratifiedSampler ( int  xstart,
int  xend,
int  ystart,
int  yend,
int  xs,
int  ys,
bool  jitter,
float  sopen,
float  sclose 
)
StratifiedSampler::~StratifiedSampler (  ) 

Definition at line 46 of file stratified.cpp.

References sampleBuf.


Member Function Documentation

int StratifiedSampler::GetMoreSamples ( Sample sample,
RNG rng 
) [virtual]
Sampler * StratifiedSampler::GetSubSampler ( int  num,
int  count 
) [virtual]
int StratifiedSampler::MaximumSampleCount (  )  [inline, virtual]

Implements Sampler.

Definition at line 45 of file stratified.h.

References xPixelSamples, and yPixelSamples.

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

Implements Sampler.

Definition at line 42 of file stratified.h.


Member Data Documentation

Definition at line 49 of file stratified.h.

Referenced by GetMoreSamples(), GetSubSampler(), and StratifiedSampler().

float* StratifiedSampler::sampleBuf [private]

Definition at line 51 of file stratified.h.

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

Definition at line 48 of file stratified.h.

Referenced by GetMoreSamples(), GetSubSampler(), MaximumSampleCount(), and StratifiedSampler().

int StratifiedSampler::xPos [private]

Definition at line 50 of file stratified.h.

Referenced by GetMoreSamples(), and StratifiedSampler().

Definition at line 48 of file stratified.h.

Referenced by GetMoreSamples(), GetSubSampler(), MaximumSampleCount(), and StratifiedSampler().

int StratifiedSampler::yPos [private]

Definition at line 50 of file stratified.h.

Referenced by GetMoreSamples(), and StratifiedSampler().


The documentation for this class was generated from the following files:
Generated on Sat Aug 28 20:00:15 2010 for pbrt by  doxygen 1.6.3