18 #ifndef itkNumericTraitsPointPixel_h 19 #define itkNumericTraitsPointPixel_h 31 template<
typename T,
unsigned int D >
75 static const Self
max(
const Self &)
80 static const Self
min(
const Self &)
85 static const Self
max()
90 static const Self
min()
136 itkGenericExceptionMacro(<<
"Cannot set the size of a Point of length " 137 << D <<
" to " << s);
160 template<
typename TArray>
163 for(
unsigned int i=0; i<D; i++ )
172 static const Self ITKCommon_EXPORT
Zero;
173 static const Self ITKCommon_EXPORT
One;
177 #endif // itkNumericTraitsPointPixel_h static unsigned int GetLength()
static const Self ZeroValue()
static void AssignToArray(const Self &v, TArray &mv)
static const Self ZeroValue(const Self &)
static unsigned int GetLength(const Point< T, D > &)
static const Self ITKCommon_EXPORT One
Self MeasurementVectorType
static ITK_CONSTEXPR bool IsComplex
NumericTraits< T >::RealType ElementRealType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
static const Self NonpositiveMin(const Self &)
NumericTraits< T >::AbsType ElementAbsType
Point< ElementAbsType, D > AbsType
static const Self OneValue(const Self &)
ElementRealType ScalarRealType
void Fill(const ValueType &)
static const Self NonpositiveMin()
Point< ElementPrintType, D > PrintType
NumericTraits< T >::FloatType ElementFloatType
NumericTraits< T >::PrintType ElementPrintType
static void SetLength(Point< T, D > &m, const unsigned int s)
static const Self max(const Self &)
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static ITK_CONSTEXPR bool IsSigned
Define additional traits for native types such as int or float.
Point< ElementRealType, D > RealType
Point< ElementFloatType, D > FloatType
static ITK_CONSTEXPR bool IsInteger
A templated class holding a geometric point in n-Dimensional space.
NumericTraits< T >::AccumulateType ElementAccumulateType
static const Self min(const Self &)
static const Self ITKCommon_EXPORT Zero
static const Self OneValue()
Point< ElementAccumulateType, D > AccumulateType