ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::TubeSpatialObjectPoint< TPointDimension > Class Template Reference

#include <itkTubeSpatialObjectPoint.h>

+ Inheritance diagram for itk::TubeSpatialObjectPoint< TPointDimension >:
+ Collaboration diagram for itk::TubeSpatialObjectPoint< TPointDimension >:

Detailed Description

template<unsigned int TPointDimension = 3>
class itk::TubeSpatialObjectPoint< TPointDimension >

Point used for a tube definition.

This class contains all the functions necessary to define a point that can be used to build tubes.

See Also
TubeSpatialObject

Definition at line 38 of file itkTubeSpatialObjectPoint.h.

Public Types

typedef CovariantVector
< double, TPointDimension > 
CovariantVectorType
 
typedef Point< double,
TPointDimension > 
PointType
 
typedef TubeSpatialObjectPoint Self
 
typedef SpatialObjectPoint
< TPointDimension > 
Superclass
 
typedef Vector< 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 CovariantVectorTypeGetNormal1 (void) const
 
const CovariantVectorTypeGetNormal2 (void) const
 
unsigned short int GetNumDimensions (void) const
 
float GetRadius (void) const
 
const VectorTypeGetTangent (void) const
 
Selfoperator= (const TubeSpatialObjectPoint &rhs)
 
void SetNormal1 (const CovariantVectorType &newV1)
 
void SetNormal1 (const double v10, const double v11)
 
void SetNormal1 (const double v10, const double v11, const double v12)
 
void SetNormal2 (const CovariantVectorType &newV2)
 
void SetNormal2 (const double v20, const double v21)
 
void SetNormal2 (const double v20, const double v21, const double v22)
 
void SetRadius (const float newR)
 
void SetTangent (const VectorType &newT)
 
void SetTangent (const double t0, const double t1)
 
void SetTangent (const double t0, const double t1, const double t2)
 
 TubeSpatialObjectPoint (void)
 
virtual ~TubeSpatialObjectPoint (void)
 
- Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension >
float GetAlpha (void) const
 
float GetBlue (void) const
 
const PixelTypeGetColor (void) const
 
float GetGreen (void) const
 
int GetID (void) const
 
const PointTypeGetPosition (void) const
 
float GetRed (void) const
 
Selfoperator= (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

void PrintSelf (std::ostream &os, Indent indent) const
 

Protected Attributes

CovariantVectorType m_Normal1
 
CovariantVectorType m_Normal2
 
unsigned short int m_NumDimensions
 
float m_R
 
VectorType m_T
 
- Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension >
PixelType m_Color
 
int m_ID
 
PointType m_X
 

Member Typedef Documentation

template<unsigned int TPointDimension = 3>
typedef CovariantVector< double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::CovariantVectorType

Definition at line 47 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef Point< double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::PointType

Definition at line 45 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef TubeSpatialObjectPoint itk::TubeSpatialObjectPoint< TPointDimension >::Self

Definition at line 43 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef SpatialObjectPoint< TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::Superclass

Definition at line 44 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef Vector< double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::VectorType

Definition at line 46 of file itkTubeSpatialObjectPoint.h.

Constructor & Destructor Documentation

template<unsigned int TPointDimension = 3>
itk::TubeSpatialObjectPoint< TPointDimension >::TubeSpatialObjectPoint ( void  )

Constructor. This one defines the number of dimensions in the TubeSpatialObjectPoint

template<unsigned int TPointDimension = 3>
virtual itk::TubeSpatialObjectPoint< TPointDimension >::~TubeSpatialObjectPoint ( void  )
virtual

Default destructor.

Member Function Documentation

template<unsigned int TPointDimension = 3>
const CovariantVectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetNormal1 ( void  ) const

Get V1

template<unsigned int TPointDimension = 3>
const CovariantVectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetNormal2 ( void  ) const

Get V2

template<unsigned int TPointDimension = 3>
unsigned short int itk::TubeSpatialObjectPoint< TPointDimension >::GetNumDimensions ( void  ) const

Get number of dimensions

template<unsigned int TPointDimension = 3>
float itk::TubeSpatialObjectPoint< TPointDimension >::GetRadius ( void  ) const

Get R

template<unsigned int TPointDimension = 3>
const VectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetTangent ( void  ) const

Get the tangent

template<unsigned int TPointDimension = 3>
Self& itk::TubeSpatialObjectPoint< TPointDimension >::operator= ( const TubeSpatialObjectPoint< TPointDimension > &  rhs)

Copy one TubeSpatialObjectPoint to another

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 ( const CovariantVectorType newV1)

Set V1

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 ( const double  v10,
const double  v11 
)
template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 ( const double  v10,
const double  v11,
const double  v12 
)
template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 ( const CovariantVectorType newV2)

Set V2

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 ( const double  v20,
const double  v21 
)
template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 ( const double  v20,
const double  v21,
const double  v22 
)
template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetRadius ( const float  newR)

Set R

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent ( const VectorType newT)

Set T. Couldn't use macros for these methods

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent ( const double  t0,
const double  t1 
)
template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent ( const double  t0,
const double  t1,
const double  t2 
)

Member Data Documentation

template<unsigned int TPointDimension = 3>
CovariantVectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal1
protected

Definition at line 101 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
CovariantVectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal2
protected

Definition at line 102 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
unsigned short int itk::TubeSpatialObjectPoint< TPointDimension >::m_NumDimensions
protected

number of dimensions

Definition at line 108 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
float itk::TubeSpatialObjectPoint< TPointDimension >::m_R
protected

The radius of the tube point

Definition at line 105 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
VectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_T
protected

Definition at line 100 of file itkTubeSpatialObjectPoint.h.


The documentation for this class was generated from the following file: