18 #ifndef itkDTITubeSpatialObjectPoint_h
19 #define itkDTITubeSpatialObjectPoint_h
23 #include "vnl/vnl_vector_fixed.h"
47 extern ITKSpatialObjects_EXPORT std::ostream &
60 template <
unsigned int TPo
intDimension = 3>
75 #if !defined(ITK_LEGACY_REMOVE)
96 std::copy(matrix.
Begin(), matrix.
End(), m_TensorMatrix);
102 std::copy(matrix.
Begin(), matrix.
End(), m_TensorMatrix);
108 for (
unsigned int i = 0; i < 6; ++i)
110 m_TensorMatrix[i] = matrix[i];
117 return m_TensorMatrix;
122 AddField(
const char * name,
float value);
126 AddField(DTITubeSpatialObjectPointFieldEnum name,
float value);
130 SetField(DTITubeSpatialObjectPointFieldEnum name,
float value);
133 SetField(
const char * name,
float value);
136 const FieldListType &
144 GetField(
const char * name)
const;
147 GetField(DTITubeSpatialObjectPointFieldEnum name)
const;
150 float m_TensorMatrix[6]{};
155 PrintSelf(std::ostream & os,
Indent indent)
const override;
159 TranslateEnumToChar(DTITubeSpatialObjectPointFieldEnum name)
const;
163 #ifndef ITK_MANUAL_INSTANTIATION
164 # include "itkDTITubeSpatialObjectPoint.hxx"
167 #endif // itkDTITubeSpatialObjectPoint_h