ITK
5.2.0
Insight Toolkit
|
#include <itkNumericTraitsVariableLengthVectorPixel.h>
Public Types | |
using | AbsType = VariableLengthVector< ElementAbsType > |
using | AccumulateType = VariableLengthVector< ElementAccumulateType > |
using | ElementAbsType = typename NumericTraits< T >::AbsType |
using | ElementAccumulateType = typename NumericTraits< T >::AccumulateType |
using | ElementFloatType = typename NumericTraits< T >::FloatType |
using | ElementPrintType = typename NumericTraits< T >::PrintType |
using | ElementRealType = typename NumericTraits< T >::RealType |
using | FloatType = VariableLengthVector< ElementFloatType > |
using | MeasurementVectorType = Self |
using | PrintType = VariableLengthVector< ElementPrintType > |
using | RealType = VariableLengthVector< ElementRealType > |
using | ScalarRealType = ElementRealType |
using | Self = VariableLengthVector< T > |
using | ValueType = T |
Static Public Member Functions | |
static bool | IsNegative (const Self &a) |
static bool | IsNonnegative (const Self &a) |
static bool | IsNonpositive (const Self &a) |
static bool | IsPositive (const Self &a) |
static const Self | max (const Self &a) |
static const Self | min (const Self &a) |
static const Self | NonpositiveMin (const Self &a) |
static const Self | OneValue (const Self &a) |
static const Self | ZeroValue (const Self &a) |
static void | SetLength (VariableLengthVector< T > &m, const unsigned int s) |
static unsigned int | GetLength (const VariableLengthVector< T > &m) |
static void | AssignToArray (const Self &v, MeasurementVectorType &mv) |
template<typename TArray > | |
static void | AssignToArray (const Self &v, TArray &mv) |
Static Public Attributes | |
static constexpr bool | IsComplex = NumericTraits<ValueType>::IsComplex |
static constexpr bool | IsInteger = NumericTraits<ValueType>::IsInteger |
static constexpr bool | IsSigned = NumericTraits<ValueType>::IsSigned |
Define numeric traits for VariableLengthVector.
T | Component type of VariableLenghtVector |
We provide here a generic implementation based on creating types of VariableLengthVector whose components are the types of the NumericTraits from the original VariableLengthVector components. This implementation require support for partial specializations, since it is based on the concept that: NumericTraits<VariableLengthVector< T > > is defined piecewise by VariableLengthVector< NumericTraits< T > >
Definition at line 54 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::AbsType = VariableLengthVector<ElementAbsType> |
Unsigned component type
Definition at line 69 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::AccumulateType = VariableLengthVector<ElementAccumulateType> |
Accumulation of addition and multiplication.
Definition at line 72 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::ElementAbsType = typename NumericTraits<T>::AbsType |
Definition at line 57 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::ElementAccumulateType = typename NumericTraits<T>::AccumulateType |
Definition at line 58 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::ElementFloatType = typename NumericTraits<T>::FloatType |
Definition at line 59 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::ElementPrintType = typename NumericTraits<T>::PrintType |
Definition at line 60 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::ElementRealType = typename NumericTraits<T>::RealType |
Definition at line 61 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::FloatType = VariableLengthVector<ElementFloatType> |
Typedef for operations that use floating point instead of real precision
Definition at line 76 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::MeasurementVectorType = Self |
Measurement vector type
Definition at line 88 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::PrintType = VariableLengthVector<ElementPrintType> |
Return the type that can be printed.
Definition at line 79 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::RealType = VariableLengthVector<ElementRealType> |
Type for real-valued scalar operations.
Definition at line 82 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::ScalarRealType = ElementRealType |
Type for real-valued scalar operations.
Definition at line 85 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::Self = VariableLengthVector<T> |
Definition at line 66 of file itkNumericTraitsVariableLengthVectorPixel.h.
using itk::NumericTraits< VariableLengthVector< T > >::ValueType = T |
Return the type of the native component type.
Definition at line 64 of file itkNumericTraitsVariableLengthVectorPixel.h.
|
inlinestatic |
Resize the input vector to the specified size.
Definition at line 217 of file itkNumericTraitsVariableLengthVectorPixel.h.
|
inlinestatic |
Resize the input vector to the specified size.
Definition at line 224 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Return the size of the vector.
Definition at line 211 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValue >::GetSize().
|
inlinestatic |
Definition at line 168 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 182 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 154 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 140 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Component wise defined element
Definition at line 96 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValue >::Fill(), and itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 105 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValue >::Fill(), and itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 132 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValue >::Fill(), and itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 123 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValue >::Fill(), and itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Resize the input vector to the specified size.
Definition at line 202 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValue >::Fill(), and itk::VariableLengthVector< TValue >::SetSize().
|
inlinestatic |
Definition at line 114 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValue >::Fill(), and itk::VariableLengthVector< TValue >::Size().
|
staticconstexpr |
Definition at line 197 of file itkNumericTraitsVariableLengthVectorPixel.h.
|
staticconstexpr |
Definition at line 196 of file itkNumericTraitsVariableLengthVectorPixel.h.
|
staticconstexpr |
Definition at line 195 of file itkNumericTraitsVariableLengthVectorPixel.h.