|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkNumericTraitsRGBAPixel_h
19 #define itkNumericTraitsRGBAPixel_h
173 static constexpr
bool IsSigned = std::is_signed_v<ValueType>;
174 static constexpr
bool IsInteger = std::is_integral_v<ValueType>;
185 itkGenericExceptionMacro(
"Cannot set the size of a RGBAPixel to anything other "
212 template <
typename TArray>
216 for (
unsigned int i = 0; i < 4; ++i)
230 #endif // itkNumericTraitsRGBAPixel_h
static const Self NonpositiveMin(const Self &)
static void AssignToArray(const Self &v, TArray &mv)
static unsigned int GetLength(const RGBAPixel< T > &)
static const Self ZeroValue()
static bool IsPositive(T val)
static constexpr T NonpositiveMin()
static bool IsNonpositive(Self val)
typename NumericTraits< T >::PrintType ElementPrintType
typename NumericTraits< T >::AbsType ElementAbsType
static bool IsNegative(Self val)
static const Self ITKCommon_EXPORT One
static bool IsPositive(Self val)
static constexpr bool IsSigned
static const Self OneValue()
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static constexpr bool IsInteger
typename NumericTraits< T >::RealType ElementRealType
static void SetLength(RGBAPixel< T > &m, const unsigned int s)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static const Self ZeroValue(const Self &)
static const Self OneValue(const Self &)
typename NumericTraits< T >::FloatType ElementFloatType
Define additional traits for native types such as int or float.
static const Self ITKCommon_EXPORT Zero
LuminanceType GetLuminance() const
Represent Red, Green, Blue and Alpha components for color images.
static bool IsNonnegative(T val)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static constexpr bool IsComplex
static bool IsNonpositive(T val)
static const Self NonpositiveMin()
static bool IsNonnegative(Self val)
static const Self max(const Self &)
ElementRealType ScalarRealType
static unsigned int GetLength()
static const Self min(const Self &)
static bool IsNegative(T val)
void Fill(const ValueType &)