HDK
|
#include <UT_Filter.h>
Public Member Functions | |
void | access () |
virtual void | fillWeights (float umin, float radius, float *weights, int size) const |
virtual float | getWeight (float l, float r) const =0 |
virtual float | getArea (float l) const =0 |
UT_FilterType | getType () const |
float | getSupport () const |
virtual | ~UT_Filter () |
UT_Filter (const UT_Filter &)=delete | |
UT_Filter & | operator= (const UT_Filter &)=delete |
Static Public Member Functions | |
static UT_FilterType | lookupFilter (const char *name) |
static const char * | getFilterName (UT_FilterType type) |
static const char * | getFilterLabel (UT_FilterType type) |
static UT_Filter * | getFilter (UT_FilterType type) |
static UT_FilterWrap | lookupWrap (const char *keyword, UT_FilterWrap def) |
static UT_Filter * | getFilter (float(*evalfunc)(float, void *), int size, int support=2, void *data=0) |
static void | releaseFilter (UT_Filter *filter) |
Protected Member Functions | |
UT_Filter () | |
Protected Attributes | |
int | myRefCount |
UT_FilterType | myType |
float | mySupport |
Definition at line 118 of file UT_Filter.h.
|
virtual |
|
delete |
|
inlineprotected |
Definition at line 173 of file UT_Filter.h.
|
inline |
Definition at line 140 of file UT_Filter.h.
|
virtual |
Fill an array of weights. The center
variable specifies the center of the filter (in resolution space - not 0-1).
For example, if you have a filter with a radius of 1.3 centered at pixel 8.4, you should set:
center
= 8.4radius
= 1.3size
= floor(8.4+1.3) - floor(8.4-1.3) + 1 = 9-7+1 = 3
|
static |
|
static |
|
static |
|
static |
|
inline |
Definition at line 164 of file UT_Filter.h.
|
inline |
Definition at line 161 of file UT_Filter.h.
|
static |
|
static |
|
protected |
Definition at line 175 of file UT_Filter.h.
|
protected |
Definition at line 177 of file UT_Filter.h.
|
protected |
Definition at line 176 of file UT_Filter.h.