ITK
4.3.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.
Public Types | |
typedef VariableLengthVector < ElementAbsType > | AbsType |
typedef VariableLengthVector < ElementAccumulateType > | AccumulateType |
typedef NumericTraits< T >::AbsType | ElementAbsType |
typedef NumericTraits< T > ::AccumulateType | ElementAccumulateType |
typedef NumericTraits< T > ::FloatType | ElementFloatType |
typedef NumericTraits< T > ::PrintType | ElementPrintType |
typedef NumericTraits< T > ::RealType | ElementRealType |
typedef VariableLengthVector < ElementFloatType > | FloatType |
typedef Self | MeasurementVectorType |
typedef VariableLengthVector < ElementPrintType > | PrintType |
typedef VariableLengthVector < ElementRealType > | RealType |
typedef ElementRealType | ScalarRealType |
typedef VariableLengthVector< T > | Self |
typedef T | ValueType |
Static Public Member Functions | |
static void | AssignToArray (const Self &v, MeasurementVectorType &mv) |
template<class TArray > | |
static void | AssignToArray (const Self &v, TArray &mv) |
static unsigned int | GetLength (const VariableLengthVector< T > &m) |
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) |
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.
|
inlinestatic |
Definition at line 202 of file itkNumericTraitsVariableLengthVectorPixel.h.
|
inlinestatic |
Definition at line 208 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Return the size of the vector.
Definition at line 197 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::GetSize().
|
inlinestatic |
Definition at line 161 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 174 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 148 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 135 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< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
|
inlinestatic |
Definition at line 104 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
|
inlinestatic |
Definition at line 128 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
|
inlinestatic |
Definition at line 120 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().
|
inlinestatic |
Resize the input vector to the specified size.
Definition at line 189 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::SetSize().
|
inlinestatic |
Definition at line 112 of file itkNumericTraitsVariableLengthVectorPixel.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::Size().