#include <lowdiscrepancypx.h>
Public Member Functions | |
LowdiscrepancyPixelSampler (int xstart, int xend, int ystart, int yend) | |
virtual | ~LowdiscrepancyPixelSampler () |
virtual u_int | GetTotalPixels () |
virtual bool | GetNextPixel (int &xPos, int &yPos, u_int *use_pos) |
Private Attributes | |
u_int | TotalPx |
u_int | pixelCounter |
int | xPixelStart |
int | yPixelStart |
int | xPixelEnd |
int | yPixelEnd |
u_int | xSeed |
u_int | ySeed |
Definition at line 32 of file lowdiscrepancypx.h.
LowdiscrepancyPixelSampler::LowdiscrepancyPixelSampler | ( | int | xstart, | |
int | xend, | |||
int | ystart, | |||
int | yend | |||
) |
Definition at line 30 of file lowdiscrepancypx.cpp.
References pixelCounter, TotalPx, lux::random::uintValueP(), xPixelEnd, xPixelStart, xSeed, yPixelEnd, yPixelStart, and ySeed.
virtual lux::LowdiscrepancyPixelSampler::~LowdiscrepancyPixelSampler | ( | ) | [inline, virtual] |
Definition at line 37 of file lowdiscrepancypx.h.
Implements lux::PixelSampler.
Definition at line 50 of file lowdiscrepancypx.cpp.
References Floor2Int(), pixelCounter, lux::Sobol2(), TotalPx, lux::VanDerCorput(), xPixelEnd, xPixelStart, xSeed, yPixelEnd, yPixelStart, and ySeed.
u_int LowdiscrepancyPixelSampler::GetTotalPixels | ( | ) | [virtual] |
Implements lux::PixelSampler.
Definition at line 43 of file lowdiscrepancypx.cpp.
References cimg_library::cimg::max().
Definition at line 47 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
Definition at line 45 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
Definition at line 49 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
Definition at line 49 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
u_int lux::LowdiscrepancyPixelSampler::xSeed [private] |
Definition at line 50 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
Definition at line 49 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
Definition at line 49 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
u_int lux::LowdiscrepancyPixelSampler::ySeed [private] |
Definition at line 50 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().