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