18#ifndef itkDTITubeSpatialObjectPoint_h
19#define itkDTITubeSpatialObjectPoint_h
23#include "vnl/vnl_vector_fixed.h"
47extern ITKSpatialObjects_EXPORT std::ostream &
60template <
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;
150 float m_TensorMatrix[6]{};
163#ifndef ITK_MANUAL_INSTANTIATION
164# include "itkDTITubeSpatialObjectPoint.hxx"
Contains all enum classes used by DTITubeSpatialObjectPoint class.
Point used for a tube definition.
void SetTensorMatrix(const DiffusionTensor3D< double > &matrix)
std::string TranslateEnumToChar(DTITubeSpatialObjectPointFieldEnum name) const
~DTITubeSpatialObjectPoint() override=default
std::vector< FieldType > FieldListType
void AddField(const char *name, float value)
void SetTensorMatrix(const float *matrix)
float GetField(const char *name) const
void SetTensorMatrix(const DiffusionTensor3D< float > &matrix)
void PrintSelf(std::ostream &os, Indent indent) const override
void AddField(DTITubeSpatialObjectPointFieldEnum name, float value)
DTITubeSpatialObjectPoint()
ITK_DEFAULT_COPY_AND_MOVE(DTITubeSpatialObjectPoint)
const float * GetTensorMatrix() const
void SetField(DTITubeSpatialObjectPointFieldEnum name, float value)
float GetField(DTITubeSpatialObjectPointFieldEnum name) const
void SetField(const char *name, float value)
const FieldListType & GetFields() const
std::pair< std::string, float > FieldType
Represent a diffusion tensor as used in DTI images.
Control indentation during Print() invocation.
Point used for a tube definition.
DTITubeSpatialObjectPointField
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)