COP2_MaskOp Class Reference

#include <COP2_MaskOp.h>

Inheritance diagram for COP2_MaskOp:

COP2_PixelBase COP2_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner COP2_Generator COP2_KeyBase COP2_PixelOp HDK_Sample::COP2_FullImageFilter HDK_Sample::COP2_SampleFilter COP2_Ramp COP2_RotoShape HDK_Sample::COP2_SampleGenerator COP2_ChromaKey COP2_ColorReplace COP2_LumaKey COP2_ColorCurve COP2_Levels HDK_Sample::COP2_PixelAdd

List of all members.

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_NodegetPassThroughInput (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_SequencecookSequenceInfo (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_RegiongetMaskRegion (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


Detailed Description

Examples:

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.


Constructor & Destructor Documentation

COP2_MaskOp::COP2_MaskOp ( OP_Network parent,
const char *  name,
OP_Operator entry 
) [protected]

virtual COP2_MaskOp::~COP2_MaskOp (  )  [protected, virtual]


Member Function Documentation

virtual float COP2_MaskOp::AMOUNT ( float  t  )  [inline, protected, virtual]

Reimplemented in COP2_Generator.

Definition at line 122 of file COP2_MaskOp.h.

virtual void COP2_MaskOp::computeImageBounds ( COP2_Context context  )  [virtual]

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]

virtual OP_ERROR COP2_MaskOp::doCookMyTile ( COP2_Context context,
TIL_TileList tiles 
) [protected, pure virtual]

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]

Reimplemented from OP_Node.

Definition at line 51 of file COP2_MaskOp.h.

virtual float COP2_MaskOp::getFrameScopeEffect ( int  image_index  )  [protected, virtual]

virtual void COP2_MaskOp::getInputDependenciesForOutputArea ( COP2_CookAreaInfo output_area,
const COP2_CookAreaList input_areas,
COP2_CookAreaList needed_areas 
) [protected, virtual]

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]

Reimplemented in COP2_Generator.

Definition at line 46 of file COP2_MaskOp.h.

virtual COP2_Node* COP2_MaskOp::getPassThroughInput ( COP2_Context  )  [inline, virtual]

Reimplemented in COP2_PixelOp.

Definition at line 53 of file COP2_MaskOp.h.

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]

Reimplemented in COP2_Generator.

Definition at line 123 of file COP2_MaskOp.h.

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]


Member Data Documentation

Definition at line 139 of file COP2_MaskOp.h.

Definition at line 138 of file COP2_MaskOp.h.

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.

Definition at line 134 of file COP2_MaskOp.h.

bool COP2_MaskOp::myMaskResize [protected]

Definition at line 137 of file COP2_MaskOp.h.


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

Generated on Fri May 25 00:10:21 2012 for HDK by  doxygen 1.5.9