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

#include <itkDTITubeSpatialObjectPoint.h>

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

Detailed Description

template<unsigned int TPointDimension = 3>
class itk::DTITubeSpatialObjectPoint< 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
DTITubeSpatialObject
Examples:
SpatialObjects/DTITubeSpatialObject.cxx.

Definition at line 37 of file itkDTITubeSpatialObjectPoint.h.

Public Types

typedef CovariantVector
< double, TPointDimension > 
CovariantVectorType
 
enum  FieldEnumType {
  FA,
  ADC,
  GA
}
 
typedef std::vector< FieldTypeFieldListType
 
typedef std::pair< std::string,
float > 
FieldType
 
typedef Point< double,
TPointDimension > 
PointType
 
typedef DTITubeSpatialObjectPoint Self
 
typedef SpatialObjectPoint
< TPointDimension > 
Superclass
 
typedef Vector< double,
TPointDimension > 
VectorType
 
- Public Types inherited from itk::TubeSpatialObjectPoint< TPointDimension >
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

void AddField (const char *name, float value)
 
void AddField (FieldEnumType name, float value)
 
 DTITubeSpatialObjectPoint (void)
 
float GetField (const char *name) const
 
float GetField (FieldEnumType name) const
 
const FieldListTypeGetFields () const
 
const float * GetTensorMatrix () const
 
Selfoperator= (const DTITubeSpatialObjectPoint &rhs)
 
void SetField (FieldEnumType name, float value)
 
void SetField (const char *name, float value)
 
void SetTensorMatrix (const DiffusionTensor3D< double > &matrix)
 
void SetTensorMatrix (const DiffusionTensor3D< float > &matrix)
 
void SetTensorMatrix (const float *matrix)
 
virtual ~DTITubeSpatialObjectPoint (void)
 
- Public Member Functions inherited from itk::TubeSpatialObjectPoint< TPointDimension >
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
 
std::string TranslateEnumToChar (FieldEnumType name) const
 
- Protected Member Functions inherited from itk::TubeSpatialObjectPoint< TPointDimension >
void PrintSelf (std::ostream &os, Indent indent) const
 

Protected Attributes

FieldListType m_Fields
 
float m_TensorMatrix [6]
 
- Protected Attributes inherited from itk::TubeSpatialObjectPoint< TPointDimension >
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::DTITubeSpatialObjectPoint< TPointDimension >::CovariantVectorType

Definition at line 46 of file itkDTITubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef std::vector< FieldType > itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldListType

Definition at line 48 of file itkDTITubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef std::pair< std::string, float > itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldType

Definition at line 47 of file itkDTITubeSpatialObjectPoint.h.

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

Definition at line 44 of file itkDTITubeSpatialObjectPoint.h.

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

Definition at line 42 of file itkDTITubeSpatialObjectPoint.h.

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

Definition at line 43 of file itkDTITubeSpatialObjectPoint.h.

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

Definition at line 45 of file itkDTITubeSpatialObjectPoint.h.

Member Enumeration Documentation

template<unsigned int TPointDimension = 3>
enum itk::DTITubeSpatialObjectPoint::FieldEnumType
Enumerator
FA 
ADC 
GA 

Definition at line 52 of file itkDTITubeSpatialObjectPoint.h.

Constructor & Destructor Documentation

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

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

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

Default destructor.

Member Function Documentation

template<unsigned int TPointDimension = 3>
void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField ( const char *  name,
float  value 
)

Add a field to the point list

template<unsigned int TPointDimension = 3>
void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField ( FieldEnumType  name,
float  value 
)

Add a field to the point list

template<unsigned int TPointDimension = 3>
float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField ( const char *  name) const

Return the value of the specific fiedls

template<unsigned int TPointDimension = 3>
float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField ( FieldEnumType  name) const
template<unsigned int TPointDimension = 3>
const FieldListType& itk::DTITubeSpatialObjectPoint< TPointDimension >::GetFields ( ) const
inline

Return the list of extra fields

Definition at line 97 of file itkDTITubeSpatialObjectPoint.h.

References itk::DTITubeSpatialObjectPoint< TPointDimension >::m_Fields.

template<unsigned int TPointDimension = 3>
const float* itk::DTITubeSpatialObjectPoint< TPointDimension >::GetTensorMatrix ( ) const
inline
template<unsigned int TPointDimension = 3>
Self& itk::DTITubeSpatialObjectPoint< TPointDimension >::operator= ( const DTITubeSpatialObjectPoint< TPointDimension > &  rhs)

Copy one DTITubeSpatialObjectPoint to another

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

Print the object

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

template<unsigned int TPointDimension = 3>
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField ( FieldEnumType  name,
float  value 
)

Set a field value

template<unsigned int TPointDimension = 3>
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField ( const char *  name,
float  value 
)
template<unsigned int TPointDimension = 3>
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetTensorMatrix ( const DiffusionTensor3D< double > &  matrix)
inline
template<unsigned int TPointDimension = 3>
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetTensorMatrix ( const DiffusionTensor3D< float > &  matrix)
inline
template<unsigned int TPointDimension = 3>
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetTensorMatrix ( const float *  matrix)
inline
template<unsigned int TPointDimension = 3>
std::string itk::DTITubeSpatialObjectPoint< TPointDimension >::TranslateEnumToChar ( FieldEnumType  name) const
protected

Translate the enum to char

Member Data Documentation

template<unsigned int TPointDimension = 3>
FieldListType itk::DTITubeSpatialObjectPoint< TPointDimension >::m_Fields
protected
template<unsigned int TPointDimension = 3>
float itk::DTITubeSpatialObjectPoint< TPointDimension >::m_TensorMatrix[6]
protected

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