Classes | |
class | Sampler |
The basis class for sampler models. More... | |
class | Sampler |
The basis class for sampler models. More... | |
Functions | |
uint32 | Sampler::sample_number_1d () |
uint32 | Sampler::sample_number_2d () |
uint32 | Sampler::sample_number_3d () |
uint32 | Sampler::memory () |
bool | Sampler::is_ok () |
virtual uint32 | Sampler::generate_1d (uint32 size, float *array)=0 |
virtual uint32 | Sampler::generate_2d (uint32 size, vec2 *array)=0 |
virtual uint32 | Sampler::generate_3d (uint32 size, vec3 *array)=0 |
Variables | |
uint32 | Sampler::_memory_used |
bool | Sampler::_ok |
uint32 | Sampler::_sample1d |
uint32 | Sampler::_sample2d |
uint32 | Sampler::_sample3d |
Sampler describes the projection type of the view. Usual projection are planar, perspective and fish-eye. If you want to render an image taken with an EOS 100, you have to create a corresponding Sampler.
virtual uint32 Sampler::generate_1d | ( | uint32 | size, | |
float * | array | |||
) | [pure virtual, inherited] |
Generates samples in 1D.
size | the samples array size. array the resulting samples array. |
virtual uint32 Sampler::generate_2d | ( | uint32 | size, | |
vec2 * | array | |||
) | [pure virtual, inherited] |
Generates samples in 2D.
size | the samples array size. array the resulting samples array. |
virtual uint32 Sampler::generate_3d | ( | uint32 | size, | |
vec3 * | array | |||
) | [pure virtual, inherited] |
Generates samples in 3D.
size | the samples array size. array the resulting samples array. |
uint32 Sampler::sample_number_1d | ( | ) | [inline, inherited] |
Returns the sample number in case of 1D sampling.
uint32 Sampler::sample_number_2d | ( | ) | [inline, inherited] |
Returns the sample number in case of 2D sampling.
uint32 Sampler::sample_number_3d | ( | ) | [inline, inherited] |
Returns the sample number in case of 3D sampling.