18 #ifndef itkNumericTraitsRGBAPixel_h
19 #define itkNumericTraitsRGBAPixel_h
42 template<
typename T >
148 itkGenericExceptionMacro(<<
"Cannot set the size of a RGBAPixel to anything other "
172 template<
typename TArray>
175 for(
unsigned int i=0; i<4; i++ )
189 #endif // itkNumericTraitsRGBAPixel_h
static const Self NonpositiveMin(const Self &)
NumericTraits< T >::RealType ElementRealType
static unsigned int GetLength(const RGBAPixel< T > &)
static ITK_CONSTEXPR_VAR bool IsComplex
static const Self min(const Self &)
Represent Red, Green, Blue and Alpha components for color images.
RGBAPixel< ElementAccumulateType > AccumulateType
ElementRealType ScalarRealType
static const Self ITKCommon_EXPORT One
NumericTraits< T >::AccumulateType ElementAccumulateType
static void SetLength(RGBAPixel< T > &m, const unsigned int s)
NumericTraits< T >::PrintType ElementPrintType
Self MeasurementVectorType
static ITK_CONSTEXPR_VAR bool IsInteger
RGBAPixel< ElementPrintType > PrintType
void Fill(const ValueType &)
static const Self OneValue(const Self &)
static const Self NonpositiveMin()
static const Self ITKCommon_EXPORT Zero
static const Self OneValue()
static const Self ZeroValue(const Self &)
static const Self max(const Self &)
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
RGBAPixel< ElementFloatType > FloatType
static void AssignToArray(const Self &v, TArray &mv)
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
static ITK_CONSTEXPR_VAR bool IsSigned
RGBAPixel< ElementRealType > RealType
NumericTraits< T >::AbsType ElementAbsType
static unsigned int GetLength()
Define additional traits for native types such as int or float.
NumericTraits< T >::FloatType ElementFloatType
static const Self ZeroValue()
RGBAPixel< ElementAbsType > AbsType