#include <COP2_MaskOp.h>

Public Member Functions | |
| unsigned | disableParms () |
| virtual int | getOpInput () const |
| virtual int | getMaskInput () const |
| virtual const char * | inputConnectorLabel (unsigned idx) |
| virtual int | getAuxInput () const |
| virtual COP2_Node * | getPassThroughInput (COP2_Context &) |
| virtual bool | doNormalMask (COP2_Context &) |
| virtual bool | isFrameEffectHandled () |
| int | getMaskFromInput () |
| virtual void | computeImageBounds (COP2_Context &context) |
| bool | getMaskBounds (float t, int xres, int yres, int thread, int &x1, int &y1, int &x2, int &y2) |
| bool | getMaskBounds (COP2_Context &context, int &x1, int &y1, int &x2, int &y2) |
| virtual void | modifyViewMatrix (int input, COP2_Context &context, UT_Matrix4 &matrix, float zoom) |
Static Public Attributes | |
| static OP_TemplatePair | myTemplatePair |
| static PRM_Template | myTemplateList [] |
Protected Member Functions | |
| COP2_MaskOp (OP_Network *parent, const char *name, OP_Operator *entry) | |
| virtual | ~COP2_MaskOp () |
| virtual TIL_Sequence * | cookSequenceInfo (OP_ERROR &error) |
| void | setupMaskParms () |
| virtual float | getFrameScopeEffect (int image_index) |
| virtual OP_ERROR | doCookMyTile (COP2_Context &context, TIL_TileList *tiles)=0 |
| virtual OP_ERROR | cookMyTile (COP2_Context &context, TIL_TileList *tiles) |
| virtual void | getInputDependenciesForOutputArea (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas) |
| void | getMaskDependency (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas) |
| TIL_Region * | getMaskRegion (COP2_Context &context, const TIL_Plane *plane, float t, int x1, int y1, int x2, int y2) |
| float * | getMaskData (COP2_Context &context, int x1, int y1, int x2, int y2, int component=0) |
| virtual float | AMOUNT (float t) |
| virtual int | MASK_INPUT () |
| virtual void | MASK_PLANE (UT_String &s) |
| virtual int | MASK_INVERT () |
| virtual int | MASK_RESIZE () |
| bool | getMask (int &pindex, int &cindex) |
| float | getAmount (int image_index) |
Protected Attributes | |
| int | myMaskInput |
| UT_String | myMaskPlane |
| bool | myMaskInvert |
| bool | myHasMask |
| bool | myMaskResize |
| UT_Lock | myAmountLock |
| UT_IntArray | myAmountIndex |
| UT_FloatArray | myAmountValue |
COP2/COP2_FullImageFilter.C, COP2/COP2_FullImageFilter.h, COP2/COP2_SampleFilter.C, and COP2/COP2_SampleFilter.h.
Definition at line 35 of file COP2_MaskOp.h.
| COP2_MaskOp::COP2_MaskOp | ( | OP_Network * | parent, | |
| const char * | name, | |||
| OP_Operator * | entry | |||
| ) | [protected] |
| virtual COP2_MaskOp::~COP2_MaskOp | ( | ) | [protected, virtual] |
| virtual float COP2_MaskOp::AMOUNT | ( | float | t | ) | [inline, protected, virtual] |
| virtual void COP2_MaskOp::computeImageBounds | ( | COP2_Context & | context | ) | [virtual] |
Reimplemented from COP2_Node.
Reimplemented in COP2_Generator, HDK_Sample::COP2_FullImageFilter, and HDK_Sample::COP2_SampleFilter.
| virtual OP_ERROR COP2_MaskOp::cookMyTile | ( | COP2_Context & | context, | |
| TIL_TileList * | tiles | |||
| ) | [protected, virtual] |
Reimplemented from COP2_Node.
| virtual TIL_Sequence* COP2_MaskOp::cookSequenceInfo | ( | OP_ERROR & | error | ) | [protected, virtual] |
Reimplemented from COP2_PixelBase.
Reimplemented in COP2_Generator, and HDK_Sample::COP2_SampleGenerator.
| unsigned COP2_MaskOp::disableParms | ( | ) | [virtual] |
Reimplemented from COP2_PixelBase.
Reimplemented in COP2_ChromaKey, COP2_ColorCurve, COP2_Generator, COP2_LumaKey, COP2_PixelOp, COP2_Ramp, and COP2_RotoShape.
| virtual OP_ERROR COP2_MaskOp::doCookMyTile | ( | COP2_Context & | context, | |
| TIL_TileList * | tiles | |||
| ) | [protected, pure virtual] |
Implemented in COP2_Generator, COP2_KeyBase, COP2_PixelOp, HDK_Sample::COP2_FullImageFilter, and HDK_Sample::COP2_SampleFilter.
| virtual bool COP2_MaskOp::doNormalMask | ( | COP2_Context & | ) | [inline, virtual] |
Definition at line 57 of file COP2_MaskOp.h.
| float COP2_MaskOp::getAmount | ( | int | image_index | ) | [protected] |
| virtual int COP2_MaskOp::getAuxInput | ( | ) | const [inline, virtual] |
| virtual float COP2_MaskOp::getFrameScopeEffect | ( | int | image_index | ) | [protected, virtual] |
Reimplemented from COP2_PixelBase.
| virtual void COP2_MaskOp::getInputDependenciesForOutputArea | ( | COP2_CookAreaInfo & | output_area, | |
| const COP2_CookAreaList & | input_areas, | |||
| COP2_CookAreaList & | needed_areas | |||
| ) | [protected, virtual] |
Reimplemented from COP2_PixelBase.
Reimplemented in COP2_Generator, COP2_KeyBase, COP2_PixelOp, HDK_Sample::COP2_FullImageFilter, and HDK_Sample::COP2_SampleFilter.
| bool COP2_MaskOp::getMask | ( | int & | pindex, | |
| int & | cindex | |||
| ) | [protected] |
| bool COP2_MaskOp::getMaskBounds | ( | COP2_Context & | context, | |
| int & | x1, | |||
| int & | y1, | |||
| int & | x2, | |||
| int & | y2 | |||
| ) | [inline] |
Definition at line 70 of file COP2_MaskOp.h.
| bool COP2_MaskOp::getMaskBounds | ( | float | t, | |
| int | xres, | |||
| int | yres, | |||
| int | thread, | |||
| int & | x1, | |||
| int & | y1, | |||
| int & | x2, | |||
| int & | y2 | |||
| ) |
| float* COP2_MaskOp::getMaskData | ( | COP2_Context & | context, | |
| int | x1, | |||
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| int | component = 0 | |||
| ) | [protected] |
| void COP2_MaskOp::getMaskDependency | ( | COP2_CookAreaInfo & | output_area, | |
| const COP2_CookAreaList & | input_areas, | |||
| COP2_CookAreaList & | needed_areas | |||
| ) | [protected] |
| int COP2_MaskOp::getMaskFromInput | ( | ) |
| virtual int COP2_MaskOp::getMaskInput | ( | ) | const [inline, virtual] |
Reimplemented from COP2_Node.
Reimplemented in COP2_Generator.
Definition at line 47 of file COP2_MaskOp.h.
| TIL_Region* COP2_MaskOp::getMaskRegion | ( | COP2_Context & | context, | |
| const TIL_Plane * | plane, | |||
| float | t, | |||
| int | x1, | |||
| int | y1, | |||
| int | x2, | |||
| int | y2 | |||
| ) | [protected] |
| virtual int COP2_MaskOp::getOpInput | ( | ) | const [inline, virtual] |
| virtual COP2_Node* COP2_MaskOp::getPassThroughInput | ( | COP2_Context & | ) | [inline, virtual] |
| virtual const char* COP2_MaskOp::inputConnectorLabel | ( | unsigned | idx | ) | [virtual] |
Reimplemented from OP_Node.
| virtual bool COP2_MaskOp::isFrameEffectHandled | ( | ) | [inline, virtual] |
Reimplemented in COP2_ChromaKey, COP2_ColorCurve, COP2_ColorReplace, COP2_Generator, and COP2_LumaKey.
Definition at line 61 of file COP2_MaskOp.h.
| virtual int COP2_MaskOp::MASK_INPUT | ( | ) | [inline, protected, virtual] |
| virtual int COP2_MaskOp::MASK_INVERT | ( | ) | [inline, protected, virtual] |
Definition at line 126 of file COP2_MaskOp.h.
| virtual void COP2_MaskOp::MASK_PLANE | ( | UT_String & | s | ) | [inline, protected, virtual] |
Definition at line 124 of file COP2_MaskOp.h.
| virtual int COP2_MaskOp::MASK_RESIZE | ( | ) | [inline, protected, virtual] |
Definition at line 127 of file COP2_MaskOp.h.
| virtual void COP2_MaskOp::modifyViewMatrix | ( | int | input, | |
| COP2_Context & | context, | |||
| UT_Matrix4 & | matrix, | |||
| float | zoom | |||
| ) | [virtual] |
Reimplemented from COP2_Node.
| void COP2_MaskOp::setupMaskParms | ( | ) | [protected] |
UT_IntArray COP2_MaskOp::myAmountIndex [protected] |
Definition at line 139 of file COP2_MaskOp.h.
UT_Lock COP2_MaskOp::myAmountLock [protected] |
Definition at line 138 of file COP2_MaskOp.h.
UT_FloatArray COP2_MaskOp::myAmountValue [protected] |
Definition at line 140 of file COP2_MaskOp.h.
bool COP2_MaskOp::myHasMask [protected] |
Definition at line 136 of file COP2_MaskOp.h.
int COP2_MaskOp::myMaskInput [protected] |
Definition at line 133 of file COP2_MaskOp.h.
bool COP2_MaskOp::myMaskInvert [protected] |
Definition at line 135 of file COP2_MaskOp.h.
UT_String COP2_MaskOp::myMaskPlane [protected] |
Definition at line 134 of file COP2_MaskOp.h.
bool COP2_MaskOp::myMaskResize [protected] |
Definition at line 137 of file COP2_MaskOp.h.
PRM_Template COP2_MaskOp::myTemplateList[] [static] |
Reimplemented from COP2_PixelBase.
Reimplemented in COP2_ChromaKey, COP2_ColorCurve, COP2_ColorReplace, COP2_Generator, COP2_Levels, COP2_LumaKey, COP2_PixelOp, COP2_Ramp, COP2_RotoShape, HDK_Sample::COP2_FullImageFilter, HDK_Sample::COP2_PixelAdd, HDK_Sample::COP2_SampleFilter, and HDK_Sample::COP2_SampleGenerator.
Definition at line 39 of file COP2_MaskOp.h.
Reimplemented from COP2_PixelBase.
Reimplemented in COP2_ChromaKey, COP2_ColorCurve, COP2_ColorReplace, COP2_Generator, COP2_Levels, COP2_LumaKey, COP2_PixelOp, COP2_Ramp, COP2_RotoShape, HDK_Sample::COP2_FullImageFilter, HDK_Sample::COP2_PixelAdd, HDK_Sample::COP2_SampleFilter, and HDK_Sample::COP2_SampleGenerator.
Definition at line 38 of file COP2_MaskOp.h.
1.5.9