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