18 #ifndef __itkDTITubeSpatialObjectPoint_h
19 #define __itkDTITubeSpatialObjectPoint_h
23 #include "vnl/vnl_vector_fixed.h"
36 template<
unsigned int TPo
intDimension = 3 >
52 typedef enum { FA, ADC, GA } FieldEnumType;
64 std::copy(matrix.
Begin(), matrix.
End(), m_TensorMatrix);
69 std::copy(matrix.
Begin(), matrix.
End(), m_TensorMatrix);
72 void SetTensorMatrix(
const float *matrix)
74 for (
unsigned int i = 0; i < 6; i++ )
76 m_TensorMatrix[i] = matrix[i];
86 void AddField(
const char *name,
float value);
89 void AddField(FieldEnumType name,
float value);
92 void SetField(FieldEnumType name,
float value);
94 void SetField(
const char *name,
float value);
100 float GetField(
const char *name)
const;
102 float GetField(FieldEnumType name)
const;
106 float m_TensorMatrix[6];
110 void PrintSelf(std::ostream & os,
Indent indent)
const;
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "itkDTITubeSpatialObjectPoint.hxx"
121 #endif // __itkDTITubeSpatialObjectPoint_h