|
HDK
|
#include <UT_Raster.h>
Inheritance diagram for UT_Raster:Public Types | |
| enum | UT_RasterDepth { UT_RASTER_8, UT_RASTER_16 } |
| enum | UT_ColorModel { UT_MODEL_RGBA, UT_MODEL_ABGR } |
Public Member Functions | |
| 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 Public Attributes | |
| static UT_RGBA | zeroPixel |
| static UT_RGBA | onePixel |
Protected Member Functions | |
| void | setBaseSize (short width, short height, void *newRaster=0) |
| void * | allocateMemory (int size) |
| void * | reAllocateMemory (void *mem, int size) |
| void | freeMemory (void *mem) |
| void | init () |
Protected Attributes | |
| UT_BIG_RGBA * | raster16 |
| UT_RGBA * | raster |
| UT_RGBA ** | scanlines |
| UT_RasterDepth | pixelDepth |
| UT_ColorModel | myModel |
| short | xres |
| short | yres |
| short | pBot |
| short | pTop |
Definition at line 22 of file UT_Raster.h.
| Enumerator | |
|---|---|
| UT_MODEL_RGBA | |
| UT_MODEL_ABGR | |
Definition at line 26 of file UT_Raster.h.
| Enumerator | |
|---|---|
| UT_RASTER_8 | |
| UT_RASTER_16 | |
Definition at line 25 of file UT_Raster.h.
| UT_Raster::UT_Raster | ( | ) |
|
virtual |
| void UT_Raster::byteSwapRaster | ( | ) |
| void UT_Raster::clear | ( | const UT_BIG_RGBA & | pixel | ) |
| int UT_Raster::getBytesPerPixel | ( | ) |
|
inline |
Definition at line 48 of file UT_Raster.h.
| UT_BIG_RGBA* UT_Raster::getDeepRaster | ( | ) | const |
|
inline |
Definition at line 65 of file UT_Raster.h.
|
inline |
Definition at line 66 of file UT_Raster.h.
| UT_RGBA* UT_Raster::getRaster | ( | ) | const |
|
inline |
Definition at line 45 of file UT_Raster.h.
| void* UT_Raster::getVoidRaster | ( | ) | const |
|
protected |
| void UT_Raster::setColorModel | ( | UT_ColorModel | model | ) |
| void UT_Raster::setNewRaster | ( | UT_BIG_RGBA * | r | ) |
|
inline |
Definition at line 64 of file UT_Raster.h.
| void UT_Raster::setRasterDepth | ( | UT_RasterDepth | depth | ) |
|
inline |
Definition at line 33 of file UT_Raster.h.
|
inline |
Definition at line 34 of file UT_Raster.h.
|
protected |
Definition at line 76 of file UT_Raster.h.
|
static |
Definition at line 69 of file UT_Raster.h.
|
protected |
Definition at line 87 of file UT_Raster.h.
|
protected |
Definition at line 75 of file UT_Raster.h.
|
protected |
Definition at line 88 of file UT_Raster.h.
|
protected |
Definition at line 73 of file UT_Raster.h.
|
protected |
Definition at line 72 of file UT_Raster.h.
|
protected |
Definition at line 74 of file UT_Raster.h.
|
protected |
Definition at line 85 of file UT_Raster.h.
|
protected |
Definition at line 86 of file UT_Raster.h.
|
static |
Definition at line 68 of file UT_Raster.h.