#include <erpt.h>
Definition at line 35 of file erpt.h.
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.
void ERPTSampler::AddSample | ( | const Sample & | sample | ) | [virtual] |
Reimplemented from lux::Sampler.
Definition at line 217 of file erpt.cpp.
References lux::ContributionBuffer::Add(), lux::ContributionBuffer::AddSampleCount(), baseContributions, baseImage, baseLY, baseTimeImage, chain, lux::Sampler::contribBuffer, lux::Scene::contribPool, lux::Sample::contributions, currentImage, currentTimeImage, lux::Sampler::film, lux::RandomGenerator::floatValue(), Floor2Int(), lux::Sample::imageX, lux::Sample::imageY, lux::Sample::lensU, lux::Sample::lensV, LY, cimg_library::cimg::max(), cimg_library::cimg::min(), mutation, lux::ContributionPool::Next(), numChains, oldContributions, lux::Sample::oneD, quantum, lux::TsPack::rng, SAMPLE_FLOATS, sampleCount, sampleImage, lux::Film::scene, lux::Sample::singleWavelength, lux::Sample::stamp, stamp, lux::Sample::time, timeImage, lux::Sample::timexD, totalLY, totalMutations, totalSamples, totalTimes, lux::Sampler::tspack, lux::Sample::wavelengths, and weight.
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.
Definition at line 344 of file erpt.cpp.
References ERPTSampler(), lux::ParamSet::FindOneFloat(), lux::ParamSet::FindOneInt(), lux::ParamSet::FindOneString(), lux::Film::GetSampleExtent(), LUX_SEVERE, LUX_SYSTEM, luxError, lux::MakeSampler(), and range.
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.
Reimplemented from lux::Sampler.
Definition at line 191 of file erpt.cpp.
References baseSampler, currentImage, lux::Sample::dxD, lux::RandomGenerator::floatValue(), lux::Sampler::GetLazyValues(), mutate(), numMicro, offset, posMicro, lux::TsPack::rng, lux::Sample::stamp, cimg_library::cimg::time(), lux::Sample::timexD, lux::Sampler::tspack, and lux::Sample::xD.
Implements lux::Sampler.
Definition at line 127 of file erpt.cpp.
References baseImage, baseSampler, baseTimeImage, currentImage, currentTimeImage, lux::Film::enoughSamplePerPixel, lux::Sampler::film, Float2Int(), lux::RandomGenerator::floatValue(), lux::Sampler::GetNextSample(), lux::Sample::imageX, lux::Sample::imageY, initERPT(), lux::Sample::lensU, lux::Sample::lensV, mutate(), mutateScaled(), mutation, normalSamples, numMicro, lux::Sample::nxD, lux::Sample::oneD, pMicro, posMicro, range, lux::TsPack::rng, SAMPLE_FLOATS, sampleImage, lux::Sample::sampler, lux::Sample::singleWavelength, stamp, lux::Sample::stamp, lux::Sample::time, lux::Sample::timexD, totalTimes, lux::Sampler::tspack, lux::Sample::wavelengths, lux::Sampler::xPixelEnd, lux::Sampler::xPixelStart, lux::Sampler::yPixelEnd, and lux::Sampler::yPixelStart.
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.
Implements lux::Sampler.
Definition at line 44 of file erpt.h.
References baseSampler, and lux::Sampler::RoundSize().
float lux::ERPTSampler::alpha |
Definition at line 60 of file erpt.h.
Referenced by AddSample().
float* lux::ERPTSampler::baseImage |
Definition at line 56 of file erpt.h.
Referenced by AddSample(), GetNextSample(), initERPT(), and ~ERPTSampler().
float lux::ERPTSampler::baseLY |
Definition at line 59 of file erpt.h.
Referenced by AddSample().
Definition at line 55 of file erpt.h.
Referenced by clone(), GetLazyValues(), GetNextSample(), GetTotalSamplePos(), initERPT(), RoundSize(), and ~ERPTSampler().
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().
float * lux::ERPTSampler::currentImage |
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().
float lux::ERPTSampler::LY |
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().
float lux::ERPTSampler::pMicro |
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().
float lux::ERPTSampler::range |
Definition at line 54 of file erpt.h.
Referenced by CreateSampler(), and GetNextSample().
Definition at line 61 of file erpt.h.
Referenced by AddSample().
float * lux::ERPTSampler::sampleImage |
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().
double lux::ERPTSampler::totalLY |
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().
float lux::ERPTSampler::weight |
Definition at line 59 of file erpt.h.
Referenced by AddSample().