#include "BRAY_API.h"
#include <PXL/PXL_Common.h>
#include <UT/UT_Assert.h>
#include <UT/UT_UniquePtr.h>
#include <UT/UT_Vector2.h>
#include <UT/UT_Vector3.h>
#include <UT/UT_Vector4.h>
#include <algorithm>
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); \
} \
FMT_NOINLINE OutputIt fill(OutputIt it, size_t n, const fill_t< Char > &fill)
#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 188 of file BRAY_Raster.h.