ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkDTITubeSpatialObjectPoint.h>
Public Types | |
typedef CovariantVector < double, TPointDimension > | CovariantVectorType |
enum | FieldEnumType { FA, ADC, GA } |
typedef std::vector< FieldType > | FieldListType |
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 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 FieldListType & | GetFields () const |
const float * | GetTensorMatrix () const |
Self & | operator= (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) |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
std::string | TranslateEnumToChar (FieldEnumType name) const |
Protected Attributes | |
FieldListType | m_Fields |
float | m_TensorMatrix [6] |
Point used for a tube definition.
This class contains all the functions necessary to define a point that can be used to build tubes.
Definition at line 37 of file itkDTITubeSpatialObjectPoint.h.
typedef CovariantVector< double, TPointDimension > itk::DTITubeSpatialObjectPoint< TPointDimension >::CovariantVectorType |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 46 of file itkDTITubeSpatialObjectPoint.h.
typedef std::vector< FieldType > itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldListType |
Definition at line 48 of file itkDTITubeSpatialObjectPoint.h.
typedef std::pair< std::string, float > itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldType |
Definition at line 47 of file itkDTITubeSpatialObjectPoint.h.
typedef Point< double, TPointDimension > itk::DTITubeSpatialObjectPoint< TPointDimension >::PointType |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 44 of file itkDTITubeSpatialObjectPoint.h.
typedef DTITubeSpatialObjectPoint itk::DTITubeSpatialObjectPoint< TPointDimension >::Self |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 42 of file itkDTITubeSpatialObjectPoint.h.
typedef SpatialObjectPoint< TPointDimension > itk::DTITubeSpatialObjectPoint< TPointDimension >::Superclass |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 43 of file itkDTITubeSpatialObjectPoint.h.
typedef Vector< double, TPointDimension > itk::DTITubeSpatialObjectPoint< TPointDimension >::VectorType |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 45 of file itkDTITubeSpatialObjectPoint.h.
enum itk::DTITubeSpatialObjectPoint::FieldEnumType |
Definition at line 52 of file itkDTITubeSpatialObjectPoint.h.
itk::DTITubeSpatialObjectPoint< TPointDimension >::DTITubeSpatialObjectPoint | ( | void | ) |
Constructor. This one defines the number of dimensions in the DTITubeSpatialObjectPoint
virtual itk::DTITubeSpatialObjectPoint< TPointDimension >::~DTITubeSpatialObjectPoint | ( | void | ) | [virtual] |
Default destructor.
void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField | ( | const char * | name, |
float | value | ||
) |
Add a field to the point list
void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField | ( | FieldEnumType | name, |
float | value | ||
) |
Add a field to the point list
float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField | ( | const char * | name | ) | const |
Return the value of the specific fiedls
float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField | ( | FieldEnumType | name | ) | const |
const FieldListType& itk::DTITubeSpatialObjectPoint< TPointDimension >::GetFields | ( | ) | const [inline] |
Return the list of extra fields
Definition at line 97 of file itkDTITubeSpatialObjectPoint.h.
const float* itk::DTITubeSpatialObjectPoint< TPointDimension >::GetTensorMatrix | ( | ) | const [inline] |
Definition at line 80 of file itkDTITubeSpatialObjectPoint.h.
Self& itk::DTITubeSpatialObjectPoint< TPointDimension >::operator= | ( | const DTITubeSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one DTITubeSpatialObjectPoint to another
void itk::DTITubeSpatialObjectPoint< TPointDimension >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Print the object
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | FieldEnumType | name, |
float | value | ||
) |
Set a field value
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | const char * | name, |
float | value | ||
) |
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetTensorMatrix | ( | const DiffusionTensor3D< double > & | matrix | ) | [inline] |
Set/Get the tensor matrix
Definition at line 62 of file itkDTITubeSpatialObjectPoint.h.
References itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::Begin(), and itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::End().
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetTensorMatrix | ( | const DiffusionTensor3D< float > & | matrix | ) | [inline] |
Definition at line 67 of file itkDTITubeSpatialObjectPoint.h.
References itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::Begin(), and itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::End().
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetTensorMatrix | ( | const float * | matrix | ) | [inline] |
Definition at line 72 of file itkDTITubeSpatialObjectPoint.h.
std::string itk::DTITubeSpatialObjectPoint< TPointDimension >::TranslateEnumToChar | ( | FieldEnumType | name | ) | const [protected] |
Translate the enum to char
FieldListType itk::DTITubeSpatialObjectPoint< TPointDimension >::m_Fields [protected] |
Definition at line 107 of file itkDTITubeSpatialObjectPoint.h.
float itk::DTITubeSpatialObjectPoint< TPointDimension >::m_TensorMatrix[6] [protected] |
Definition at line 106 of file itkDTITubeSpatialObjectPoint.h.