ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkNumericTraitsVariableLengthVectorPixel.h>
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.
typedef VariableLengthVector< ElementAbsType > itk::NumericTraits< VariableLengthVector< T > >::AbsType |
Unsigned component type
Definition at line 70 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef VariableLengthVector< ElementAccumulateType > itk::NumericTraits< VariableLengthVector< T > >::AccumulateType |
Accumulation of addition and multiplication.
Definition at line 73 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef NumericTraits< T >::AbsType itk::NumericTraits< VariableLengthVector< T > >::ElementAbsType |
Definition at line 58 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef NumericTraits< T >::AccumulateType itk::NumericTraits< VariableLengthVector< T > >::ElementAccumulateType |
Definition at line 59 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef NumericTraits< T >::FloatType itk::NumericTraits< VariableLengthVector< T > >::ElementFloatType |
Definition at line 60 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef NumericTraits< T >::PrintType itk::NumericTraits< VariableLengthVector< T > >::ElementPrintType |
Definition at line 61 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef NumericTraits< T >::RealType itk::NumericTraits< VariableLengthVector< T > >::ElementRealType |
Definition at line 62 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef VariableLengthVector< ElementFloatType > itk::NumericTraits< VariableLengthVector< T > >::FloatType |
Typedef for operations that use floating point instead of real precision
Definition at line 77 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef Self itk::NumericTraits< VariableLengthVector< T > >::MeasurementVectorType |
Measurement vector type
Definition at line 89 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef VariableLengthVector< ElementPrintType > itk::NumericTraits< VariableLengthVector< T > >::PrintType |
Return the type that can be printed.
Definition at line 80 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef VariableLengthVector< ElementRealType > itk::NumericTraits< VariableLengthVector< T > >::RealType |
Type for real-valued scalar operations.
Definition at line 83 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef ElementRealType itk::NumericTraits< VariableLengthVector< T > >::ScalarRealType |
Type for real-valued scalar operations.
Definition at line 86 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef VariableLengthVector< T > itk::NumericTraits< VariableLengthVector< T > >::Self |
Definition at line 67 of file itkNumericTraitsVariableLengthVectorPixel.h.
typedef T itk::NumericTraits< VariableLengthVector< T > >::ValueType |
Return the type of the native component type.
Definition at line 65 of file itkNumericTraitsVariableLengthVectorPixel.h.
static void itk::NumericTraits< VariableLengthVector< T > >::AssignToArray | ( | const Self & | v, |
MeasurementVectorType & | mv | ||
) | [inline, static] |
Definition at line 167 of file itkNumericTraitsVariableLengthVectorPixel.h.
static void itk::NumericTraits< VariableLengthVector< T > >::AssignToArray | ( | const Self & | v, |
TArray & | mv | ||
) | [inline, static] |
Definition at line 173 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
static unsigned int itk::NumericTraits< VariableLengthVector< T > >::GetLength | ( | const VariableLengthVector< T > & | m | ) | [inline, static] |
Return the size of the vector.
Definition at line 162 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::GetSize().
static const Self itk::NumericTraits< VariableLengthVector< T > >::max | ( | const Self & | a | ) | [inline, static] |
Component wise defined element
Definition at line 96 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
static const Self itk::NumericTraits< VariableLengthVector< T > >::min | ( | const Self & | a | ) | [inline, static] |
Definition at line 104 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
static const Self itk::NumericTraits< VariableLengthVector< T > >::NonpositiveMin | ( | const Self & | a | ) | [inline, static] |
Definition at line 146 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
static const Self itk::NumericTraits< VariableLengthVector< T > >::One | ( | const Self & | a | ) | [inline, static] |
Definition at line 138 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
static const Self itk::NumericTraits< VariableLengthVector< T > >::OneValue | ( | const Self & | a | ) | [inline, static] |
Definition at line 129 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
static void itk::NumericTraits< VariableLengthVector< T > >::SetLength | ( | VariableLengthVector< T > & | m, |
const unsigned int | s | ||
) | [inline, static] |
Resize the input vector to the specified size.
Definition at line 154 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::SetSize().
static const Self itk::NumericTraits< VariableLengthVector< T > >::Zero | ( | const Self & | a | ) | [inline, static] |
Definition at line 121 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
static const Self itk::NumericTraits< VariableLengthVector< T > >::ZeroValue | ( | const Self & | a | ) | [inline, static] |
Definition at line 112 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().