COP2_PixelOp Class Reference

#include <COP2_PixelOp.h>

Inheritance diagram for COP2_PixelOp:

COP2_MaskOp COP2_PixelBase COP2_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner COP2_ColorCurve COP2_Levels HDK_Sample::COP2_PixelAdd

List of all members.

Public Member Functions

virtual unsigned disableParms ()
virtual bool isSlowOperation () const
virtual COP2_NodegetPassThroughInput (COP2_Context &)
virtual void getInputDependenciesForOutputArea (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
virtual TIL_ViewerType getCurveEditorType ()

Static Public Attributes

static OP_TemplatePair myTemplatePair
static PRM_Template myTemplateList []

Protected Member Functions

virtual OP_ERROR doCookMyTile (COP2_Context &context, TIL_TileList *tilelist)
virtual COP2_ContextDatanewContextData (const TIL_Plane *, int, float t, int xres, int yres, int thread, int max_threads)
virtual RU_PixelFunctionaddPixelFunction (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread)=0
virtual void getPixelFunction (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread, COP2_PixelFunction *&func, bool concatenate, bool dependent_too)
virtual bool checkAlignment (int x1, int y1, int x2, int y2, int ix1, int iy1, int ix2, int iy2, int tilex, int tiley)
 COP2_PixelOp (OP_Network *parent, const char *name, OP_Operator *entry)
virtual ~COP2_PixelOp ()
bool computeAlphaValues (COP2_Context &context, TIL_TileList *tiles, til_AlignedBlock *&before, til_AlignedBlock *&after, bool &isalphaconst)
void multiplyAlpha (TIL_TileList *tiles, float *alpha, bool docooked, bool isalphaconst)
virtual void getMaxNumThreadsInCook (COP2_Context &, int &plane, int &node, int &op) const
virtual bool isGPUAssisted (const TIL_Plane &plane, int array_index, float t, int xres, int yres, int thread_index)

Static Protected Member Functions

static int editCurves (void *, int, float, const PRM_Template *)


Detailed Description

Examples:

COP2/COP2_PixelAdd.C, and COP2/COP2_PixelAdd.h.

Definition at line 35 of file COP2_PixelOp.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

virtual RU_PixelFunction* COP2_PixelOp::addPixelFunction ( const TIL_Plane plane,
int  array_index,
float  t,
int  xres,
int  yres,
int  thread 
) [protected, pure virtual]

virtual bool COP2_PixelOp::checkAlignment ( int  x1,
int  y1,
int  x2,
int  y2,
int  ix1,
int  iy1,
int  ix2,
int  iy2,
int  tilex,
int  tiley 
) [protected, virtual]

bool COP2_PixelOp::computeAlphaValues ( COP2_Context context,
TIL_TileList tiles,
til_AlignedBlock *&  before,
til_AlignedBlock *&  after,
bool &  isalphaconst 
) [protected]

virtual unsigned COP2_PixelOp::disableParms (  )  [virtual]

Reimplemented from COP2_MaskOp.

Reimplemented in COP2_ColorCurve.

virtual OP_ERROR COP2_PixelOp::doCookMyTile ( COP2_Context context,
TIL_TileList tilelist 
) [protected, virtual]

Implements COP2_MaskOp.

static int COP2_PixelOp::editCurves ( void *  ,
int  ,
float  ,
const PRM_Template  
) [static, protected]

virtual TIL_ViewerType COP2_PixelOp::getCurveEditorType (  )  [inline, virtual]

Definition at line 56 of file COP2_PixelOp.h.

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

Reimplemented from COP2_MaskOp.

virtual void COP2_PixelOp::getMaxNumThreadsInCook ( COP2_Context ,
int &  plane,
int &  node,
int &  op 
) const [protected, virtual]

Reimplemented from COP2_Node.

virtual COP2_Node* COP2_PixelOp::getPassThroughInput ( COP2_Context  )  [virtual]

Reimplemented from COP2_MaskOp.

virtual void COP2_PixelOp::getPixelFunction ( const TIL_Plane plane,
int  array_index,
float  t,
int  xres,
int  yres,
int  thread,
COP2_PixelFunction *&  func,
bool  concatenate,
bool  dependent_too 
) [protected, virtual]

Reimplemented from COP2_Node.

virtual bool COP2_PixelOp::isGPUAssisted ( const TIL_Plane plane,
int  array_index,
float  t,
int  xres,
int  yres,
int  thread_index 
) [protected, virtual]

Reimplemented from COP2_Node.

virtual bool COP2_PixelOp::isSlowOperation (  )  const [inline, virtual]

Reimplemented from COP2_Node.

Definition at line 39 of file COP2_PixelOp.h.

void COP2_PixelOp::multiplyAlpha ( TIL_TileList tiles,
float *  alpha,
bool  docooked,
bool  isalphaconst 
) [protected]

virtual COP2_ContextData* COP2_PixelOp::newContextData ( const TIL_Plane ,
int  ,
float  t,
int  xres,
int  yres,
int  thread,
int  max_threads 
) [protected, virtual]

Reimplemented from COP2_Node.


Member Data Documentation

Reimplemented from COP2_MaskOp.

Reimplemented in COP2_ColorCurve, COP2_Levels, and HDK_Sample::COP2_PixelAdd.

Definition at line 46 of file COP2_PixelOp.h.

Reimplemented from COP2_MaskOp.

Reimplemented in COP2_ColorCurve, COP2_Levels, and HDK_Sample::COP2_PixelAdd.

Examples:
COP2/COP2_PixelAdd.C.

Definition at line 45 of file COP2_PixelOp.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