#include <itkContourSpatialObjectPoint.h>


This class contains all the functions necessary to define a point that can be used to build surfaces. A surface point has a position and only one normal
Definition at line 37 of file itkContourSpatialObjectPoint.h.
Public Types | |
| typedef PixelType | ColorType |
| typedef RGBAPixel< float > | PixelType |
| typedef Point< double, TPointDimension > | PointType |
| typedef ContourSpatialObjectPoint | Self |
| typedef SpatialObjectPoint < TPointDimension > | Superclass |
| typedef CovariantVector < double, TPointDimension > | VectorType |
Public Member Functions | |
| ContourSpatialObjectPoint (void) | |
| int | GetID (void) const |
| const VectorType & | GetNormal (void) const |
| const PointType & | GetPickedPoint (void) const |
| const PointType & | GetPosition (void) const |
| Self & | operator= (const ContourSpatialObjectPoint &rhs) |
| void | Print (std::ostream &os) const |
| void | SetID (const int newID) |
| virtual | ~ContourSpatialObjectPoint (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 | SetNormal (const double normalx, const double normaly, const double normalz) |
| void | SetNormal (const double normalx, const double normaly) |
| void | SetNormal (const VectorType &normal) |
| void | SetPickedPoint (const double pointx, const double pointy, const double pointz) |
| void | SetPickedPoint (const double pointx, const double pointy) |
| void | SetPickedPoint (const PointType &point) |
| 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 |
| VectorType | m_Normal |
| PointType | m_PickedPoint |
| PointType | m_X |
typedef PixelType itk::SpatialObjectPoint< TPointDimension >::ColorType [inherited] |
Definition at line 53 of file itkSpatialObjectPoint.h.
typedef RGBAPixel< float > itk::SpatialObjectPoint< TPointDimension >::PixelType [inherited] |
Definition at line 52 of file itkSpatialObjectPoint.h.
| typedef Point< double, TPointDimension > itk::ContourSpatialObjectPoint< TPointDimension >::PointType |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 45 of file itkContourSpatialObjectPoint.h.
| typedef ContourSpatialObjectPoint itk::ContourSpatialObjectPoint< TPointDimension >::Self |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 43 of file itkContourSpatialObjectPoint.h.
| typedef SpatialObjectPoint<TPointDimension> itk::ContourSpatialObjectPoint< TPointDimension >::Superclass |
Definition at line 44 of file itkContourSpatialObjectPoint.h.
| typedef CovariantVector<double,TPointDimension> itk::ContourSpatialObjectPoint< TPointDimension >::VectorType |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 46 of file itkContourSpatialObjectPoint.h.
| itk::ContourSpatialObjectPoint< TPointDimension >::ContourSpatialObjectPoint | ( | void | ) |
Constructor. This one defines the # of dimensions in the ContourSpatialObjectPoint
| virtual itk::ContourSpatialObjectPoint< TPointDimension >::~ContourSpatialObjectPoint | ( | void | ) | [virtual] |
Default destructor.
| float itk::SpatialObjectPoint< TPointDimension >::GetAlpha | ( | void | ) | const [inherited] |
| float itk::SpatialObjectPoint< TPointDimension >::GetBlue | ( | void | ) | const [inherited] |
| const PixelType& itk::SpatialObjectPoint< TPointDimension >::GetColor | ( | void | ) | const [inherited] |
Set/Get color of the point
| float itk::SpatialObjectPoint< TPointDimension >::GetGreen | ( | void | ) | const [inherited] |
| int itk::SpatialObjectPoint< TPointDimension >::GetID | ( | void | ) | const [inherited] |
Get the SpatialObjectPoint Id.
| const VectorType& itk::ContourSpatialObjectPoint< TPointDimension >::GetNormal | ( | void | ) | const |
Get Normal
| const PointType& itk::ContourSpatialObjectPoint< TPointDimension >::GetPickedPoint | ( | void | ) | const |
Get Picked Point
| const PointType& itk::SpatialObjectPoint< TPointDimension >::GetPosition | ( | void | ) | const [inherited] |
Return a pointer to the point object.
| float itk::SpatialObjectPoint< TPointDimension >::GetRed | ( | void | ) | const [inherited] |
| Self& itk::ContourSpatialObjectPoint< TPointDimension >::operator= | ( | const ContourSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one ContourSpatialObjectPoint to another
| void itk::SpatialObjectPoint< TPointDimension >::Print | ( | std::ostream & | os | ) | const [inherited] |
PrintSelf method
| virtual void itk::ContourSpatialObjectPoint< TPointDimension >::PrintSelf | ( | std::ostream & | os, | |
| Indent | indent | |||
| ) | const [protected, virtual] |
Method to print the object.
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
| void itk::SpatialObjectPoint< TPointDimension >::SetAlpha | ( | float | a | ) | [inherited] |
Set/Get alpha value of the point
| void itk::SpatialObjectPoint< TPointDimension >::SetBlue | ( | float | b | ) | [inherited] |
Set/Get blue color of the point
| void itk::SpatialObjectPoint< TPointDimension >::SetColor | ( | float | r, | |
| float | g, | |||
| float | b, | |||
| float | a = 1 | |||
| ) | [inherited] |
Set/Get color of the point
| void itk::SpatialObjectPoint< TPointDimension >::SetColor | ( | const PixelType & | color | ) | [inherited] |
Set/Get color of the point
| void itk::SpatialObjectPoint< TPointDimension >::SetGreen | ( | float | g | ) | [inherited] |
Set/Get Green color of the point
| void itk::SpatialObjectPoint< TPointDimension >::SetID | ( | const int | newID | ) | [inherited] |
Set the SpatialObjectPoint Id.
| void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal | ( | const double | normalx, | |
| const double | normaly, | |||
| const double | normalz | |||
| ) |
| void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal | ( | const double | normalx, | |
| const double | normaly | |||
| ) |
| void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal | ( | const VectorType & | normal | ) |
Set Normal
| void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint | ( | const double | pointx, | |
| const double | pointy, | |||
| const double | pointz | |||
| ) |
| void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint | ( | const double | pointx, | |
| const double | pointy | |||
| ) |
| void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint | ( | const PointType & | point | ) |
Set Picked Point
| void itk::SpatialObjectPoint< TPointDimension >::SetPosition | ( | const double | x0, | |
| const double | x1, | |||
| const double | x2 | |||
| ) | [inherited] |
| void itk::SpatialObjectPoint< TPointDimension >::SetPosition | ( | const double | x0, | |
| const double | x1 | |||
| ) | [inherited] |
| void itk::SpatialObjectPoint< TPointDimension >::SetPosition | ( | const PointType & | newX | ) | [inherited] |
Set the point object. Couldn't use macros for these methods.
| void itk::SpatialObjectPoint< TPointDimension >::SetRed | ( | float | r | ) | [inherited] |
Set/Get red color of the point
PixelType itk::SpatialObjectPoint< TPointDimension >::m_Color [protected, inherited] |
Color of the point
Definition at line 114 of file itkSpatialObjectPoint.h.
int itk::SpatialObjectPoint< TPointDimension >::m_ID [protected, inherited] |
A unique ID assigned to this SpatialObjectPoint
Definition at line 108 of file itkSpatialObjectPoint.h.
VectorType itk::ContourSpatialObjectPoint< TPointDimension >::m_Normal [protected] |
Definition at line 80 of file itkContourSpatialObjectPoint.h.
PointType itk::ContourSpatialObjectPoint< TPointDimension >::m_PickedPoint [protected] |
Definition at line 81 of file itkContourSpatialObjectPoint.h.
PointType itk::SpatialObjectPoint< TPointDimension >::m_X [protected, inherited] |
Position of the point
Definition at line 111 of file itkSpatialObjectPoint.h.
1.5.5 written by Dimitri van Heesch,
© 1997-2000