|
Blender V4.3
|
#include <Image.h>
Inherits Freestyle::FrsImage.
Public Member Functions | |
| GrayImage () | |
| GrayImage (const GrayImage &brother) | |
| GrayImage (uint w, uint h) | |
| GrayImage (float *lvl, uint w, uint h) | |
| GrayImage (float *lvl, uint w, uint h, uint sw, uint sh, uint ox, uint oy) | |
| GrayImage & | operator= (const GrayImage &brother) |
| virtual | ~GrayImage () |
| void | setPixel (uint x, uint y, float v) |
| float | pixel (uint x, uint y) const |
| void | setArray (float *lvl, uint width, uint height, uint sw, uint sh, uint x, uint y, bool copy=true) |
| virtual float * | getArray () |
Public Member Functions inherited from Freestyle::FrsImage | |
| FrsImage () | |
| FrsImage (const FrsImage &brother) | |
| FrsImage (uint w, uint h) | |
| FrsImage (uint w, uint h, uint sw, uint sh, uint ox, uint oy) | |
| FrsImage & | operator= (const FrsImage &brother) |
| virtual | ~FrsImage () |
| uint | width () const |
| uint | height () const |
Protected Attributes | |
| float * | _lvl |
Protected Attributes inherited from Freestyle::FrsImage | |
| uint | _width |
| uint | _height |
| uint | _storedWidth |
| uint | _storedHeight |
| uint | _Ox |
| uint | _Oy |
|
inline |
Definition at line 310 of file Image.h.
References _lvl, Freestyle::FrsImage::_storedHeight, and Freestyle::FrsImage::_storedWidth.
Builds an empty gray image
Definition at line 317 of file Image.h.
References Freestyle::FrsImage::_height, _lvl, and Freestyle::FrsImage::_width.
Definition at line 322 of file 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 342 of file Image.h.
References _lvl, Freestyle::FrsImage::_storedHeight, and Freestyle::FrsImage::_storedWidth.
|
inlinevirtual |
|
inlinevirtual |
Returns the array containing the gray values.
Implements Freestyle::FrsImage.
Definition at line 396 of file Image.h.
References _lvl.
Referenced by Freestyle::Controller::ComputeSteerableViewMap().
Definition at line 349 of file Image.h.
References _lvl, Freestyle::FrsImage::_storedHeight, and Freestyle::FrsImage::_storedWidth.
Returns the gray value for pixel x,y
Implements Freestyle::FrsImage.
Definition at line 369 of file Image.h.
References _lvl, Freestyle::FrsImage::_Ox, Freestyle::FrsImage::_Oy, and Freestyle::FrsImage::_storedWidth.
Referenced by Freestyle::Controller::ComputeSteerableViewMap(), 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 378 of file 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(), Freestyle::FrsImage::width(), Freestyle::x, and y.
Referenced by Freestyle::AppCanvas::readDepthPixels().
Definition at line 364 of file Image.h.
References _lvl, Freestyle::FrsImage::_Ox, Freestyle::FrsImage::_Oy, Freestyle::FrsImage::_storedWidth, and v.
Referenced by Freestyle::GaussianPyramid::BuildPyramid(), Freestyle::Controller::ComputeSteerableViewMap(), and Freestyle::Canvas::loadMap().
|
protected |
Definition at line 402 of file Image.h.
Referenced by getArray(), GrayImage(), GrayImage(), GrayImage(), GrayImage(), GrayImage(), operator=(), pixel(), setArray(), setPixel(), and ~GrayImage().