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>
73#if !defined(ITK_LEGACY_REMOVE)
97 std::copy(matrix.
Begin(), matrix.
End(), m_TensorMatrix);
103 std::copy(matrix.
Begin(), matrix.
End(), m_TensorMatrix);
109 for (
unsigned int i = 0; i < 6; ++i)
111 m_TensorMatrix[i] = matrix[i];
118 return m_TensorMatrix;
155 float m_TensorMatrix[6]{};
168#ifndef ITK_MANUAL_INSTANTIATION
169# include "itkDTITubeSpatialObjectPoint.hxx"
Pixel-wise addition of two images.
Contains all enum classes used by DTITubeSpatialObjectPoint class.
DTITubeSpatialObjectPointField
Point used for a tube definition.
DTITubeSpatialObjectPoint(const DTITubeSpatialObjectPoint &other)
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()
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
Self & operator=(const DTITubeSpatialObjectPoint &rhs)
Represent a diffusion tensor as used in DTI images.
Control indentation during Print() invocation.
Point used for a tube definition.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
std::ostream & operator<<(std::ostream &os, const Array< TValue > &arr)