|
Blender
V3.3
|
#include <Image.h>
Public Member Functions | |
| GrayImage () | |
| GrayImage (const GrayImage &brother) | |
| GrayImage (unsigned w, unsigned h) | |
| GrayImage (float *lvl, unsigned w, unsigned h) | |
| GrayImage (float *lvl, unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy) | |
| GrayImage & | operator= (const GrayImage &brother) |
| virtual | ~GrayImage () |
| void | setPixel (unsigned x, unsigned y, float v) |
| float | pixel (unsigned x, unsigned y) const |
| void | setArray (float *lvl, unsigned width, unsigned height, unsigned sw, unsigned sh, unsigned x, unsigned y, bool copy=true) |
| virtual float * | getArray () |
Public Member Functions inherited from Freestyle::FrsImage | |
| FrsImage () | |
| FrsImage (const FrsImage &brother) | |
| FrsImage (unsigned w, unsigned h) | |
| FrsImage (unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy) | |
| FrsImage & | operator= (const FrsImage &brother) |
| virtual | ~FrsImage () |
| unsigned | width () const |
| unsigned | height () const |
Protected Attributes | |
| float * | _lvl |
Protected Attributes inherited from Freestyle::FrsImage | |
| unsigned | _width |
| unsigned | _height |
| unsigned | _storedWidth |
| unsigned | _storedHeight |
| unsigned | _Ox |
| unsigned | _Oy |
Definition at line 309 of file freestyle/intern/image/Image.h.
|
inline |
Definition at line 311 of file freestyle/intern/image/Image.h.
References _lvl.
|
inline |
Definition at line 316 of file freestyle/intern/image/Image.h.
References _lvl, Freestyle::FrsImage::_storedHeight, and Freestyle::FrsImage::_storedWidth.
|
inline |
Builds an empty gray image
Definition at line 323 of file freestyle/intern/image/Image.h.
References Freestyle::FrsImage::_height, _lvl, and Freestyle::FrsImage::_width.
|
inline |
Definition at line 328 of file freestyle/intern/image/Image.h.
References Freestyle::FrsImage::_height, _lvl, and Freestyle::FrsImage::_width.
|
inline |
Builds a partial image from the useful part buffer.
| lvl | The array of size sw*sh containing the gray values of the sw*sh pixels we need to stored. These sw*sh pixels constitute a rectangular part of a bigger gray image containing w*h pixels. |
| w | The width of the complete image |
| h | The height of the complete image |
| sw | The width of the part of the image we want to store and work on |
| sh | The height of the part of the image we want to store and work on |
Definition at line 348 of file freestyle/intern/image/Image.h.
References _lvl, Freestyle::FrsImage::_storedHeight, and Freestyle::FrsImage::_storedWidth.
|
inlinevirtual |
Definition at line 363 of file freestyle/intern/image/Image.h.
References _lvl.
|
inlinevirtual |
Returns the array containing the gray values.
Implements Freestyle::FrsImage.
Definition at line 408 of file freestyle/intern/image/Image.h.
References _lvl.
Referenced by Freestyle::Controller::ComputeSteerableViewMap().
Definition at line 355 of file freestyle/intern/image/Image.h.
References _lvl, Freestyle::FrsImage::_storedHeight, and Freestyle::FrsImage::_storedWidth.
|
inlinevirtual |
Returns the gray value for pixel x,y
Implements Freestyle::FrsImage.
Definition at line 375 of file freestyle/intern/image/Image.h.
References _lvl, Freestyle::FrsImage::_Ox, Freestyle::FrsImage::_Oy, Freestyle::FrsImage::_storedWidth, Freestyle::x, and y.
Referenced by Freestyle::Controller::ComputeSteerableViewMap(), Freestyle::Canvas::loadMap(), Freestyle::ImagePyramid::pixel(), and Freestyle::SteerableViewMap::saveSteerableViewMap().
|
inlinevirtual |
Sets the array. copy If true, the array is copied, otherwise the pounsigneder is copied
Implements Freestyle::FrsImage.
Definition at line 384 of file freestyle/intern/image/Image.h.
References Freestyle::FrsImage::_height, _lvl, Freestyle::FrsImage::_Ox, Freestyle::FrsImage::_Oy, Freestyle::FrsImage::_storedHeight, Freestyle::FrsImage::_storedWidth, Freestyle::FrsImage::_width, copy(), Freestyle::FrsImage::height(), sh, sw, Freestyle::FrsImage::width(), Freestyle::x, and y.
Referenced by Freestyle::AppCanvas::readDepthPixels().
Definition at line 370 of file freestyle/intern/image/Image.h.
References _lvl, Freestyle::FrsImage::_Ox, Freestyle::FrsImage::_Oy, Freestyle::FrsImage::_storedWidth, v, Freestyle::x, and y.
Referenced by Freestyle::GaussianPyramid::BuildPyramid(), Freestyle::Controller::ComputeSteerableViewMap(), and Freestyle::Canvas::loadMap().
|
protected |
Definition at line 414 of file freestyle/intern/image/Image.h.
Referenced by getArray(), GrayImage(), operator=(), pixel(), setArray(), setPixel(), and ~GrayImage().