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

The MRSamplersGL class. More...

#include <sampler_random_m.hpp>

Inheritance diagram for pic::MRSamplersGL< N >:
pic::pic::MRSamplers< N >

Public Member Functions

 MRSamplersGL (SAMPLER_TYPE type, Vec< N, int > window, int nSamples, int nLevels, int nSamplers)
 MRSamplersGL. More...
 
void updateGL (Vec< N, int > window, int nSamples)
 updateGL More...
 
GLuint getTexture ()
 getTexture More...
 
ImageGLgetImage ()
 getImage More...
 
ImageGLgetImageLevelsR ()
 getImageLevelsR More...
 
GLuint generateTexture ()
 generateTexture More...
 
GLuint getLevelsRTexture ()
 getLevelsRTexture More...
 
GLuint generateLevelsRTexture ()
 generateLevelsRTexture More...
 
- Public Member Functions inherited from pic::pic::MRSamplers< N >
 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 nSamples
 
- Public Attributes inherited from pic::pic::MRSamplers< N >
int nLevels
 

Protected Attributes

GLuint texture
 
GLuint levelsRtexture
 
int width
 
int height
 
- Protected Attributes inherited from pic::pic::MRSamplers< N >
RandomSampler< N > ** samplers
 
int nSamplers
 
int oldSamples
 
Vec< N, int > oldWindow
 
SAMPLER_TYPE type
 

Detailed Description

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

The MRSamplersGL class.

Constructor & Destructor Documentation

◆ MRSamplersGL()

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

MRSamplersGL.

Parameters
type
window
nSamples
nLevels
nSamplers

Member Function Documentation

◆ generateLevelsRTexture()

template<unsigned int N>
GLuint pic::MRSamplersGL< N >::generateLevelsRTexture ( )

generateLevelsRTexture

Returns

◆ generateTexture()

template<unsigned int N>
GLuint pic::MRSamplersGL< N >::generateTexture ( )

generateTexture

Returns

◆ getImage()

template<unsigned int N>
ImageGL* pic::MRSamplersGL< N >::getImage ( )
inline

getImage

Returns

◆ getImageLevelsR()

template<unsigned int N>
ImageGL* pic::MRSamplersGL< N >::getImageLevelsR ( )
inline

getImageLevelsR

Returns

◆ getLevelsRTexture()

template<unsigned int N>
GLuint pic::MRSamplersGL< N >::getLevelsRTexture ( )
inline

getLevelsRTexture

Returns

◆ getTexture()

template<unsigned int N>
GLuint pic::MRSamplersGL< N >::getTexture ( )
inline

getTexture

Returns

◆ updateGL()

template<unsigned int N>
void pic::MRSamplersGL< N >::updateGL ( Vec< N, int >  window,
int  nSamples 
)

updateGL

Parameters
window
nSamples

Member Data Documentation

◆ height

template<unsigned int N>
int pic::MRSamplersGL< N >::height
protected

◆ levelsRtexture

template<unsigned int N>
GLuint pic::MRSamplersGL< N >::levelsRtexture
protected

◆ nSamples

template<unsigned int N>
int pic::MRSamplersGL< N >::nSamples

◆ texture

template<unsigned int N>
GLuint pic::MRSamplersGL< N >::texture
protected

◆ width

template<unsigned int N>
int pic::MRSamplersGL< N >::width
protected

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