14#ifdef WITH_CXX_GUARDEDALLOC
147 bool copy =
true) = 0;
162#ifdef WITH_CXX_GUARDEDALLOC
163 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:FrsImage")
218 dynamic_cast<FrsImage &
>(*this) = brother;
260 res += 11.0f * (*tmp);
262 res += 16.0f * (*tmp);
264 res += 5.0f * (*tmp);
351 dynamic_cast<FrsImage &
>(*this) = brother;
Read Guarded memory(de)allocation.
ATTR_WARN_UNUSED_RESULT const BMVert * v
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
FrsImage(const FrsImage &brother)
FrsImage(uint w, uint h, uint sw, uint sh, uint ox, uint oy)
FrsImage & operator=(const FrsImage &brother)
virtual float pixel(uint x, uint y) const =0
virtual float * getArray()=0
virtual void setArray(float *array, uint width, uint height, uint sw, uint sh, uint x, uint y, bool copy=true)=0
GrayImage(float *lvl, uint w, uint h)
virtual float * getArray()
void setPixel(uint x, uint y, float v)
GrayImage & operator=(const GrayImage &brother)
void setArray(float *lvl, uint width, uint height, uint sw, uint sh, uint x, uint y, bool copy=true)
GrayImage(float *lvl, uint w, uint h, uint sw, uint sh, uint ox, uint oy)
GrayImage(const GrayImage &brother)
float pixel(uint x, uint y) const
GrayImage(uint w, uint h)
virtual float * getArray()
virtual void setPixel(uint x, uint y, float r, float g, float b)
RGBImage & operator=(const RGBImage &brother)
virtual void setArray(float *rgb, uint width, uint height, uint sw, uint sh, uint x, uint y, bool copy=true)
float getB(uint x, uint y) const
RGBImage(const RGBImage &brother)
float getG(uint x, uint y) const
RGBImage(float *rgb, uint w, uint h, uint sw, uint sh, uint ox, uint oy)
virtual float pixel(uint x, uint y) const
float getR(uint x, uint y) const
RGBImage(float *rgb, uint w, uint h)
local_group_size(16, 16) .push_constant(Type b
static void copy(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node)