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::pic::FilterGLOp Class Reference

#include <display.hpp>

Inheritance diagram for pic::pic::FilterGLOp:
pic::pic::FilterGL

Public Member Functions

 FilterGLOp (std::string op, bool bTexelFetch, float *c0, float *c1)
 FilterGLOp. More...
 
void update (float *c0, float *c1)
 update 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...
 
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...
 

Static Public Member Functions

static FilterGLOpCreateOpSetZero ()
 CreateOpSetZero. More...
 
static FilterGLOpCreateOpSetOne ()
 CreateOpSetOne. More...
 
static FilterGLOpCreateOpIdentity (bool bType)
 CreateOpIdentity. More...
 
static FilterGLOpCreateOpSegmentation (bool bType, float minVal)
 CreateOpSegmentation. More...
 
static FilterGLOpCreateOpAdd (bool bType)
 CreateOpAdd. More...
 
static FilterGLOpCreateOpMulNeg (bool bType)
 CreateOpMulNeg. More...
 
static FilterGLOpCreateOpMul (bool bType)
 CreateOpMul. More...
 
static FilterGLOpCreateOpSub (bool bType)
 CreateOpSub. More...
 
static FilterGLOpCreateOpDiv (bool bType)
 CreateOpDiv. More...
 
static FilterGLOpCreateOpDivConst (bool bType)
 CreateOpDivConst. 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 ()
 

Protected Attributes

std::string op
 
float c0 [4]
 
float c1 [4]
 
bool bTexelFetch
 
- 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
 

Constructor & Destructor Documentation

◆ FilterGLOp()

PIC_INLINE pic::pic::FilterGLOp::FilterGLOp ( std::string  op,
bool  bTexelFetch = false,
float *  c0 = NULL,
float *  c1 = NULL 
)

FilterGLOp.

Parameters
op
bTexelFetch
c0
c1

Member Function Documentation

◆ CreateOpAdd()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpAdd ( bool  bType)
inlinestatic

CreateOpAdd.

Parameters
bType
Returns

◆ CreateOpDiv()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpDiv ( bool  bType)
inlinestatic

CreateOpDiv.

Parameters
bType
Returns

◆ CreateOpDivConst()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpDivConst ( bool  bType)
inlinestatic

CreateOpDivConst.

Parameters
bType
Returns

◆ CreateOpIdentity()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpIdentity ( bool  bType)
inlinestatic

CreateOpIdentity.

Parameters
bType
Returns

◆ CreateOpMul()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpMul ( bool  bType)
inlinestatic

CreateOpMul.

Parameters
bType
Returns

◆ CreateOpMulNeg()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpMulNeg ( bool  bType)
inlinestatic

CreateOpMulNeg.

Parameters
bType
Returns

◆ CreateOpSegmentation()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpSegmentation ( bool  bType,
float  minVal 
)
inlinestatic

CreateOpSegmentation.

Parameters
bType
minVal
Returns

◆ CreateOpSetOne()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpSetOne ( )
inlinestatic

CreateOpSetOne.

Returns

◆ CreateOpSetZero()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpSetZero ( )
inlinestatic

CreateOpSetZero.

Returns

◆ CreateOpSub()

static FilterGLOp* pic::pic::FilterGLOp::CreateOpSub ( bool  bType)
inlinestatic

CreateOpSub.

Parameters
bType
Returns

◆ initShaders()

PIC_INLINE void pic::pic::FilterGLOp::initShaders ( )
protected

◆ update()

PIC_INLINE void pic::pic::FilterGLOp::update ( float *  c0,
float *  c1 
)

update

Parameters
c0
c1

Member Data Documentation

◆ bTexelFetch

bool pic::pic::FilterGLOp::bTexelFetch
protected

◆ c0

float pic::pic::FilterGLOp::c0[4]
protected

◆ c1

float pic::pic::FilterGLOp::c1[4]
protected

◆ op

std::string pic::pic::FilterGLOp::op
protected

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