|
typedef void(* | img_3SumFunc_8 )(int sums[], UT_RGBA *above, UT_RGBA *center, UT_RGBA *below) |
|
typedef void(* | img_3SumFunc_16 )(int sums[], UT_BIG_RGBA *above, UT_BIG_RGBA *center, UT_BIG_RGBA *below) |
|
typedef void(* | img_3x3FilterFunc_8 )(UT_RGBA *out, UT_RGBA *p, int r, int g, int b, int a) |
|
typedef void(* | img_3x3FilterFunc_16 )(UT_BIG_RGBA *out, UT_BIG_RGBA *p, int r, int g, int b, int a) |
|
typedef void(* | img_HpassFunc_8 )(img_3x3FilterFunc_8 do_pixel, img_3SumFunc_8 do_sum, UT_RGBA *output, int length, UT_RGBA *above, UT_RGBA *center, UT_RGBA *below) |
|
typedef void(* | img_HpassFunc_16 )(img_3x3FilterFunc_16 do_pixel, img_3SumFunc_16 do_sum, UT_BIG_RGBA *output, int length, UT_BIG_RGBA *above, UT_BIG_RGBA *center, UT_BIG_RGBA *below) |
|
enum | UT_RasterDepth { UT_RASTER_8,
UT_RASTER_16
} |
|
enum | UT_ColorModel { UT_MODEL_RGBA,
UT_MODEL_ABGR
} |
|
|
| IMG_Raster () |
|
| IMG_Raster (short xres, short yres, UT_RasterDepth depth) |
|
| IMG_Raster (short xres, short yres, UT_RGBA *image=0) |
|
| IMG_Raster (short xres, short yres, UT_BIG_RGBA *image) |
|
| IMG_Raster (const IMG_Raster &r) |
|
| ~IMG_Raster () override |
|
void | setAlpha (float alpha) |
|
void | setCompositeOp (IMG_CompositeOp op) |
|
IMG_CompositeOp | getCompositeOp () const |
|
void | compositePixel (UT_RGBA *dest, UT_RGBA *op) |
|
void | compositePixel (UT_RGBA *dest, UT_BIG_RGBA *op) |
|
void | compositePixel (UT_BIG_RGBA *dest, UT_BIG_RGBA *op) |
|
void | compositePixel (UT_BIG_RGBA *dest, UT_RGBA *op) |
|
void | composite (IMG_Raster *r, short x=0, short y=0) |
|
void | filter (IMG_FilterOp op, float arg=0.5, short x=0, short y=0, short w=0, short h=0) |
|
void | convolveFilter (UT_FilterType xfilter, float xwidth, UT_FilterType yfilter, float ywidth) |
|
void | size (short w, short h, void *newRaster=0) |
|
void | crop (short x, short y, short w, short h) |
|
void | rgbaScale (float rrange[2], float grange[2], float brange[2], float arange[2], short x=0, short y=0, short w=0, short h=0) |
|
void | setChannelMask (int r, int g, int b, int a) |
|
void | setEdgeChannel (IMG_Channel chan, unsigned options=0) |
|
void | setChromaKey (const UT_HSVA c1, const UT_HSVA c2, const UT_HSVA delta, int alpha) |
|
void | setEmbossParams (const IMG_EMBOSS_PARAMS &bp) |
|
void | getEmbossParams (IMG_EMBOSS_PARAMS *bp) const |
|
virtual UT_RGBA * | getPixel (short x, short y) const |
|
virtual UT_BIG_RGBA * | getDeepPixel (short x, short y) const |
|
virtual void * | getVoidPixel (short x, short y) const |
|
void | resize (short w, short h, UT_FilterType filter=UT_FILTER_POINT) |
|
void | resizeCopy (IMG_Raster *src, short w, short h, UT_FilterType filt=UT_FILTER_POINT, float filter_width=0.0F) |
|
void | resizeCopy (IMG_Raster *src, short w, short h, UT_FilterType xfilter, float xwidth, UT_FilterType yfilter, float ywidth) |
|
void | resizeCropCopy (IMG_Raster *src, short sl, short sb, short sw, short sh, short w, short h) |
|
int | save (const char *pathname, bool quiet=false) |
|
int | save (const char *pathname, int fullHeight, void *tag, int(*more)(IMG_Raster *r, void *, int, int), unsigned margin=0) |
|
int | save (std::ostream &os, int binary=1) const |
|
void * | openSave (const char *pathname, int fullHeight) |
|
void * | saveMore (void *handle) |
|
void | abortSave (void *handle) |
|
int | load (const char *pathname, IMG_ScaleOp scaled=IMG_SCALE_NONE, UT_FilterType filter=UT_FILTER_POINT, short size=100, bool watermarked=false, bool topremult=true) |
|
int | load (const char *pathname, short xres, short yres, IMG_ScaleOp scaled=IMG_SCALE_SIZE, UT_FilterType filter=UT_FILTER_BOX, short yJump=0, short yThrow=0, short xJump=0, short xThrow=0, short yHave=0) |
|
bool | load (UT_IStream &is) |
|
int | stat (const char *pathname, short *xres, short *yres) |
|
void | setClipOffset (short x, short y) |
|
void | setClipSize (short w, short h) |
|
short | getClipX () const |
|
short | getClipY () const |
|
short | getClipW () const |
|
short | getClipH () const |
|
void | getClippedOp (short *x, short *y, short *w, short *h) const |
|
void | operator= (const IMG_Raster &r) |
|
void | operator= (const IMG_RasterHSVA &r) |
|
| UT_Raster () |
|
virtual | ~UT_Raster () |
|
short | Xres () const |
|
short | Yres () const |
|
void | clear (const UT_RGBA &pixel) |
|
void | clear (const UT_BIG_RGBA &pixel) |
|
void | clear (const UT_Color &color, fpreal alpha=1.0f) |
|
void | clear (int x1, int y1, int x2, int y2, const UT_RGBA &color) |
|
void | clear (int x1, int y1, int x2, int y2, const UT_BIG_RGBA &color) |
|
UT_RasterDepth | getRasterDepth () const |
|
void | setRasterDepth (UT_RasterDepth depth) |
|
UT_ColorModel | getColorModel () const |
|
void | setColorModel (UT_ColorModel model) |
|
void | byteSwapRaster () |
|
UT_RGBA * | getRaster () const |
|
UT_BIG_RGBA * | getDeepRaster () const |
|
void * | getVoidRaster () const |
|
int | getBytesPerPixel () |
|
void | setNewRaster (UT_RGBA *r) |
|
void | setNewRaster (UT_BIG_RGBA *r) |
|
void | setPhantom (short b, short t) |
|
short | getPbot () |
|
short | getPtop () |
|
|
static void | mult_8_8 (UT_RGBA *pixel, unsigned int alpha, unsigned int *a, unsigned int *b, unsigned int *g, unsigned int *r) |
|
static void | mult_8_16 (UT_RGBA *pixel, unsigned int alpha, unsigned int *a, unsigned int *b, unsigned int *g, unsigned int *r, unsigned int point_five) |
|
static void | mult_16_8 (UT_BIG_RGBA *pixel, unsigned int alpha, unsigned int *a, unsigned int *b, unsigned int *g, unsigned int *r, unsigned int point_five) |
|
static void | mult_16_16 (UT_BIG_RGBA *pixel, unsigned int alpha, unsigned int *a, unsigned int *b, unsigned int *g, unsigned int *r) |
|
- Examples:
- SOP/SOP_CopRaster.h.
Definition at line 50 of file IMG_Raster.h.