#include <lowdiscrepancypx.h>
Public Member Functions | |
| LowdiscrepancyPixelSampler (int xstart, int xend, int ystart, int yend) | |
| ~LowdiscrepancyPixelSampler () | |
| u_int | GetTotalPixels () |
| 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.
| lux::LowdiscrepancyPixelSampler::~LowdiscrepancyPixelSampler | ( | ) | [inline] |
Definition at line 37 of file lowdiscrepancypx.h.
| bool LowdiscrepancyPixelSampler::GetNextPixel | ( | int & | xPos, | |
| int & | yPos, | |||
| u_int * | use_pos | |||
| ) | [virtual] |
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().
int lux::LowdiscrepancyPixelSampler::xPixelEnd [private] |
Definition at line 49 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
int lux::LowdiscrepancyPixelSampler::xPixelStart [private] |
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().
int lux::LowdiscrepancyPixelSampler::yPixelEnd [private] |
Definition at line 49 of file lowdiscrepancypx.h.
Referenced by GetNextPixel(), and LowdiscrepancyPixelSampler().
int lux::LowdiscrepancyPixelSampler::yPixelStart [private] |
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().
1.5.9