ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | 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)
 

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 126 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 121 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 113 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

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