|
| BRAY_Raster () |
|
| BRAY_Raster (exint xres, exint yres, PXL_Packing pack, PXL_DataFormat fmt, const void *raster=nullptr) |
|
| ~BRAY_Raster () |
|
void | setupReference (PXL_Raster &rp, bool for_write) const |
|
void | freeRaster () |
| Clear storage. More...
|
|
void | resize (exint xres, exint yres, PXL_Packing pack, PXL_DataFormat fmt) |
|
void | createFrom (const BRAY_Raster &rp) |
|
void | copyPropertiesFrom (const BRAY_Raster &rp) |
|
void | copyDataFrom (const BRAY_Raster &rp) |
|
void | copyDataFrom (const PXL_Raster &rp) |
|
void | zeroPixels () |
|
void | clearToFloat (float val) |
|
const void * | raster () const |
| Read access to the raster. More...
|
|
template<typename T > |
const T * | rasterAs () const |
| Read access to the raster as a given type. More...
|
|
void * | writeRaster () |
| Write access to the raster. More...
|
|
template<typename T > |
T * | writeRasterAs () |
| Write access to the raster as a given type. More...
|
|
const void * | scanline (exint y) const |
| Read access to a given scanline. More...
|
|
const void * | pixel (exint x, exint y) const |
| Read access to a given pixel. More...
|
|
template<typename T > |
const T * | pixelAs (exint x, exint y) const |
| Read access to a given pixel as a given type. More...
|
|
void * | writePixel (exint x, exint y) const |
| Write access to a given pixel. More...
|
|
template<typename T > |
T * | writePixelAs (exint x, exint y) const |
| Write access to a given pixel as a given type. More...
|
|
bool | isValid () const |
|
bool | isWritable () const |
|
PXL_Packing | packing () const |
|
PXL_DataFormat | dataFormat () const |
|
exint | npixels () const |
|
exint | nchannels () const |
|
exint | xres () const |
|
exint | yres () const |
|
exint | pixelBytes () const |
|
exint | scanBytes () const |
|
exint | imageBytes () const |
|
void | setStorage (PXL_Packing pack, PXL_DataFormat fmt) |
|
void | dump () const |
|
void | dump (UT_JSONWriter &w) const |
|
bool | checkpoint (UT_JSONWriter &w) const |
|
bool | loadCheckpoint (UT_JSONParser &p) |
|
UT_InclusiveRect | findDataWindow () const |
| Find the window where non-zero data exists. More...
|
|
int64 | getMemoryUsage () const |
|
Simple raster container.
Definition at line 30 of file BRAY_Raster.h.