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

#include <IMG_RasterFilter.h>

Public Types

typedef exint(* fetchFunc )(void *tag, void *buffer, exint scanline)
 

Public Member Functions

 IMG_RasterFilter (exint inpXres, exint inpYres, exint outXres, exint outYres, fetchFunc inpFetch, UT_FilterType xfilter=UT_FILTER_BOX, float xwidth=1, UT_FilterType yfilter=UT_FILTER_BOX, float ywidth=1, IMG_DataType srcType=IMG_UCHAR, IMG_DataType destType=IMG_UCHAR, IMG_ColorModel colorModel=IMG_RGBA)
 
 IMG_RasterFilter (exint inpXres, exint inpYres, exint outXres, exint outYres, fetchFunc inpFetch, UT_Filter *xfilter, float xwidth, UT_Filter *yfilter, float ywidth, IMG_DataType srcType=IMG_UCHAR, IMG_DataType destType=IMG_UCHAR, IMG_ColorModel colorModel=IMG_RGBA)
 
 ~IMG_RasterFilter ()
 
void restartFilter ()
 
exint nextScanline (exint y, void *buf, void *tag)
 
 IMG_RasterFilter (exint xres, exint yres, fetchFunc inpFetch, UT_FilterType filter=UT_FILTER_BOX, float xwidth=1.0f, float ywidth=1.0f, IMG_DataType type=IMG_UCHAR)
 
int fastApproxBlur (void *buf, void *tag)
 
bool isRunning ()
 
void close ()
 

Static Public Member Functions

static void getApproxBlurBound (UT_FilterType type, float xsize, float ysize, exint ix1, exint iy1, exint ix2, exint iy2, exint &x1, exint &y1, exint &x2, exint &y2)
 

Detailed Description

Definition at line 25 of file IMG_RasterFilter.h.

Member Typedef Documentation

typedef exint(* IMG_RasterFilter::fetchFunc)(void *tag, void *buffer, exint scanline)

Definition at line 28 of file IMG_RasterFilter.h.

Constructor & Destructor Documentation

IMG_RasterFilter::IMG_RasterFilter ( exint  inpXres,
exint  inpYres,
exint  outXres,
exint  outYres,
fetchFunc  inpFetch,
UT_FilterType  xfilter = UT_FILTER_BOX,
float  xwidth = 1,
UT_FilterType  yfilter = UT_FILTER_BOX,
float  ywidth = 1,
IMG_DataType  srcType = IMG_UCHAR,
IMG_DataType  destType = IMG_UCHAR,
IMG_ColorModel  colorModel = IMG_RGBA 
)
IMG_RasterFilter::IMG_RasterFilter ( exint  inpXres,
exint  inpYres,
exint  outXres,
exint  outYres,
fetchFunc  inpFetch,
UT_Filter xfilter,
float  xwidth,
UT_Filter yfilter,
float  ywidth,
IMG_DataType  srcType = IMG_UCHAR,
IMG_DataType  destType = IMG_UCHAR,
IMG_ColorModel  colorModel = IMG_RGBA 
)
IMG_RasterFilter::~IMG_RasterFilter ( )
IMG_RasterFilter::IMG_RasterFilter ( exint  xres,
exint  yres,
fetchFunc  inpFetch,
UT_FilterType  filter = UT_FILTER_BOX,
float  xwidth = 1.0f,
float  ywidth = 1.0f,
IMG_DataType  type = IMG_UCHAR 
)

Member Function Documentation

void IMG_RasterFilter::close ( )
int IMG_RasterFilter::fastApproxBlur ( void buf,
void tag 
)
static void IMG_RasterFilter::getApproxBlurBound ( UT_FilterType  type,
float  xsize,
float  ysize,
exint  ix1,
exint  iy1,
exint  ix2,
exint  iy2,
exint x1,
exint y1,
exint x2,
exint y2 
)
static
bool IMG_RasterFilter::isRunning ( )
exint IMG_RasterFilter::nextScanline ( exint  y,
void buf,
void tag 
)
void IMG_RasterFilter::restartFilter ( )

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