79 FrsImage(uint
w, uint h, uint sw, uint sh, uint ox, uint oy)
117 virtual float pixel(uint
x, uint
y)
const = 0;
145 bool copy =
true) = 0;
160 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:FrsImage")
205 RGBImage(
float *rgb, uint
w, uint h, uint sw, uint sh, uint ox, uint oy)
214 dynamic_cast<FrsImage &
>(*this) = brother;
256 res += 11.0f * (*tmp);
258 res += 16.0f * (*tmp);
260 res += 5.0f * (*tmp);
269 float *rgb, uint
width, uint
height, uint sw, uint sh, uint
x, uint
y,
bool copy =
true)
338 GrayImage(
float *lvl, uint
w, uint h, uint sw, uint sh, uint ox, uint oy)
347 dynamic_cast<FrsImage &
>(*this) = brother;
375 float *lvl, uint
width, uint
height, uint sw, uint sh, uint
x, uint
y,
bool copy =
true)
Read Blender memory allocation and freeing.
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)