HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 ()
 
virtual ~cop2_SampleFilterContext ()
 
virtual bool createPerPlane () const
 When true, this context data object is recreated for each plane. More...
 
virtual bool createPerRes () const
 
virtual bool createPerTime () const
 
virtual bool createPerThread () const
 
- 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 109 of file COP2_SampleFilter.h.

Constructor & Destructor Documentation

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

Definition at line 112 of file COP2_SampleFilter.h.

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

Definition at line 117 of file COP2_SampleFilter.h.

Member Function Documentation

virtual bool HDK_Sample::cop2_SampleFilterContext::createPerPlane ( ) const
inlinevirtual

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

Reimplemented from COP2_ContextData.

Examples:
COP2/COP2_SampleFilter.h.

Definition at line 120 of file COP2_SampleFilter.h.

virtual bool HDK_Sample::cop2_SampleFilterContext::createPerRes ( ) const
inlinevirtual

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

Reimplemented from COP2_ContextData.

Examples:
COP2/COP2_SampleFilter.h.

Definition at line 124 of file COP2_SampleFilter.h.

virtual bool HDK_Sample::cop2_SampleFilterContext::createPerThread ( ) const
inlinevirtual

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 133 of file COP2_SampleFilter.h.

virtual bool HDK_Sample::cop2_SampleFilterContext::createPerTime ( ) const
inlinevirtual

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 128 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 140 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 144 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 137 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 138 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 139 of file COP2_SampleFilter.h.


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