Classes | |
class | RandomGenerator |
Functions | |
void | init (int tn) |
float | floatValue () |
unsigned long | uintValue () |
float | floatValueP () |
unsigned long | uintValueP () |
Variables | |
boost::thread_specific_ptr < RandomGenerator > | myGen |
static const float | invUI = ((float)1.0/(float)4294967296.0) |
static RandomGenerator * | PGen |
float lux::random::floatValue | ( | ) | [inline] |
Definition at line 130 of file randomgen.h.
Referenced by lux::MetropolisSampler::AddSample(), lux::Metropolis::AddSample(), lux::ERPTSampler::AddSample(), BestCandidate2D(), lux::BidirIntegrator::generatePath(), lux::RandomSampler::GetLazyValues(), lux::MetropolisSampler::GetLazyValues(), lux::ERPTSampler::GetLazyValues(), lux::RandomPixelSampler::GetNextPixel(), lux::RandomSampler::GetNextSample(), lux::MetropolisSampler::GetNextSample(), lux::Metropolis::GetNextSample(), lux::LDSampler::GetNextSample(), lux::HaltonSampler::GetNextSample(), lux::ERPTSampler::GetNextSample(), lux::IrradianceCache::IndirectLo(), lux::SingleScattering::Li(), lux::ParticleTracingIntegrator::Li(), lux::MLTPathIntegrator::Li(), lux::IGIIntegrator::Li(), lux::EmissionIntegrator::Li(), main(), lux::MetroSample::mutate(), mutate(), mutateScaled(), lux::PhotonIntegrator::Preprocess(), lux::IGIIntegrator::Preprocess(), lux::ExPhotonIntegrator::Preprocess(), readLittleEndianFloat(), lux::RejectionSampleDisk(), lux::ShapeSet::Sample(), lux::BSDF::Sample_f(), lux::SunLight::Sample_L(), lux::SkyLight::Sample_L(), lux::InfiniteAreaLightIS::Sample_L(), lux::InfiniteAreaLight::Sample_L(), lux::AreaLight::Sample_L(), lux::VisibilityTester::TestOcclusion(), lux::SingleScattering::Transmittance(), lux::EmissionIntegrator::Transmittance(), lux::MetroSample::value(), and writeLittleEndianFloat().
float lux::random::floatValueP | ( | ) | [inline] |
Definition at line 139 of file randomgen.h.
References invUI, lux::random::RandomGenerator::nobuf_generateUInt(), PGen, and lux::random::RandomGenerator::taus113_set().
Referenced by lux::VegasPixelSampler::VegasPixelSampler().
void lux::random::init | ( | int | tn | ) | [inline] |
Definition at line 122 of file randomgen.h.
References myGen.
Referenced by cimg_library::CImg< T >::_draw_scanline(), cimg_library::CImg< T >::display_object3d(), lux::Scene::Render(), and lux::RenderThread::render().
unsigned long lux::random::uintValue | ( | ) | [inline] |
Definition at line 133 of file randomgen.h.
References myGen.
Referenced by lux::HaltonShuffleScrambled1D(), lux::HaltonShuffleScrambled2D(), lux::IrradianceCache::IndirectLo(), lux::LDShuffleScrambled1D(), lux::LDShuffleScrambled2D(), lux::Lafortune::Sample_f(), and lux::CookTorrance::Sample_f().
unsigned long lux::random::uintValueP | ( | ) | [inline] |
Definition at line 146 of file randomgen.h.
References lux::random::RandomGenerator::nobuf_generateUInt(), PGen, and lux::random::RandomGenerator::taus113_set().
Referenced by lux::LowdiscrepancyPixelSampler::LowdiscrepancyPixelSampler().
static const float lux::random::invUI = ((float)1.0/(float)4294967296.0) [static] |
Definition at line 121 of file luxlex.l.
Referenced by floatValue(), and floatValueP().
boost::thread_specific_ptr< RandomGenerator > lux::random::myGen |
Definition at line 118 of file randomgen.h.
Referenced by floatValue(), init(), and uintValue().
static RandomGenerator * lux::random::PGen [static] |
Definition at line 138 of file luxlex.l.
Referenced by floatValueP(), and uintValueP().