Compute points of the Halton sequence with digit-permutations for different bases.
More...
#include <OpenGl_HaltonSampler.hxx>
|
| OpenGl_HaltonSampler () |
| Init the permutation arrays using Faure-permutations. More...
|
|
float | sample (unsigned theDimension, unsigned theIndex) const |
| Return the Halton sample for the given dimension (component) and index. The client must have called initFaure() at least once before. dimension must be smaller than the value returned by get_num_dimensions(). More...
|
|
Compute points of the Halton sequence with digit-permutations for different bases.
◆ OpenGl_HaltonSampler()
OpenGl_HaltonSampler::OpenGl_HaltonSampler |
( |
| ) |
|
|
inline |
Init the permutation arrays using Faure-permutations.
◆ get_num_dimensions()
static unsigned OpenGl_HaltonSampler::get_num_dimensions |
( |
| ) |
|
|
inlinestatic |
Return the number of supported dimensions.
◆ sample()
float OpenGl_HaltonSampler::sample |
( |
unsigned |
theDimension, |
|
|
unsigned |
theIndex |
|
) |
| const |
|
inline |
Return the Halton sample for the given dimension (component) and index. The client must have called initFaure() at least once before. dimension must be smaller than the value returned by get_num_dimensions().
The documentation for this class was generated from the following file: