PICCANTE
0.4
The hottest HDR imaging library!
|
The FilterGLScatter class implement the bilateral grid approximation of the bilateral filter. More...
#include <display.hpp>
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... | |
ImageGL * | Process (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 Fbo * | getFbo () |
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 ImageGL * | setupAux (ImageGLVec imgIn, ImageGL *imgOut) |
setupAux More... | |
ImageGL * | allocateOutputMemory (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 | |
Fbo * | fbo |
QuadGL * | quad |
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 |
The FilterGLScatter class implement the bilateral grid approximation of the bilateral filter.
PIC_INLINE pic::pic::FilterGLScatter::FilterGLScatter | ( | float | s_S, |
float | s_R, | ||
int | width, | ||
int | height | ||
) |
s_S | |
s_R | |
width | |
height |
PIC_INLINE pic::pic::FilterGLScatter::~FilterGLScatter | ( | ) |
|
protected |
FragmentShader.
|
protected |
generateVertexArray
width | |
height |
|
protected |
initShaders
|
virtual |
|
inlinevirtual |
releaseAux
Reimplemented from pic::pic::FilterGL.
PIC_INLINE void pic::pic::FilterGLScatter::update | ( | float | s_S, |
float | s_R | ||
) |
update
s_S | |
s_R |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |