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

The FilterGLDeformGrid class. More...

#include <filter_deform_grid.hpp>

Inheritance diagram for pic::FilterGLDeformGrid:
pic::pic::FilterGL

Public Member Functions

 FilterGLDeformGrid (Image *grid_move)
 FilterGLDeformGrid. More...
 
 ~FilterGLDeformGrid ()
 
void releaseAux ()
 releaseAux More...
 
void update (Image *grid_move)
 update More...
 
void getCoordinatesAfterTransform (float x, float y, float &xOut, float &yOut)
 getCoordinatesAfterTransform 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 initShaders ()
 initShaders More...
 

Protected Attributes

ImageSamplerBicubic isb
 
Imagegrid_rest
 
Imagegrid_move
 
Image grid_diff
 
ImageGLgrid_diff_gl
 
- 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 FilterGLDeformGrid class.

Constructor & Destructor Documentation

◆ FilterGLDeformGrid()

pic::FilterGLDeformGrid::FilterGLDeformGrid ( Image grid_move)

◆ ~FilterGLDeformGrid()

pic::FilterGLDeformGrid::~FilterGLDeformGrid ( )

Member Function Documentation

◆ getCoordinatesAfterTransform()

void pic::FilterGLDeformGrid::getCoordinatesAfterTransform ( float  x,
float  y,
float &  xOut,
float &  yOut 
)
inline

getCoordinatesAfterTransform

Parameters
xis normalized in [0,1]
yis normalized in [0,1]
xOut
yOut

◆ initShaders()

void pic::FilterGLDeformGrid::initShaders ( )
protected

initShaders

◆ releaseAux()

void pic::FilterGLDeformGrid::releaseAux ( )
virtual

releaseAux

Reimplemented from pic::pic::FilterGL.

◆ update()

void pic::FilterGLDeformGrid::update ( Image grid_move)

update

Parameters
type

Member Data Documentation

◆ grid_diff

Image pic::FilterGLDeformGrid::grid_diff
protected

◆ grid_diff_gl

ImageGL* pic::FilterGLDeformGrid::grid_diff_gl
protected

◆ grid_move

Image * pic::FilterGLDeformGrid::grid_move
protected

◆ grid_rest

Image* pic::FilterGLDeformGrid::grid_rest
protected

◆ isb

ImageSamplerBicubic pic::FilterGLDeformGrid::isb
protected

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