sampling.h File Reference

#include "lux.h"
#include "film.h"
#include "color.h"
#include "memory.h"

Go to the source code of this file.

Classes

class  lux::Sample
class  lux::Sample::Sample::Contribution
class  lux::Sampler
class  lux::SampleGuard
struct  lux::PxLoc
class  lux::PixelSampler

Namespaces

namespace  lux

Enumerations

enum  lux::SamplingType {
  lux::SAMPLING_DIRECT = 1 << 0, lux::SAMPLING_INDIRECT = 1 << 1, lux::SAMPLING_EYETOLIGHT = 1 << 2, lux::SAMPLING_LIGHTTOEYE = 1 << 3,
  lux::SAMPLING_ALL = (1 << 4) - 1
}

Functions

void lux::StratifiedSample1D (float *samp, int nSamples, bool jitter)
void lux::StratifiedSample2D (float *samp, int nx, int ny, bool jitter)
void lux::Shuffle (float *samp, int count, int dims)
void lux::LatinHypercube (float *samples, int nSamples, int nDim)
double lux::RadicalInverse (int n, int base)
double lux::FoldedRadicalInverse (int n, int base)
float lux::VanDerCorput (u_int n, u_int scramble=0)
float lux::Sobol2 (u_int n, u_int scramble=0)
float lux::LarcherPillichshammer2 (u_int n, u_int scramble=0)
float lux::Halton (u_int n, u_int scramble=0)
float lux::Halton2 (u_int n, u_int scramble=0)
void lux::SampleHalton (u_int n, u_int scramble[2], float sample[2])
void lux::Sample02 (u_int n, u_int scramble[2], float sample[2])
void lux::LDShuffleScrambled1D (int nSamples, int nPixel, float *samples)
void lux::LDShuffleScrambled2D (int nSamples, int nPixel, float *samples)
void lux::HaltonShuffleScrambled1D (int nSamples, int nPixel, float *samples)
void lux::HaltonShuffleScrambled2D (int nSamples, int nPixel, float *samples)


Generated on Mon May 18 07:16:35 2009 for lux by  doxygen 1.5.8