#include <multijitter.h>
|
enum | Ordering { kXY,
kRandom
} |
|
|
| MJSampler (const uint32 seed=0) |
|
template<typename T > |
void | sample (const uint32 samples_x, const uint32 samples_y, Vector< T, 2 > *samples, Ordering ordering=kRandom) |
|
template<typename T > |
void | sample (const uint32 samples_x, const uint32 samples_y, Vector< T, 3 > *samples) |
|
template<typename T > |
void | sample (const uint32 samples_x, const uint32 samples_y, Vector< T, 4 > *samples, Ordering ordering=kRandom) |
|
◆ MJSampler()
cugar::MJSampler::MJSampler |
( |
const uint32 |
seed = 0 | ) |
|
|
inline |
◆ sample() [1/3]
template<typename T >
void cugar::MJSampler::sample |
( |
const uint32 |
samples_x, |
|
|
const uint32 |
samples_y, |
|
|
Vector< T, 2 > * |
samples, |
|
|
Ordering |
ordering = kRandom |
|
) |
| |
get a set of 2d stratified samples
◆ sample() [2/3]
template<typename T >
void cugar::MJSampler::sample |
( |
const uint32 |
samples_x, |
|
|
const uint32 |
samples_y, |
|
|
Vector< T, 3 > * |
samples |
|
) |
| |
get a set of 3d stratified samples the first 2 dimensions are multi-jittered, the third one is selected with latin hypercube sampliing wrt the first 2.
◆ sample() [3/3]
template<typename T >
void cugar::MJSampler::sample |
( |
const uint32 |
samples_x, |
|
|
const uint32 |
samples_y, |
|
|
Vector< T, 4 > * |
samples, |
|
|
Ordering |
ordering = kRandom |
|
) |
| |
get a set of 4d stratified samples
The documentation for this struct was generated from the following files:
- C:/p4research/research/jpantaleoni/Fermat-Public/contrib/cugar/sampling/multijitter.h
- C:/p4research/research/jpantaleoni/Fermat-Public/contrib/cugar/sampling/multijitter_inline.h