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

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

#include <filter_scatter.hpp>

Inheritance diagram for 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 ()
 
virtual ImageGLProcess (ImageGLVec imgIn, ImageGL *imgOut)
 Process. More...
 

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::FilterGLScatter::FilterGLScatter ( float  s_S,
float  s_R,
int  width,
int  height 
)

FilterGLScatter.

Parameters
s_S
s_R
width
height

◆ ~FilterGLScatter()

pic::FilterGLScatter::~FilterGLScatter ( )

Member Function Documentation

◆ FragmentShader()

void pic::FilterGLScatter::FragmentShader ( )
protected

FragmentShader.

◆ generateVertexArray()

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

generateVertexArray

Parameters
width
height

◆ initShaders()

void pic::FilterGLScatter::initShaders ( )
protected

initShaders

◆ Process()

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

Process.

Parameters
imgIn
imgOut
Returns

◆ releaseAux()

void pic::FilterGLScatter::releaseAux ( )
inlinevirtual

releaseAux

Reimplemented from pic::pic::FilterGL.

◆ update()

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

update

Parameters
s_S
s_R

Member Data Documentation

◆ mul_E

float pic::FilterGLScatter::mul_E
protected

◆ nVertex_array

int pic::FilterGLScatter::nVertex_array
protected

◆ s_R

float pic::FilterGLScatter::s_R
protected

◆ s_S

float pic::FilterGLScatter::s_S
protected

◆ vao

GLuint pic::FilterGLScatter::vao
protected

◆ vbo

GLuint pic::FilterGLScatter::vbo
protected

◆ vertex_array

GLfloat* pic::FilterGLScatter::vertex_array
protected

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