ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | Static Public Attributes | Private Types | List of all members
itk::NumericTraits< Array< T > > Class Template Reference

#include <itkNumericTraitsArrayPixel.h>

Detailed Description

template<typename T>
class itk::NumericTraits< Array< T > >

NumericTraits for Array.

Template Parameters
Ttype of the array component

Definition at line 30 of file itkNumericTraitsArrayPixel.h.

Public Types

typedef Array< ElementAbsTypeAbsType
 
typedef Array
< ElementAccumulateType
AccumulateType
 
typedef Array< ElementFloatTypeFloatType
 
typedef Self MeasurementVectorType
 
typedef Array< ElementPrintTypePrintType
 
typedef Array< ElementRealTypeRealType
 
typedef ElementRealType ScalarRealType
 
typedef Array< T > Self
 
typedef T ValueType
 

Static Public Member Functions

static void AssignToArray (const Self &v, MeasurementVectorType &mv)
 
template<typename TArray >
static void AssignToArray (const Self &v, TArray &mv)
 
static unsigned int GetLength (const Array< T > &m)
 
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 (Array< T > &m, const unsigned int s)
 

Static Public Attributes

static ITK_CONSTEXPR_VAR bool IsComplex = NumericTraits< ValueType >::IsComplex
 
static ITK_CONSTEXPR_VAR bool IsInteger = NumericTraits< ValueType >::IsInteger
 
static ITK_CONSTEXPR_VAR bool IsSigned = NumericTraits< ValueType >::IsSigned
 

Private Types

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
 

Member Typedef Documentation

template<typename T >
typedef Array< ElementAbsType > itk::NumericTraits< Array< T > >::AbsType

Unsigned component type

Definition at line 47 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef Array< ElementAccumulateType > itk::NumericTraits< Array< T > >::AccumulateType

Accumulation of addition and multiplication.

Definition at line 50 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef NumericTraits< T >::AbsType itk::NumericTraits< Array< T > >::ElementAbsType
private

Definition at line 34 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef NumericTraits< T >::AccumulateType itk::NumericTraits< Array< T > >::ElementAccumulateType
private

Definition at line 35 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef NumericTraits< T >::FloatType itk::NumericTraits< Array< T > >::ElementFloatType
private

Definition at line 36 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef NumericTraits< T >::PrintType itk::NumericTraits< Array< T > >::ElementPrintType
private

Definition at line 37 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef NumericTraits< T >::RealType itk::NumericTraits< Array< T > >::ElementRealType
private

Definition at line 38 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef Array< ElementFloatType > itk::NumericTraits< Array< T > >::FloatType

Typedef for operations that use floating point instead of real precision

Definition at line 54 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef Self itk::NumericTraits< Array< T > >::MeasurementVectorType

Measurement vector type

Definition at line 66 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef Array< ElementPrintType > itk::NumericTraits< Array< T > >::PrintType

Return the type that can be printed.

Definition at line 57 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef Array< ElementRealType > itk::NumericTraits< Array< T > >::RealType

Type for real-valued scalar operations.

Definition at line 60 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef ElementRealType itk::NumericTraits< Array< T > >::ScalarRealType

Type for real-valued scalar operations.

Definition at line 63 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef Array< T > itk::NumericTraits< Array< T > >::Self

Definition at line 44 of file itkNumericTraitsArrayPixel.h.

template<typename T >
typedef T itk::NumericTraits< Array< T > >::ValueType

Return the type of the native component type.

Definition at line 43 of file itkNumericTraitsArrayPixel.h.

Member Function Documentation

template<typename T >
static void itk::NumericTraits< Array< T > >::AssignToArray ( const Self v,
MeasurementVectorType mv 
)
inlinestatic

Definition at line 130 of file itkNumericTraitsArrayPixel.h.

template<typename T >
template<typename TArray >
static void itk::NumericTraits< Array< T > >::AssignToArray ( const Self v,
TArray &  mv 
)
inlinestatic
template<typename T >
static unsigned int itk::NumericTraits< Array< T > >::GetLength ( const Array< T > &  m)
inlinestatic

Get the length of the input array.

Definition at line 125 of file itkNumericTraitsArrayPixel.h.

References itk::Array< TValue >::GetSize().

template<typename T >
static const Self itk::NumericTraits< Array< T > >::max ( const Self a)
inlinestatic

Component wise defined element

Note
minimum value for floating pointer types is defined as minimum positive normalize value.

Definition at line 73 of file itkNumericTraitsArrayPixel.h.

References itk::Array< TValue >::Fill(), and itk::Array< TValue >::Size().

template<typename T >
static const Self itk::NumericTraits< Array< T > >::min ( const Self a)
inlinestatic
template<typename T >
static const Self itk::NumericTraits< Array< T > >::NonpositiveMin ( const Self a)
inlinestatic
template<typename T >
static const Self itk::NumericTraits< Array< T > >::OneValue ( const Self a)
inlinestatic
template<typename T >
static void itk::NumericTraits< Array< T > >::SetLength ( Array< T > &  m,
const unsigned int  s 
)
inlinestatic

Set the length of the input array and fill it with zeros.

Definition at line 117 of file itkNumericTraitsArrayPixel.h.

References itk::Array< TValue >::Fill(), and itk::Array< TValue >::SetSize().

template<typename T >
static const Self itk::NumericTraits< Array< T > >::ZeroValue ( const Self a)
inlinestatic

Member Data Documentation

template<typename T >
ITK_CONSTEXPR_VAR bool itk::NumericTraits< Array< T > >::IsComplex = NumericTraits< ValueType >::IsComplex
static

Definition at line 114 of file itkNumericTraitsArrayPixel.h.

template<typename T >
ITK_CONSTEXPR_VAR bool itk::NumericTraits< Array< T > >::IsInteger = NumericTraits< ValueType >::IsInteger
static

Definition at line 113 of file itkNumericTraitsArrayPixel.h.

template<typename T >
ITK_CONSTEXPR_VAR bool itk::NumericTraits< Array< T > >::IsSigned = NumericTraits< ValueType >::IsSigned
static

Definition at line 112 of file itkNumericTraitsArrayPixel.h.


The documentation for this class was generated from the following file: