BestCandidateSampler Class Reference

Inheritance diagram for BestCandidateSampler:

Sampler

List of all members.

Public Member Functions

 BestCandidateSampler (int xstart, int xend, int ystart, int yend, int pixelsamples)
 ~BestCandidateSampler ()
int RoundSize (int size) const
bool GetNextSample (Sample *sample)

Private Attributes

int tableOffset
float xTableCorner
float yTableCorner
float tableWidth
float ** oneDSamples
float ** twoDSamples
int * strat2D
float sampleOffsets [3]

Static Private Attributes

static const float sampleTable [SAMPLE_TABLE_SIZE][5]


Detailed Description

Definition at line 33 of file bestcandidate.cpp.


Constructor & Destructor Documentation

BestCandidateSampler::BestCandidateSampler ( int  xstart,
int  xend,
int  ystart,
int  yend,
int  pixelsamples 
)

BestCandidateSampler::~BestCandidateSampler (  )  [inline]

Definition at line 39 of file bestcandidate.cpp.

References oneDSamples, strat2D, and twoDSamples.


Member Function Documentation

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

Implements Sampler.

Definition at line 45 of file bestcandidate.cpp.

References Ceil2Int().

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


Member Data Documentation

Definition at line 52 of file bestcandidate.cpp.

Referenced by BestCandidateSampler(), and GetNextSample().

Definition at line 53 of file bestcandidate.cpp.

Referenced by BestCandidateSampler(), and GetNextSample().

Definition at line 53 of file bestcandidate.cpp.

Referenced by BestCandidateSampler(), and GetNextSample().

Definition at line 53 of file bestcandidate.cpp.

Referenced by BestCandidateSampler(), and GetNextSample().

const float BestCandidateSampler::sampleTable [static, private]

Definition at line 54 of file bestcandidate.cpp.

Referenced by GetNextSample().

Definition at line 55 of file bestcandidate.cpp.

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

Definition at line 55 of file bestcandidate.cpp.

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

Definition at line 56 of file bestcandidate.cpp.

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

Definition at line 57 of file bestcandidate.cpp.

Referenced by GetNextSample().


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

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