#include <itkSpatialObjectPoint.h>
Inheritance diagram for itk::SpatialObjectPoint< TPointDimension >:
Public Types | |
typedef SpatialObjectPoint | Self |
typedef Point< double, TPointDimension > | PointType |
typedef vnl_vector< double > | VectorType |
typedef RGBAPixel< float > | PixelType |
typedef PixelType | ColorType |
Public Member Functions | |
SpatialObjectPoint (void) | |
virtual | ~SpatialObjectPoint (void) |
int | GetID (void) const |
void | SetID (const int newID) |
const PointType & | GetPosition (void) const |
Self & | operator= (const SpatialObjectPoint &rhs) |
void | Print (std::ostream &os) const |
void | SetPosition (const PointType &newX) |
void | SetPosition (const double x0, const double x1) |
void | SetPosition (const double x0, const double x1, const double x2) |
const PixelType & | GetColor (void) const |
void | SetColor (const PixelType &color) |
void | SetColor (float r, float g, float b, float a=1) |
void | SetRed (float r) |
float | GetRed (void) const |
void | SetGreen (float g) |
float | GetGreen (void) const |
void | SetBlue (float b) |
float | GetBlue (void) const |
void | SetAlpha (float a) |
float | GetAlpha (void) const |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
int | m_ID |
PointType | m_X |
PixelType | m_Color |
This class contains all the functions necessary to define a point
Definition at line 36 of file itkSpatialObjectPoint.h.
|
Definition at line 52 of file itkSpatialObjectPoint.h. |
|
Definition at line 51 of file itkSpatialObjectPoint.h. |
|
|
|
|
Constructor. This one defines the # of dimensions in the SpatialObjectPoint |
|
Default destructor. |
|
Set/Get alpha value of the point |
|
Set/Get blue color of the point |
|
Set/Get color of the point |
|
Set/Get Green color of the point |
|
Get the SpatialObjectPoint Id. |
|
Return a pointer to the point object. |
|
Set/Get red color of the point |
|
Copy one SpatialObjectPoint to another |
|
PrintSelf method |
|
|
Set/Get alpha value of the point |
|
Set/Get blue color of the point |
|
Set/Get color of the point |
|
Set/Get color of the point |
|
Set/Get Green color of the point |
|
Set the SpatialObjectPoint Id. |
|
Set the point object. Couldn't use macros for these methods. |
|
Set the point object. Couldn't use macros for these methods. |
|
Set the point object. Couldn't use macros for these methods. |
|
Set/Get red color of the point |
|
Color of the point Definition at line 113 of file itkSpatialObjectPoint.h. |
|
A unique ID assigned to this SpatialObjectPoint Definition at line 107 of file itkSpatialObjectPoint.h. |
|
Position of the point Definition at line 110 of file itkSpatialObjectPoint.h. |