lux::ERPTSampler Class Reference

#include <erpt.h>

Inheritance diagram for lux::ERPTSampler:
[legend]
Collaboration diagram for lux::ERPTSampler:
[legend]

List of all members.

Public Member Functions

 ERPTSampler (int totMutations, float microProb, float rng, Sampler *sampler)
virtual ~ERPTSampler ()
virtual ERPTSamplerclone () const
virtual void GetBufferType (BufferType *type)
virtual u_int GetTotalSamplePos ()
virtual int RoundSize (int size) const
virtual bool GetNextSample (Sample *sample, u_int *use_pos)
virtual float * GetLazyValues (Sample *sample, u_int num, u_int pos)
virtual void AddSample (const Sample &sample)
virtual bool IsMutating ()

Static Public Member Functions

static SamplerCreateSampler (const ParamSet &params, const Film *film)

Public Attributes

int normalSamples
int totalSamples
int totalTimes
int totalMutations
float pMicro
float range
SamplerbaseSampler
float * baseImage
float * sampleImage
float * currentImage
intbaseTimeImage
inttimeImage
intcurrentTimeImage
intoffset
int numChains
int chain
int mutation
int stamp
int numMicro
int posMicro
float baseLY
float quantum
float weight
float LY
float alpha
vector< ContributionoldContributions
vector< ContributionbaseContributions
double totalLY
double sampleCount

Detailed Description

Definition at line 35 of file erpt.h.


Constructor & Destructor Documentation

ERPTSampler::ERPTSampler ( int  totMutations,
float  microProb,
float  rng,
Sampler sampler 
)

Definition at line 66 of file erpt.cpp.

Referenced by clone(), and CreateSampler().

ERPTSampler::~ERPTSampler (  )  [virtual]

Definition at line 80 of file erpt.cpp.

References baseImage, baseSampler, baseTimeImage, lux::FreeAligned(), sampleImage, and timeImage.


Member Function Documentation

void ERPTSampler::AddSample ( const Sample sample  )  [virtual]
ERPTSampler * ERPTSampler::clone (  )  const [virtual]

Implements lux::Sampler.

Definition at line 89 of file erpt.cpp.

References baseSampler, lux::Sampler::clone(), ERPTSampler(), sampleImage, and totalSamples.

Sampler * ERPTSampler::CreateSampler ( const ParamSet params,
const Film film 
) [static]
virtual void lux::ERPTSampler::GetBufferType ( BufferType type  )  [inline, virtual]

Reimplemented from lux::Sampler.

Definition at line 42 of file erpt.h.

References lux::BUF_TYPE_PER_SCREEN.

float * ERPTSampler::GetLazyValues ( Sample sample,
u_int  num,
u_int  pos 
) [virtual]
bool ERPTSampler::GetNextSample ( Sample sample,
u_int use_pos 
) [virtual]
virtual u_int lux::ERPTSampler::GetTotalSamplePos (  )  [inline, virtual]

Implements lux::Sampler.

Definition at line 43 of file erpt.h.

References baseSampler, and lux::Sampler::GetTotalSamplePos().

virtual bool lux::ERPTSampler::IsMutating (  )  [inline, virtual]

Reimplemented from lux::Sampler.

Definition at line 51 of file erpt.h.

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

Implements lux::Sampler.

Definition at line 44 of file erpt.h.

References baseSampler, and lux::Sampler::RoundSize().


Member Data Documentation

Definition at line 59 of file erpt.h.

Definition at line 60 of file erpt.h.

Referenced by AddSample().

Definition at line 56 of file erpt.h.

Referenced by AddSample(), GetNextSample(), initERPT(), and ~ERPTSampler().

Definition at line 59 of file erpt.h.

Referenced by AddSample().

Definition at line 57 of file erpt.h.

Referenced by AddSample(), GetNextSample(), initERPT(), and ~ERPTSampler().

Definition at line 58 of file erpt.h.

Referenced by AddSample().

Definition at line 56 of file erpt.h.

Referenced by AddSample(), GetLazyValues(), and GetNextSample().

Definition at line 57 of file erpt.h.

Referenced by AddSample(), and GetNextSample().

Definition at line 59 of file erpt.h.

Referenced by AddSample().

Definition at line 58 of file erpt.h.

Referenced by AddSample(), GetNextSample(), and initERPT().

Definition at line 53 of file erpt.h.

Referenced by GetNextSample(), and initERPT().

Definition at line 58 of file erpt.h.

Referenced by AddSample().

Definition at line 58 of file erpt.h.

Referenced by GetLazyValues(), and GetNextSample().

Definition at line 57 of file erpt.h.

Referenced by GetLazyValues(), and initERPT().

Definition at line 60 of file erpt.h.

Referenced by AddSample().

Definition at line 54 of file erpt.h.

Referenced by GetNextSample().

Definition at line 58 of file erpt.h.

Referenced by GetLazyValues(), and GetNextSample().

Definition at line 59 of file erpt.h.

Referenced by AddSample().

Definition at line 54 of file erpt.h.

Referenced by CreateSampler(), and GetNextSample().

Definition at line 61 of file erpt.h.

Referenced by AddSample().

Definition at line 56 of file erpt.h.

Referenced by AddSample(), clone(), GetNextSample(), initERPT(), and ~ERPTSampler().

Definition at line 58 of file erpt.h.

Referenced by AddSample(), and GetNextSample().

Definition at line 57 of file erpt.h.

Referenced by AddSample(), initERPT(), and ~ERPTSampler().

Definition at line 61 of file erpt.h.

Referenced by AddSample().

Definition at line 53 of file erpt.h.

Referenced by AddSample().

Definition at line 53 of file erpt.h.

Referenced by AddSample(), clone(), and initERPT().

Definition at line 53 of file erpt.h.

Referenced by AddSample(), GetNextSample(), and initERPT().

Definition at line 59 of file erpt.h.

Referenced by AddSample().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208