28 #ifndef _COP2_SAMPLEFILTER_H_
29 #define _COP2_SAMPLEFILTER_H_
34 namespace HDK_Sample {
76 int max_threads)
override;
Simple example of a kernel filter.
Storage class for our parameters and the kernel.
bool createPerTime() const override
float * myKernel
Kernel filter derived from parameters.
bool createPerPlane() const override
When true, this context data object is recreated for each plane.
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
All nodes are instantiated via a myConstructor method.
OP_ERROR doCookMyTile(COP2_Context &context, TIL_TileList *tilelist) override
void computeImageBounds(COP2_Context &context) override
fpreal evalFloat(int pi, int vi, fpreal t) const
bool createPerRes() const override
cop2_SampleFilterContext()
GLuint const GLchar * name
void getInputDependenciesForOutputArea(COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas) override
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun
static const char * myInputLabels[]
static OP_TemplatePair myTemplatePair
static OP_VariablePair myVariablePair
COP2_ContextData * newContextData(const TIL_Plane *p, int array_index, float t, int xres, int yres, int thread, int max_threads) override
static PRM_Template myTemplateList[]
const char * getOperationInfo() override
Returns a description of the operation for the node info popup.
~cop2_SampleFilterContext() override
bool createPerThread() const override
static CH_LocalVariable myVariableList[]
~COP2_SampleFilter() override