#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) |
PointType | GetPosition (void) const |
unsigned short int | GetNumDimensions (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 |
unsigned short int | m_NumDimensions |
This class contains all the functions necessary to define a point
Definition at line 36 of file itkSpatialObjectPoint.h.
|
Definition at line 51 of file itkSpatialObjectPoint.h. |
|
Definition at line 50 of file itkSpatialObjectPoint.h. |
|
Reimplemented in itk::LineSpatialObjectPoint< TPointDimension >, itk::SurfaceSpatialObjectPoint< TPointDimension >, and itk::TubeSpatialObjectPoint< TPointDimension >. Definition at line 48 of file itkSpatialObjectPoint.h. |
|
Reimplemented in itk::LineSpatialObjectPoint< TPointDimension >, itk::SurfaceSpatialObjectPoint< TPointDimension >, and itk::TubeSpatialObjectPoint< TPointDimension >. Definition at line 47 of file itkSpatialObjectPoint.h. |
|
Reimplemented in itk::LineSpatialObjectPoint< TPointDimension >, itk::SurfaceSpatialObjectPoint< TPointDimension >, and itk::TubeSpatialObjectPoint< TPointDimension >. Definition at line 49 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. |
|
Get # of dimensions Reimplemented in itk::TubeSpatialObjectPoint< TPointDimension >.
|
|
Return a pointer to the point object. |
|
Set/Get red color of the point |
|
Copy one SpatialObjectPoint to another |
|
PrintSelf method |
|
PrintSelf method Reimplemented in itk::LineSpatialObjectPoint< TPointDimension >, itk::SurfaceSpatialObjectPoint< TPointDimension >, and itk::TubeSpatialObjectPoint< TPointDimension >.
|
|
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 115 of file itkSpatialObjectPoint.h. |
|
A unique ID assigned to this SpatialObjectPoint Definition at line 109 of file itkSpatialObjectPoint.h. |
|
# of dimensions Reimplemented in itk::TubeSpatialObjectPoint< TPointDimension >. Definition at line 118 of file itkSpatialObjectPoint.h. |
|
Position of the point Definition at line 112 of file itkSpatialObjectPoint.h. |