#include <IMG_RasterFilter.h>
Public Types | |
| typedef int(* | fetchFunc )(void *tag, void *buffer, int scanline) |
Public Member Functions | |
| IMG_RasterFilter (int inpXres, int inpYres, int outXres, int 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 (int inpXres, int inpYres, int outXres, int 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 () |
| int | nextScanline (int y, void *buf, void *tag) |
| IMG_RasterFilter (int xres, int 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, int ix1, int iy1, int ix2, int iy2, int &x1, int &y1, int &x2, int &y2) |
Definition at line 36 of file IMG_RasterFilter.h.
| typedef int(* IMG_RasterFilter::fetchFunc)(void *tag, void *buffer, int scanline) |
Definition at line 39 of file IMG_RasterFilter.h.
| IMG_RasterFilter::IMG_RasterFilter | ( | int | inpXres, | |
| int | inpYres, | |||
| int | outXres, | |||
| int | 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 | ( | int | inpXres, | |
| int | inpYres, | |||
| int | outXres, | |||
| int | 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 | ( | int | xres, | |
| int | yres, | |||
| fetchFunc | inpFetch, | |||
| UT_FilterType | filter = UT_FILTER_BOX, |
|||
| float | xwidth = 1.0f, |
|||
| float | ywidth = 1.0f, |
|||
| IMG_DataType | type = IMG_UCHAR | |||
| ) |
| void IMG_RasterFilter::close | ( | ) |
| int IMG_RasterFilter::fastApproxBlur | ( | void * | buf, | |
| void * | tag | |||
| ) |
| static void IMG_RasterFilter::getApproxBlurBound | ( | UT_FilterType | type, | |
| float | xsize, | |||
| float | ysize, | |||
| int | ix1, | |||
| int | iy1, | |||
| int | ix2, | |||
| int | iy2, | |||
| int & | x1, | |||
| int & | y1, | |||
| int & | x2, | |||
| int & | y2 | |||
| ) | [static] |
| bool IMG_RasterFilter::isRunning | ( | ) |
| int IMG_RasterFilter::nextScanline | ( | int | y, | |
| void * | buf, | |||
| void * | tag | |||
| ) |
| void IMG_RasterFilter::restartFilter | ( | ) |
1.5.9