PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pic::FilterGLReinhardSinglePass Class Reference

The FilterGLReinhardSinglePass class. More...

#include <filter_reinhard_single_pass.hpp>

Inheritance diagram for pic::FilterGLReinhardSinglePass:
pic::pic::FilterGL

Public Member Functions

 FilterGLReinhardSinglePass (float alpha, float phi)
 FilterGLReinhardSinglePass. More...
 
 ~FilterGLReinhardSinglePass ()
 
void releaseAux ()
 releaseAux More...
 
void update (float sigma_s, float sigma_r, float Lwa)
 update More...
 
- Public Member Functions inherited from pic::pic::FilterGL
 FilterGL ()
 FilterGL. More...
 
 ~FilterGL ()
 
void release ()
 release More...
 
void setFbo (Fbo *fbo)
 setFbo More...
 
virtual FbogetFbo ()
 getFbo More...
 
virtual void OutputSize (ImageGLVec imgIn, int &width, int &height, int &channels, int &frames)
 OutputSize. More...
 
void insertFilter (FilterGL *flt)
 insertFilter More...
 
void setTarget (GLenum target)
 setTarget More...
 
virtual void changePass (int pass, int tPass)
 changePass More...
 
virtual ImageGLsetupAux (ImageGLVec imgIn, ImageGL *imgOut)
 setupAux More...
 
ImageGLallocateOutputMemory (ImageGLVec imgIn, ImageGL *imgOut, bool bDelete)
 allocateOutputMemory More...
 
virtual void bindTechnique ()
 
virtual void unbindTechnique ()
 
virtual ImageGLProcess (ImageGLVec imgIn, ImageGL *imgOut)
 Process. More...
 

Public Attributes

float Lwa
 
- Public Attributes inherited from pic::pic::FilterGL
bool bDelete
 
std::vector< FilterGL *> filters
 
std::string vertex_source
 
std::string geometry_source
 
std::string fragment_source
 

Protected Member Functions

void initShaders ()
 
void FragmentShader ()
 

Protected Attributes

float sigma_s
 
float sigma_r
 
float sigmoid_constant
 
MRSamplersGL< 2 > * ms
 
float alpha
 
ImageGLimageRand
 
- Protected Attributes inherited from pic::pic::FilterGL
Fbofbo
 
QuadGLquad
 
TechniqueGL technique
 
GLenum target
 
ImageGLVec param
 
bool bFboOwn
 

Additional Inherited Members

- Static Public Member Functions inherited from pic::pic::FilterGL
static std::string gammaCorrection (std::string fragment_source, bool bGammaCorrection)
 gammaCorrection More...
 

Detailed Description

The FilterGLReinhardSinglePass class.

Constructor & Destructor Documentation

◆ FilterGLReinhardSinglePass()

pic::FilterGLReinhardSinglePass::FilterGLReinhardSinglePass ( float  alpha,
float  phi 
)

FilterGLReinhardSinglePass.

Parameters
sigma_s
sigma_r
type

◆ ~FilterGLReinhardSinglePass()

pic::FilterGLReinhardSinglePass::~FilterGLReinhardSinglePass ( )

Member Function Documentation

◆ FragmentShader()

void pic::FilterGLReinhardSinglePass::FragmentShader ( )
protected

◆ initShaders()

void pic::FilterGLReinhardSinglePass::initShaders ( )
protected

◆ releaseAux()

void pic::FilterGLReinhardSinglePass::releaseAux ( )
inlinevirtual

releaseAux

Reimplemented from pic::pic::FilterGL.

◆ update()

void pic::FilterGLReinhardSinglePass::update ( float  sigma_s,
float  sigma_r,
float  Lwa 
)

update

Parameters
sigma_s
sigma_r

Member Data Documentation

◆ alpha

float pic::FilterGLReinhardSinglePass::alpha
protected

◆ imageRand

ImageGL* pic::FilterGLReinhardSinglePass::imageRand
protected

◆ Lwa

float pic::FilterGLReinhardSinglePass::Lwa

◆ ms

MRSamplersGL<2>* pic::FilterGLReinhardSinglePass::ms
protected

◆ sigma_r

float pic::FilterGLReinhardSinglePass::sigma_r
protected

◆ sigma_s

float pic::FilterGLReinhardSinglePass::sigma_s
protected

◆ sigmoid_constant

float pic::FilterGLReinhardSinglePass::sigmoid_constant
protected

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