sampling.h File Reference

#include "lux.h"
#include "memory.h"
#include "randomgen.h"
#include "contribution.h"
#include "film.h"
Include dependency graph for sampling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lux::Sample
class  lux::Sampler
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 (const TsPack *tspack, float *samp, int nSamples, bool jitter)
void lux::StratifiedSample2D (const TsPack *tspack, float *samp, int nx, int ny, bool jitter)
void lux::Shuffle (const TsPack *tspack, float *samp, int count, int dims)
void lux::LatinHypercube (const TsPack *tspack, 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 (const TsPack *tspack, int nSamples, int nPixel, float *samples)
void lux::LDShuffleScrambled2D (const TsPack *tspack, int nSamples, int nPixel, float *samples)
void lux::HaltonShuffleScrambled1D (const TsPack *tspack, int nSamples, int nPixel, float *samples)
void lux::HaltonShuffleScrambled2D (const TsPack *tspack, int nSamples, int nPixel, float *samples)
Generated by  doxygen 1.6.2-20100208