|
| TIL_Raster () |
|
| TIL_Raster (const TIL_Raster &) |
|
| TIL_Raster (const PXL_Raster &) |
|
| TIL_Raster (const IMG_Raster &, bool copy=true) |
|
| TIL_Raster (const TIL_Raster &, exint x1, exint y1, exint x2, exint y2) |
|
| TIL_Raster (TIL_Packing p, TIL_DataFormat f, exint xres=0, exint yres=0, int clear=0, int alloc=1) |
|
| ~TIL_Raster () override |
|
int64 | getMemoryUsage (bool inclusive) const override |
|
void | setID (UT_TokenString *token) |
|
const UT_TokenString * | getID () const |
|
void | copy (const PXL_Raster &src) override |
|
void | copyProperties (const PXL_Raster &src) override |
|
void | reset (int full=0) override |
|
void | scaleFromRasterToSize (TIL_Raster *scaled, exint xres, exint yres, UT_FilterType flt=UT_FILTER_BOX) const |
|
void | scaleFromRasterToScale (TIL_Raster *scaled, float xsc, float ysc, UT_FilterType flt=UT_FILTER_BOX) const |
|
void | scaledInsertFromRaster (const PXL_Raster *source, UT_FilterType ftype, exint fromx, exint fromy, exint fromsizex, exint fromsizey, exint tox, exint toy, exint tosizex, exint tosizey) |
|
void | applyEmulation (const TIL_Raster *src, float black, float white, float scale, float shift, float gamma, exint comp=-1) |
|
void | adjustGamma (float gamma, bool red=true, bool green=true, bool blue=true, bool alpha=false) |
|
void | splitHRaster (const TIL_Raster *r1, const TIL_Raster *r2, float fract) |
|
void | splitVRaster (const TIL_Raster *r1, const TIL_Raster *r2, float fract) |
|
void | blendRaster (const TIL_Raster *r1, const TIL_Raster *r2, float fract) |
|
void | diffRaster (const TIL_Raster *r1, const TIL_Raster *r2) |
|
void | subRaster (const TIL_Raster *r1, const TIL_Raster *r2) |
|
void | highlightRaster (const TIL_Raster *r1, const TIL_Raster *r2, float threshold) |
|
void | setUserData (void *data) |
|
void * | getUserData () |
|
bool | getClosestEdge (exint &x, exint &y, exint distance, float tolerance=0.1f, UT_Vector2 *pos=0, UT_Vector2 *dir=0) |
|
void | setIncomplete (int inc=1) |
|
int | isIncomplete () const |
|
| PXL_Raster () |
|
| PXL_Raster (const PXL_Raster &) |
|
| PXL_Raster (const PXL_Raster &, exint x1, exint y1, exint x2, exint y2) |
|
| PXL_Raster (PXL_Packing p, PXL_DataFormat f, exint xres=0, exint yres=0, int clear=0, int alloc=1) |
|
virtual | ~PXL_Raster () |
|
PXL_Raster & | operator= (const PXL_Raster &)=delete |
| Assignment disallowed, use copy() instead. More...
|
|
void | setPacking (PXL_Packing p) |
|
void | setFormat (PXL_DataFormat f) |
|
void | setRes (exint x, exint y) |
|
void | setBWPoints (float black, float white) |
|
void | setVisualization (Visualization vis) |
|
Visualization | getVisualization () const |
|
void | setColorSpace (PXL_ColorSpace space, fpreal custom_gamma=0.0) |
|
void | setOCIOColorSpace (const UT_StringHolder &space) |
|
void | setOCIODisplayView (const UT_StringHolder &baked_display, const UT_StringHolder &baked_view) |
|
void | setOCIOParms (const UT_StringHolder &color_space, const UT_StringHolder &baked_display, const UT_StringHolder &baked_view) |
|
void | init () |
|
void | setRaster (void *r, bool give_ownership=true, bool use_offset=false) |
|
void * | steal () |
|
int | isValid () const |
|
exint | getXres () const |
|
exint | getYres () const |
|
exint | getNumPixels () const |
|
int64 | getStride () const |
|
int64 | getSize () const |
|
PXL_DataFormat | getFormat () const |
|
PXL_Packing | getPacking () const |
|
void | getBWPoints (float &black, float &white) const |
|
int | getNumChannels () const |
|
void | setRotation (int rotation) |
|
int | getRotation () const |
|
bool | isRotated () const |
|
exint | getCorrectedXres () const |
|
exint | getCorrectedYres () const |
|
PXL_ColorSpace | getColorSpace () const |
| Colorspace this raster requires for correct display. More...
|
|
fpreal | getColorSpaceGamma () const |
|
const UT_StringHolder & | getColorSpaceName () const |
| OCIO colorspace name, valid for PXL_CS_OCIO. More...
|
|
const UT_StringHolder & | getOCIODisplay () const |
|
const UT_StringHolder & | getOCIOView () const |
|
void | setDataWindow (const UT_DimRect &new_rect) |
|
const UT_DimRect & | getDataWindow () const |
|
bool | hasDataWindow () const |
|
void | getRange (float &min, float &max, float black=0.0f, float white=1.0f, exint comp=-1, bool ignore_farthest=false) const |
|
void * | getPixels () |
|
const void * | getPixels () const |
|
const void * | getRawPixels () const |
|
void * | getPixel (exint x, exint y, exint comp=0) |
|
const void * | getPixel (exint x, exint y, exint comp=0) const |
|
void | setPixelValue (exint x, exint y, const float *vals) |
|
void | setPixelValueI (exint x, exint y, exint val) |
|
void | getPixelValue (exint x, exint y, float *vals) const |
|
bool | isInterleaved () const |
|
int | areComponentsRenderable () const |
|
int64 | getNonInterleavedSize () const |
|
void | clear (const void *color=0) |
|
void | clearNormal (const float *color, unsigned ib=0, unsigned iw=0) |
|
void | readFromRow (exint y, void *data) const |
|
void | writeToRow (exint y, const void *data) |
|
void | writeToColumn (exint x, const void *data) |
|
void | extract (const PXL_Raster &from, exint x1, exint y1, exint x2, exint y2) |
|
void | insert (const PXL_Raster &from, exint x, exint y) |
|
void | promoteRGBToRGBA (fpreal alpha=1.0) |
|
bool | promoteRGBToRGBA (UT_UniquePtr< PXL_Raster > &dest, fpreal alpha=1.0) const |
|
void | applyLUT (const PXL_Raster *src, float *lptr[4], exint comp, float lstart, float lend) |
|
void | streakEdges (exint x1, exint y1, exint x2, exint y2, PXL_StreakComponents streak_comps=PXL_STREAK_ALL) |
|
void | convert8Bit (unsigned b, unsigned w) |
|
void | adjustSaturation (float sat) |
|
void | flipVertical () |
|
bool | load (UT_IStream &is) |
|
int | save (std::ostream &os, int binary=1) const |
|
int | getProxyIndex () const |
|
void | setDataWritten (bool written=true) |
|
bool | getDataWritten () const |
|
void | setTextureID (void *id) |
|
void * | getTextureID () const |
|
void | clearTextureID () |
|
void | setManagesOwnTextureID (bool manages_own) |
|
bool | managesOwnTextureID () const |
|
void | dither (const UT_DimRect &crop) |
|
void | dither () |
|
bool | premultiply (const PXL_Raster *other=nullptr) |
|
bool | unpremultiply (const PXL_Raster *other=nullptr) |
|
bool | hasAlpha () const |
|
bool | clampAlpha () |
|
void | addInterest (void *callerData, void(*changeCB)(PXL_Raster *, void *)) |
|
void | removeInterest () |
|
- Examples:
- SOP/SOP_CopRaster.C.
Definition at line 29 of file TIL_Raster.h.