PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Public Attributes | Protected Attributes | List of all members
pic::MRSamplers< N > Class Template Reference

The MRSamplers class. More...

#include <sampler_random_m.hpp>

Public Member Functions

 MRSamplers ()
 MRSamplers. More...
 
 MRSamplers (SAMPLER_TYPE type, Vec< N, int > window, int nSamples, int nLevels, int nSamplers)
 MRSamplers. More...
 
bool update (Vec< N, int > window, int nSamples)
 update More...
 
RandomSampler< N > * getSampler (std::mt19937 *m)
 getSampler gets a sampler at a given level More...
 
bool Write (std::string name)
 Write saves into an existing file. More...
 
bool Read (std::string name)
 Read. More...
 

Public Attributes

int nLevels
 

Protected Attributes

RandomSampler< N > ** samplers
 
int nSamplers
 
int oldSamples
 
Vec< N, int > oldWindow
 
SAMPLER_TYPE type
 

Detailed Description

template<unsigned int N>
class pic::MRSamplers< N >

The MRSamplers class.

Constructor & Destructor Documentation

◆ MRSamplers() [1/2]

template<unsigned int N>
pic::MRSamplers< N >::MRSamplers ( )

◆ MRSamplers() [2/2]

template<unsigned int N>
pic::MRSamplers< N >::MRSamplers ( SAMPLER_TYPE  type,
Vec< N, int >  window,
int  nSamples,
int  nLevels,
int  nSamplers 
)

MRSamplers.

Parameters
type
window
nSamples
nLevels
nSamplers

Member Function Documentation

◆ getSampler()

template<unsigned int N>
RandomSampler<N>* pic::MRSamplers< N >::getSampler ( std::mt19937 *  m)

getSampler gets a sampler at a given level

Parameters
m
Returns

◆ Read()

template<unsigned int N>
bool pic::MRSamplers< N >::Read ( std::string  name)

Read.

Parameters
name
Returns

◆ update()

template<unsigned int N>
bool pic::MRSamplers< N >::update ( Vec< N, int >  window,
int  nSamples 
)

update

Parameters
window
nSamples
Returns

◆ Write()

template<unsigned int N>
bool pic::MRSamplers< N >::Write ( std::string  name)

Write saves into an existing file.

Parameters
name
Returns

Member Data Documentation

◆ nLevels

template<unsigned int N>
int pic::MRSamplers< N >::nLevels

◆ nSamplers

template<unsigned int N>
int pic::MRSamplers< N >::nSamplers
protected

◆ oldSamples

template<unsigned int N>
int pic::MRSamplers< N >::oldSamples
protected

◆ oldWindow

template<unsigned int N>
Vec<N, int> pic::MRSamplers< N >::oldWindow
protected

◆ samplers

template<unsigned int N>
RandomSampler<N>** pic::MRSamplers< N >::samplers
protected

◆ type

template<unsigned int N>
SAMPLER_TYPE pic::MRSamplers< N >::type
protected

The documentation for this class was generated from the following file: