![]() |
Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
#include <DrawFigure.hpp>

Public Member Functions | |
| Figure (const Color &color) | |
| Basic Constructor. More... | |
| template<class D > | |
| void | Draw (Image< D > &img) |
| Draws figure in input image. More... | |
| template<class D > | |
| void | Draw (Image< D > &img, const Vector< float > &displacement) const |
| Draws n-dimensional figure in input image. More... | |
| Vector< Vector< int > > | Pixels () const |
| Returns a vector with coordinates of the pixels from this Figure. More... | |
| Vector< Vector< int > > | Pixels (const Vector< float > &displacement) const |
| Returns a vector with coordinates of the pixels from this figure. More... | |
| template<class O > | |
| void | Print (O &os) const |
| Prints figure information to stream. More... | |
Public Attributes | |
| Color | color |
| The color of the figure. More... | |
Definition at line 21 of file DrawFigure.hpp.
| Bial::Figure< DERIVED >::Figure | ( | const Color & | color | ) |
Basic Constructor.
| color | color of figure. |
Definition at line 93 of file DrawFigure.hpp.
Draws figure in input image.
| img | An image. |
Definition at line 113 of file DrawFigure.hpp.
| void Bial::Figure< DERIVED >::Draw | ( | Image< D > & | img, |
| const Vector< float > & | displacement | ||
| ) | const |
Draws n-dimensional figure in input image.
| img | An image. |
| displacement | Displacement from low coordinate to start drawing. |
Definition at line 118 of file DrawFigure.hpp.
| Vector< Vector< int > > Bial::Figure< DERIVED >::Pixels | ( | ) | const |
Returns a vector with coordinates of the pixels from this Figure.
| none. |
Definition at line 123 of file DrawFigure.hpp.
| Vector< Vector< int > > Bial::Figure< DERIVED >::Pixels | ( | const Vector< float > & | displacement | ) | const |
Returns a vector with coordinates of the pixels from this figure.
| displacement | Displacement from low coordinate of the figure. |
Definition at line 128 of file DrawFigure.hpp.
Prints figure information to stream.
| os | an output stream. |
Definition at line 133 of file DrawFigure.hpp.
| Color Bial::Figure< DERIVED >::color |
The color of the figure.
Definition at line 26 of file DrawFigure.hpp.