#include <COP2_KeyBase.h>

Public Member Functions | |
| virtual bool | hasSpillParms () const |
| virtual void | setColorParms (float hmin, float hmax, float smin, float smax, float lmin, float lmax, bool add, float t) |
| virtual void | setSpillParms (float hmin, float hmax, float smin, float smax, float lmin, float lmax, bool add, float t) |
| virtual void | setStateControl (int state) |
Static Public Member Functions | |
| static float | hueInterp (float v1, float v2, float w) |
| static float | linear (float v1, float v2, float w) |
| static float | hueComp (float h, float hue1, float hue2, float spill=0.0f, float(*ifunc)(float)=0) |
| static float | linearComp (float v, float v1, float v2, float spill=0.0f, float(*ifunc)(float)=0) |
| static void | expandRegion (float h, float s, float l, float &hmin, float &hmax, float &smin, float &smax, float &lmin, float &lmax) |
| static cop2_InterpFunc | getInterpolation (cop2_InterpType type) |
Protected Member Functions | |
| virtual const char * | getKeyPlane (COP2_Context &context) |
| virtual int | getSuperSample (COP2_Context &) |
| virtual bool | convertToColorSpace (COP2_Context &context, const float *c1, const float *c2, const float *c3, const float *c4, float *&d1, float *&d2, float *&d3, float *&d4, int size) |
| virtual COP2_KeyFunction | getKeyFunction (COP2_Context &context, void *&data) |
| virtual void | colorFunction (COP2_Context &context, float val[4], float key) |
| virtual cop2_Interpolate | getInterpFunction (COP2_Context &context, int component) |
| COP2_KeyBase (OP_Network *parent, const char *name, OP_Operator *entry) | |
| virtual | ~COP2_KeyBase () |
| virtual OP_ERROR | doCookMyTile (COP2_Context &context, TIL_TileList *tilelist) |
| OP_ERROR | doGPUCook (COP2_Context &context, TIL_TileList *tilelist, const TIL_Plane *keyplane, int supersample) |
| void | doKeyOperation (TIL_TileList *tiles, int supersample, COP2_Context &context, const float *c1, const float *c2, const float *c3, const float *c4) |
| virtual void | getInputDependenciesForOutputArea (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas) |
| virtual void | getShaderAndConstants (COP2_Context &context, UT_String &shader_funcs, RE_OGLComputeGPU &engine) |
Definition at line 44 of file COP2_KeyBase.h.
| COP2_KeyBase::COP2_KeyBase | ( | OP_Network * | parent, | |
| const char * | name, | |||
| OP_Operator * | entry | |||
| ) | [protected] |
| virtual COP2_KeyBase::~COP2_KeyBase | ( | ) | [protected, virtual] |
| virtual void COP2_KeyBase::colorFunction | ( | COP2_Context & | context, | |
| float | val[4], | |||
| float | key | |||
| ) | [protected, virtual] |
Reimplemented in COP2_ColorReplace.
| virtual bool COP2_KeyBase::convertToColorSpace | ( | COP2_Context & | context, | |
| const float * | c1, | |||
| const float * | c2, | |||
| const float * | c3, | |||
| const float * | c4, | |||
| float *& | d1, | |||
| float *& | d2, | |||
| float *& | d3, | |||
| float *& | d4, | |||
| int | size | |||
| ) | [protected, virtual] |
Reimplemented in COP2_ColorReplace, and COP2_LumaKey.
| virtual OP_ERROR COP2_KeyBase::doCookMyTile | ( | COP2_Context & | context, | |
| TIL_TileList * | tilelist | |||
| ) | [protected, virtual] |
Implements COP2_MaskOp.
| OP_ERROR COP2_KeyBase::doGPUCook | ( | COP2_Context & | context, | |
| TIL_TileList * | tilelist, | |||
| const TIL_Plane * | keyplane, | |||
| int | supersample | |||
| ) | [protected] |
| void COP2_KeyBase::doKeyOperation | ( | TIL_TileList * | tiles, | |
| int | supersample, | |||
| COP2_Context & | context, | |||
| const float * | c1, | |||
| const float * | c2, | |||
| const float * | c3, | |||
| const float * | c4 | |||
| ) | [protected] |
| static void COP2_KeyBase::expandRegion | ( | float | h, | |
| float | s, | |||
| float | l, | |||
| float & | hmin, | |||
| float & | hmax, | |||
| float & | smin, | |||
| float & | smax, | |||
| float & | lmin, | |||
| float & | lmax | |||
| ) | [static] |
| virtual void COP2_KeyBase::getInputDependenciesForOutputArea | ( | COP2_CookAreaInfo & | output_area, | |
| const COP2_CookAreaList & | input_areas, | |||
| COP2_CookAreaList & | needed_areas | |||
| ) | [protected, virtual] |
Reimplemented from COP2_MaskOp.
| virtual cop2_Interpolate COP2_KeyBase::getInterpFunction | ( | COP2_Context & | context, | |
| int | component | |||
| ) | [protected, virtual] |
| static cop2_InterpFunc COP2_KeyBase::getInterpolation | ( | cop2_InterpType | type | ) | [static] |
| virtual COP2_KeyFunction COP2_KeyBase::getKeyFunction | ( | COP2_Context & | context, | |
| void *& | data | |||
| ) | [protected, virtual] |
Reimplemented in COP2_ColorReplace, and COP2_LumaKey.
| virtual const char* COP2_KeyBase::getKeyPlane | ( | COP2_Context & | context | ) | [protected, virtual] |
Reimplemented in COP2_LumaKey.
| virtual void COP2_KeyBase::getShaderAndConstants | ( | COP2_Context & | context, | |
| UT_String & | shader_funcs, | |||
| RE_OGLComputeGPU & | engine | |||
| ) | [protected, virtual] |
| virtual int COP2_KeyBase::getSuperSample | ( | COP2_Context & | ) | [inline, protected, virtual] |
| virtual bool COP2_KeyBase::hasSpillParms | ( | ) | const [virtual] |
Reimplemented in COP2_ColorReplace.
| static float COP2_KeyBase::hueComp | ( | float | h, | |
| float | hue1, | |||
| float | hue2, | |||
| float | spill = 0.0f, |
|||
| float(*)(float) | ifunc = 0 | |||
| ) | [static] |
| static float COP2_KeyBase::hueInterp | ( | float | v1, | |
| float | v2, | |||
| float | w | |||
| ) | [static] |
| static float COP2_KeyBase::linear | ( | float | v1, | |
| float | v2, | |||
| float | w | |||
| ) | [static] |
| static float COP2_KeyBase::linearComp | ( | float | v, | |
| float | v1, | |||
| float | v2, | |||
| float | spill = 0.0f, |
|||
| float(*)(float) | ifunc = 0 | |||
| ) | [static] |
| virtual void COP2_KeyBase::setColorParms | ( | float | hmin, | |
| float | hmax, | |||
| float | smin, | |||
| float | smax, | |||
| float | lmin, | |||
| float | lmax, | |||
| bool | add, | |||
| float | t | |||
| ) | [virtual] |
Reimplemented in COP2_ChromaKey, COP2_ColorReplace, and COP2_LumaKey.
| virtual void COP2_KeyBase::setSpillParms | ( | float | hmin, | |
| float | hmax, | |||
| float | smin, | |||
| float | smax, | |||
| float | lmin, | |||
| float | lmax, | |||
| bool | add, | |||
| float | t | |||
| ) | [virtual] |
Reimplemented in COP2_ChromaKey, and COP2_ColorReplace.
| virtual void COP2_KeyBase::setStateControl | ( | int | state | ) | [virtual] |
1.5.9