Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::BaseSeparableFilterKernel Class Referenceabstract
Inheritance diagram for ACG::BaseSeparableFilterKernel:
ACG::BilateralBlurFilter ACG::GaussianBlurFilter

Public Member Functions

 BaseSeparableFilterKernel (int _texWidth, int _texHeight, GLenum _internalfmt=GL_RGBA)
 
virtual ~BaseSeparableFilterKernel ()
 Class destructor.
 
bool execute (GLuint _srcTexture, ACG::FBO *_dstFBO=0, GLuint _dstColorAttachment=GL_COLOR_ATTACHMENT0, GLuint _tempColorAttachment=0)
 
void resizeInput (int _texWidth, int _texHeight)
 
int texWidth () const
 input texture width
 
int texHeight () const
 input texture height
 
const ACG::Vec2ftexelSize () const
 texel size in uv space
 
GLenum internalFormat () const
 internal format of the input texture
 

Protected Member Functions

virtual GLSL::ProgramsetupPass (int _pass, GLuint _srcTex)=0
 
virtual void updateKernel ()=0
 

Private Attributes

int texWidth_
 
int texHeight_
 
GLenum internalfmt_
 
GLenum externalfmt_
 
ACG::Vec2f texelSize_
 
ACG::FBOtempRT_
 

Detailed Description

Definition at line 62 of file FilterKernels.hh.


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