HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HDK_Sample::cop2_SampleFilterContext Class Reference

Storage class for our parameters and the kernel. More...

#include <COP2_SampleFilter.h>

+ Inheritance diagram for HDK_Sample::cop2_SampleFilterContext:

Public Member Functions

 cop2_SampleFilterContext ()
 
 ~cop2_SampleFilterContext () override
 
bool createPerPlane () const override
 When true, this context data object is recreated for each plane. More...
 
bool createPerRes () const override
 
bool createPerTime () const override
 
bool createPerThread () const override
 
- Public Member Functions inherited from COP2_ContextData
 COP2_ContextData ()
 
virtual ~COP2_ContextData ()
 

Public Attributes

float * myKernel
 Kernel filter derived from parameters. More...
 
float myLeft
 
float myRight
 
float myTop
 
float myBottom
 

Additional Inherited Members

- Static Public Member Functions inherited from UT_SmallObject< COP2_ContextData, UT_SMALLOBJECT_CLEANPAGES_OFF, 31, UT_SMALLOBJECT_THREADSAFE_ON, 512 >
static voidoperator new (size_t size)
 Regular new/delete operators. More...
 
static void operator delete (void *p, size_t size)
 Regular new/delete operators. More...
 
static voidoperator new (size_t, void *p)
 
static void operator delete (void *, void *)
 

Detailed Description

Storage class for our parameters and the kernel.

Examples:
COP2/COP2_SampleFilter.C.

Definition at line 110 of file COP2_SampleFilter.h.

Constructor & Destructor Documentation

HDK_Sample::cop2_SampleFilterContext::cop2_SampleFilterContext ( )
inline
Examples:
COP2/COP2_SampleFilter.h.

Definition at line 113 of file COP2_SampleFilter.h.

HDK_Sample::cop2_SampleFilterContext::~cop2_SampleFilterContext ( )
inlineoverride
Examples:
COP2/COP2_SampleFilter.h.

Definition at line 118 of file COP2_SampleFilter.h.

Member Function Documentation

bool HDK_Sample::cop2_SampleFilterContext::createPerPlane ( ) const
inlineoverridevirtual

When true, this context data object is recreated for each plane.

Reimplemented from COP2_ContextData.

Examples:
COP2/COP2_SampleFilter.h.

Definition at line 121 of file COP2_SampleFilter.h.

bool HDK_Sample::cop2_SampleFilterContext::createPerRes ( ) const
inlineoverridevirtual

When true, this context data object is recreated for each resolution cooked.

Reimplemented from COP2_ContextData.

Examples:
COP2/COP2_SampleFilter.h.

Definition at line 125 of file COP2_SampleFilter.h.

bool HDK_Sample::cop2_SampleFilterContext::createPerThread ( ) const
inlineoverridevirtual

When true, each thread gets its own version of a context data. This is useful if the context data contains allocated memory to be used for intermediate steps.

Reimplemented from COP2_ContextData.

Examples:
COP2/COP2_SampleFilter.h.

Definition at line 134 of file COP2_SampleFilter.h.

bool HDK_Sample::cop2_SampleFilterContext::createPerTime ( ) const
inlineoverridevirtual

When true, this context data object is recreated for each frame. In most cases, this returns true since parameters can be animated.

Reimplemented from COP2_ContextData.

Examples:
COP2/COP2_SampleFilter.h.

Definition at line 129 of file COP2_SampleFilter.h.

Member Data Documentation

float HDK_Sample::cop2_SampleFilterContext::myBottom

Cached Parameters

Examples:
COP2/COP2_SampleFilter.C, and COP2/COP2_SampleFilter.h.

Definition at line 141 of file COP2_SampleFilter.h.

float* HDK_Sample::cop2_SampleFilterContext::myKernel

Kernel filter derived from parameters.

Examples:
COP2/COP2_SampleFilter.C, and COP2/COP2_SampleFilter.h.

Definition at line 145 of file COP2_SampleFilter.h.

float HDK_Sample::cop2_SampleFilterContext::myLeft

Cached Parameters

Examples:
COP2/COP2_SampleFilter.C, and COP2/COP2_SampleFilter.h.

Definition at line 138 of file COP2_SampleFilter.h.

float HDK_Sample::cop2_SampleFilterContext::myRight

Cached Parameters

Examples:
COP2/COP2_SampleFilter.C, and COP2/COP2_SampleFilter.h.

Definition at line 139 of file COP2_SampleFilter.h.

float HDK_Sample::cop2_SampleFilterContext::myTop

Cached Parameters

Examples:
COP2/COP2_SampleFilter.C, and COP2/COP2_SampleFilter.h.

Definition at line 140 of file COP2_SampleFilter.h.


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