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

The FilterGLScatter class implement the bilateral grid approximation of the bilateral filter. More...

#include <display.hpp>

Inheritance diagram for pic::pic::FilterGLScatter:
pic::pic::FilterGL

Public Member Functions

 FilterGLScatter (float s_S, float s_R, int width, int height)
 FilterGLScatter. More...
 
 ~FilterGLScatter ()
 
void releaseAux ()
 releaseAux More...
 
void update (float s_S, float s_R)
 update More...
 
ImageGLProcess (ImageGLVec imgIn, ImageGL *imgOut)
 Process. 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 ()
 

Protected Member Functions

void generateVertexArray (int width, int height)
 generateVertexArray More...
 
void initShaders ()
 initShaders More...
 
void FragmentShader ()
 FragmentShader. More...
 

Protected Attributes

GLfloat * vertex_array
 
int nVertex_array
 
GLuint vbo
 
GLuint vao
 
float s_S
 
float s_R
 
float mul_E
 
- 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...
 
- 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
 

Detailed Description

The FilterGLScatter class implement the bilateral grid approximation of the bilateral filter.

Constructor & Destructor Documentation

◆ FilterGLScatter()

PIC_INLINE pic::pic::FilterGLScatter::FilterGLScatter ( float  s_S,
float  s_R,
int  width,
int  height 
)

FilterGLScatter.

Parameters
s_S
s_R
width
height

◆ ~FilterGLScatter()

PIC_INLINE pic::pic::FilterGLScatter::~FilterGLScatter ( )

Member Function Documentation

◆ FragmentShader()

PIC_INLINE void pic::pic::FilterGLScatter::FragmentShader ( )
protected

FragmentShader.

◆ generateVertexArray()

PIC_INLINE void pic::pic::FilterGLScatter::generateVertexArray ( int  width,
int  height 
)
protected

generateVertexArray

Parameters
width
height

◆ initShaders()

PIC_INLINE void pic::pic::FilterGLScatter::initShaders ( )
protected

initShaders

◆ Process()

PIC_INLINE ImageGL * pic::pic::FilterGLScatter::Process ( ImageGLVec  imgIn,
ImageGL imgOut 
)
virtual

Process.

Parameters
imgIn
imgOut
Returns

Reimplemented from pic::pic::FilterGL.

◆ releaseAux()

void pic::pic::FilterGLScatter::releaseAux ( )
inlinevirtual

releaseAux

Reimplemented from pic::pic::FilterGL.

◆ update()

PIC_INLINE void pic::pic::FilterGLScatter::update ( float  s_S,
float  s_R 
)

update

Parameters
s_S
s_R

Member Data Documentation

◆ mul_E

float pic::pic::FilterGLScatter::mul_E
protected

◆ nVertex_array

int pic::pic::FilterGLScatter::nVertex_array
protected

◆ s_R

float pic::pic::FilterGLScatter::s_R
protected

◆ s_S

float pic::pic::FilterGLScatter::s_S
protected

◆ vao

GLuint pic::pic::FilterGLScatter::vao
protected

◆ vbo

GLuint pic::pic::FilterGLScatter::vbo
protected

◆ vertex_array

GLfloat* pic::pic::FilterGLScatter::vertex_array
protected

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