Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
#include <DrawPoint.hpp>
Public Member Functions | |
Point (const Vector< float > &coord, const Color color=Color(1)) | |
Basic Constructor for 2 and 3 dimensional point. More... | |
template<class D > | |
void | Draw (Image< D > &img) const |
Draws n-dimensional point in input image. More... | |
template<class D > | |
void | Draw (Image< D > &img, const Vector< float > &displacement) const |
Draws n-dimensional point 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 point information to stream. More... | |
Public Member Functions inherited from Bial::Figure< Point > | |
Figure (const Color &color) | |
Basic Constructor. More... | |
void | Draw (Image< D > &img) |
Draws figure in input image. More... | |
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... | |
void | Print (O &os) const |
Prints figure information to stream. More... | |
Public Attributes | |
Vector< float > | coordinate |
Public Attributes inherited from Bial::Figure< Point > | |
Color | color |
The color of the figure. More... | |
Definition at line 24 of file DrawPoint.hpp.
Basic Constructor for 2 and 3 dimensional point.
coord | Coordinates of the point. |
color | The color of the point. |
void Bial::Point::Draw | ( | Image< D > & | img | ) | const |
Draws n-dimensional point in input image.
img | An image. |
void Bial::Point::Draw | ( | Image< D > & | img, |
const Vector< float > & | displacement | ||
) | const |
Draws n-dimensional point in input image.
img | An image. |
displacement | Displacement from low coordinate to start drawing. |
Returns a vector with coordinates of the pixels from this figure.
displacement | Displacement from low coordinate of the figure. |
void Bial::Point::Print | ( | O & | os | ) | const |
Prints point information to stream.
os | an output stream. |
Vector< float > Bial::Point::coordinate |
Definition at line 27 of file DrawPoint.hpp.