|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkNumericTraitsPointPixel_h
19 #define itkNumericTraitsPointPixel_h
31 template <
typename T,
unsigned int D>
133 static constexpr
bool IsSigned = std::is_signed_v<ValueType>;
134 static constexpr
bool IsInteger = std::is_integral_v<ValueType>;
145 itkGenericExceptionMacro(
"Cannot set the size of a Point of length " << D <<
" to " << s);
171 template <
typename TArray>
175 for (
unsigned int i = 0; i < D; ++i)
189 #endif // itkNumericTraitsPointPixel_h
typename NumericTraits< T >::PrintType ElementPrintType
static const Self min(const Self &)
static void AssignToArray(const Self &v, TArray &mv)
static unsigned int GetLength(const Point< T, D > &)
static const Self OneValue()
ElementRealType ScalarRealType
typename NumericTraits< T >::FloatType ElementFloatType
static constexpr T NonpositiveMin()
static const Self NonpositiveMin(const Self &)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static constexpr bool IsSigned
static const Self max(const Self &)
static const Self ITKCommon_EXPORT Zero
static unsigned int GetLength()
static const Self NonpositiveMin()
static constexpr bool IsInteger
static const Self ITKCommon_EXPORT One
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static const Self OneValue(const Self &)
static const Self ZeroValue(const Self &)
Define additional traits for native types such as int or float.
static const Self ZeroValue()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static constexpr bool IsComplex
static void SetLength(Point< T, D > &m, const unsigned int s)
A templated class holding a geometric point in n-Dimensional space.
typename NumericTraits< T >::RealType ElementRealType
void Fill(const ValueType &)
typename NumericTraits< T >::AbsType ElementAbsType