18 #ifndef itkNumericTraitsDiffusionTensor3DPixel_h 19 #define itkNumericTraitsDiffusionTensor3DPixel_h 44 template<
typename T >
89 static const Self
max(
const Self &)
94 static const Self
min(
const Self &)
151 itkGenericExceptionMacro(<<
"Cannot set the size of a DiffusionTensor3D " 152 "to anything other than 6.");
175 template<
typename TArray>
178 for(
unsigned int i=0; i<6; i++ )
187 static const Self ITKCommon_EXPORT
Zero;
188 static const Self ITKCommon_EXPORT
One;
192 #endif // itkNumericTraitsTensorPixel_h static const Self ZeroValue(const Self &)
static const Self ZeroValue()
NumericTraits< T >::FloatType ElementFloatType
DiffusionTensor3D< ElementAccumulateType > AccumulateType
ElementRealType ScalarRealType
Self MeasurementVectorType
static const Self OneValue()
static const Self ITKCommon_EXPORT One
static const Self max(const Self &)
DiffusionTensor3D< ElementAbsType > AbsType
static ITK_CONSTEXPR bool IsComplex
static const Self NonpositiveMin()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
void Fill(const ValueType &)
static const Self OneValue(const Self &)
static unsigned int GetLength()
NumericTraits< T >::RealType ElementRealType
NumericTraits< T >::AbsType ElementAbsType
DiffusionTensor3D< ElementRealType > RealType
static unsigned int GetLength(const DiffusionTensor3D< T > &)
DiffusionTensor3D< ElementPrintType > PrintType
static const Self NonpositiveMin(const Self &)
DiffusionTensor3D< T > Self
static const Self min(const Self &)
static ITK_CONSTEXPR bool IsSigned
NumericTraits< T >::PrintType ElementPrintType
static void SetLength(DiffusionTensor3D< T > &m, const unsigned int s)
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
Define additional traits for native types such as int or float.
static ITK_CONSTEXPR bool IsInteger
NumericTraits< T >::AccumulateType ElementAccumulateType
Represent a diffusion tensor as used in DTI images.
static const Self ITKCommon_EXPORT Zero
static void AssignToArray(const Self &v, TArray &mv)
DiffusionTensor3D< ElementFloatType > FloatType