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

The FilterGLChannel class. More...

#include <filter_channel.hpp>

Inheritance diagram for pic::FilterGLChannel:
pic::pic::FilterGL

Public Member Functions

 FilterGLChannel (int channel)
 FilterGLChannel. More...
 
 ~FilterGLChannel ()
 
void update (int channel)
 update More...
 
void OutputSize (ImageGLVec imgIn, int &width, int &height, int &channels, int &frames)
 OutputSize. More...
 
- Public Member Functions inherited from pic::pic::FilterGL
 FilterGL ()
 FilterGL. More...
 
 ~FilterGL ()
 
void release ()
 release More...
 
virtual void releaseAux ()
 releaseAux More...
 
void setFbo (Fbo *fbo)
 setFbo More...
 
virtual FbogetFbo ()
 getFbo 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...
 

Static Public Member Functions

static ImageGLexecute (ImageGL *imgIn, ImageGL *imgOut, int channel=0)
 execute More...
 
static void Test ()
 Test. More...
 
- Static Public Member Functions inherited from pic::pic::FilterGL
static std::string gammaCorrection (std::string fragment_source, bool bGammaCorrection)
 gammaCorrection More...
 

Protected Member Functions

void initShaders ()
 initShaders More...
 

Protected Attributes

int channel
 
- Protected Attributes inherited from pic::pic::FilterGL
Fbofbo
 
QuadGLquad
 
TechniqueGL technique
 
GLenum target
 
ImageGLVec param
 
bool bFboOwn
 

Additional Inherited Members

- 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 FilterGLChannel class.

Constructor & Destructor Documentation

◆ FilterGLChannel()

pic::FilterGLChannel::FilterGLChannel ( int  channel)
inline

FilterGLChannel.

Parameters
channel

◆ ~FilterGLChannel()

pic::FilterGLChannel::~FilterGLChannel ( )
inline

Member Function Documentation

◆ execute()

static ImageGL* pic::FilterGLChannel::execute ( ImageGL imgIn,
ImageGL imgOut,
int  channel = 0 
)
inlinestatic

execute

Parameters
imgIn
imgOut
channel
Returns

◆ initShaders()

void pic::FilterGLChannel::initShaders ( )
inlineprotected

initShaders

◆ OutputSize()

void pic::FilterGLChannel::OutputSize ( ImageGLVec  imgIn,
int &  width,
int &  height,
int &  channels,
int &  frames 
)
inlinevirtual

OutputSize.

Parameters
imgIn
width
height
channels
frames

Reimplemented from pic::pic::FilterGL.

◆ Test()

static void pic::FilterGLChannel::Test ( )
inlinestatic

Test.

◆ update()

void pic::FilterGLChannel::update ( int  channel)
inline

update

Parameters
channel

Member Data Documentation

◆ channel

int pic::FilterGLChannel::channel
protected

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