HDK
|
#include <PXL_Raster.h>
Public Types | |
typedef SYS_ConstType < PXL_Raster, READ_ONLY > ::type | RasterType |
typedef SYS_ConstType< T, READ_ONLY >::type | DataType |
Public Member Functions | |
SYS_FORCE_INLINE | PXL_RasterWrapper (RasterType *raster=nullptr) |
SYS_FORCE_INLINE PXL_RasterWrapper< T, NCOMPONENTS, INTERLEAVED, true > | makeConstant () const |
SYS_FORCE_INLINE RasterType * | getRaster () const |
SYS_FORCE_INLINE exint | getXres () const |
SYS_FORCE_INLINE exint | getYres () const |
SYS_FORCE_INLINE void | setRaster (RasterType *raster) |
DataType * | getPixel (exint x, exint y, exint comp=0) const |
SYS_FORCE_INLINE DataType * | getPixelFast (void *pixels, exint x, exint y) const |
SYS_FORCE_INLINE void | getPixelValueFast (const void *pixels, exint x, exint y, float *vals) const |
SYS_FORCE_INLINE void | zeroPixelValueFast (void *pixels, exint x, exint y) const |
SYS_FORCE_INLINE void | setPixelValueFast (void *pixels, exint x, exint y, const T *vals) const |
Static Public Member Functions | |
static SYS_FORCE_INLINE T | convertFromFloat (const float val) |
This is a wrapper for when the PXL_DataFormat and PXL_Packing are known at compile-time, e.g. constructing this inside a branch of a switch statement over all types.
Definition at line 324 of file PXL_Raster.h.
typedef SYS_ConstType<T,READ_ONLY>::type PXL_RasterWrapper< T, NCOMPONENTS, INTERLEAVED, READ_ONLY >::DataType |
Definition at line 328 of file PXL_Raster.h.
typedef SYS_ConstType<PXL_Raster,READ_ONLY>::type PXL_RasterWrapper< T, NCOMPONENTS, INTERLEAVED, READ_ONLY >::RasterType |
Definition at line 327 of file PXL_Raster.h.
|
inline |
Definition at line 330 of file PXL_Raster.h.
|
inlinestatic |
Definition at line 458 of file PXL_Raster.h.
|
inline |
Definition at line 373 of file PXL_Raster.h.
|
inline |
Definition at line 395 of file PXL_Raster.h.
|
inline |
Definition at line 409 of file PXL_Raster.h.
|
inline |
Definition at line 343 of file PXL_Raster.h.
|
inline |
Definition at line 348 of file PXL_Raster.h.
|
inline |
Definition at line 352 of file PXL_Raster.h.
|
inline |
Definition at line 338 of file PXL_Raster.h.
|
inline |
Definition at line 466 of file PXL_Raster.h.
|
inline |
Definition at line 357 of file PXL_Raster.h.
|
inline |
Definition at line 437 of file PXL_Raster.h.