ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkLineSpatialObjectPoint.h>
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.
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 |
typedef Point< double, TPointDimension > | PointType |
typedef SpatialObjectPoint | Self |
typedef vnl_vector< double > | VectorType |
Public Member Functions | |
const VectorType & | GetNormal (unsigned int index) const |
LineSpatialObjectPoint () | |
Self & | operator= (const LineSpatialObjectPoint &rhs) |
void | SetNormal (VectorType &normal, unsigned int index) |
virtual | ~LineSpatialObjectPoint () override |
Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension > | |
float | GetAlpha () const |
float | GetBlue () const |
const PixelType & | GetColor () const |
float | GetGreen () const |
int | GetID () const |
const PointType & | GetPosition () const |
float | GetRed () 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 () | |
virtual | ~SpatialObjectPoint () |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Attributes | |
NormalArrayType | m_NormalArray |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
PixelType | m_Color |
int | m_ID |
PointType | m_X |
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 |
Definition at line 49 of file itkLineSpatialObjectPoint.h.
typedef LineSpatialObjectPoint itk::LineSpatialObjectPoint< TPointDimension >::Self |
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 |
Definition at line 50 of file itkLineSpatialObjectPoint.h.
itk::LineSpatialObjectPoint< TPointDimension >::LineSpatialObjectPoint | ( | ) |
Constructor
|
overridevirtual |
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
|
overrideprotectedvirtual |
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.