ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkLineSpatialObjectPoint.h>
Public Types | |
typedef FixedArray< VectorType, TPointDimension-1 > | NormalArrayType |
typedef Point< double, TPointDimension > | PointType |
typedef LineSpatialObjectPoint | Self |
typedef SpatialObjectPoint < TPointDimension > | Superclass |
typedef CovariantVector < double, TPointDimension > | VectorType |
Public Types inherited from itk::SpatialObjectPoint< TPointDimension > | |
typedef PixelType | ColorType |
typedef RGBAPixel< float > | PixelType |
Public Member Functions | |
const VectorType & | GetNormal (unsigned int index) const |
LineSpatialObjectPoint (void) | |
Self & | operator= (const LineSpatialObjectPoint &rhs) |
void | SetNormal (VectorType &normal, unsigned int index) |
virtual | ~LineSpatialObjectPoint (void) |
Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension > | |
float | GetAlpha (void) const |
float | GetBlue (void) const |
const PixelType & | GetColor (void) const |
float | GetGreen (void) const |
int | GetID (void) const |
const PointType & | GetPosition (void) const |
float | GetRed (void) const |
Self & | operator= (const SpatialObjectPoint &rhs) |
void | Print (std::ostream &os) const |
void | SetAlpha (float a) |
void | SetBlue (float b) |
void | SetColor (const PixelType &color) |
void | SetColor (float r, float g, float b, float a=1) |
void | SetGreen (float g) |
void | SetID (const int newID) |
void | SetPosition (const PointType &newX) |
void | SetPosition (const double x0, const double x1) |
void | SetPosition (const double x0, const double x1, const double x2) |
void | SetRed (float r) |
SpatialObjectPoint (void) | |
virtual | ~SpatialObjectPoint (void) |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
NormalArrayType | m_NormalArray |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
PixelType | m_Color |
int | m_ID |
PointType | m_X |
Point used for a line definition.
This class contains all the functions necessary to define a point that can be used to build lines. This Class derives from SpatialObjectPoint. A LineSpatialObjectPoint has NDimension-1 normals.
Definition at line 42 of file itkLineSpatialObjectPoint.h.
typedef FixedArray< VectorType, TPointDimension - 1 > itk::LineSpatialObjectPoint< TPointDimension >::NormalArrayType |
Definition at line 51 of file itkLineSpatialObjectPoint.h.
typedef Point< double, TPointDimension > itk::LineSpatialObjectPoint< TPointDimension >::PointType |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 49 of file itkLineSpatialObjectPoint.h.
typedef LineSpatialObjectPoint itk::LineSpatialObjectPoint< TPointDimension >::Self |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 47 of file itkLineSpatialObjectPoint.h.
typedef SpatialObjectPoint< TPointDimension > itk::LineSpatialObjectPoint< TPointDimension >::Superclass |
Definition at line 48 of file itkLineSpatialObjectPoint.h.
typedef CovariantVector< double, TPointDimension > itk::LineSpatialObjectPoint< TPointDimension >::VectorType |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 50 of file itkLineSpatialObjectPoint.h.
itk::LineSpatialObjectPoint< TPointDimension >::LineSpatialObjectPoint | ( | void | ) |
Constructor
|
virtual |
Destructor
const VectorType& itk::LineSpatialObjectPoint< TPointDimension >::GetNormal | ( | unsigned int | index | ) | const |
Get Normal
Self& itk::LineSpatialObjectPoint< TPointDimension >::operator= | ( | const LineSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one LineSpatialObjectPoint to another
|
protectedvirtual |
Method to print the object.
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
void itk::LineSpatialObjectPoint< TPointDimension >::SetNormal | ( | VectorType & | normal, |
unsigned int | index | ||
) |
Set Normal
|
protected |
Definition at line 70 of file itkLineSpatialObjectPoint.h.