ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | Private Types
itk::NumericTraits< Array< T > > Class Template Reference

#include <itkNumericTraitsArrayPixel.h>

List of all members.

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<class 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 One (const Self &a)
static const Self OneValue (const Self &a)
static const Self Zero (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

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.


Member Typedef Documentation

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

Unsigned component type

Definition at line 46 of file itkNumericTraitsArrayPixel.h.

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

Accumulation of addition and multiplication.

Definition at line 49 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 53 of file itkNumericTraitsArrayPixel.h.

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

Measurement vector type

Definition at line 65 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 56 of file itkNumericTraitsArrayPixel.h.

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

Type for real-valued scalar operations.

Definition at line 59 of file itkNumericTraitsArrayPixel.h.

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

Type for real-valued scalar operations.

Definition at line 62 of file itkNumericTraitsArrayPixel.h.

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

Definition at line 43 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 42 of file itkNumericTraitsArrayPixel.h.


Member Function Documentation

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

Definition at line 143 of file itkNumericTraitsArrayPixel.h.

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

Get the length of the input array.

Definition at line 138 of file itkNumericTraitsArrayPixel.h.

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

template<typename T >
static const Self itk::NumericTraits< Array< T > >::max ( const Self a) [inline, static]

Component wise defined element

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

Definition at line 72 of file itkNumericTraitsArrayPixel.h.

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

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

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

Definition at line 130 of file itkNumericTraitsArrayPixel.h.

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

template<typename T >
static const Self itk::NumericTraits< Array< T > >::Zero ( const Self a) [inline, static]
template<typename T >
static const Self itk::NumericTraits< Array< T > >::ZeroValue ( const Self a) [inline, static]

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