Go to the source code of this file.
#define CLEAR_TO_FLOAT |
( |
|
FORMAT_T | ) |
|
Value:{ \
T*
buffer = writeRasterAs<T>(); \
buffer, \
buffer + (myXres * myYres * myNChannels), \
tval); \
} \
#define VECTOR_ACCESS |
( |
|
VEC, |
|
|
|
NAME |
|
) |
| |
Value:const VEC *rasterAs##
NAME()
const {
\
return reinterpret_cast<const VEC *>(myRaster); \
} \
VEC *writeRasterAs##
NAME()
const {
\
return reinterpret_cast<VEC *>(myBuffer.get()); \
} \
return reinterpret_cast<const VEC *>(pixel(x, y)); \
} \
return reinterpret_cast<VEC *>(writePixel(x, y)); \
} \
Definition at line 193 of file BRAY_Raster.h.