Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::MeasurementVectorTraits Class Reference

#include <itkMeasurementVectorTraits.h>

List of all members.


Detailed Description

Definition at line 44 of file itkMeasurementVectorTraits.h.

Public Types

typedef unsigned int MeasurementVectorLength

Static Public Member Functions

template<class TValueType>
static MeasurementVectorLength Assert (const std::vector< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType>
static MeasurementVectorLength Assert (const std::vector< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType>
static MeasurementVectorLength Assert (const VariableLengthVector< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType>
static MeasurementVectorLength Assert (const VariableLengthVector< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType>
static MeasurementVectorLength Assert (const Array< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType>
static MeasurementVectorLength Assert (const Array< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType1, unsigned int TLength>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, TLength > *, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType1, unsigned int TLength>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, TLength > &, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, TLength > *, const VariableLengthVector< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, TLength > &, const VariableLengthVector< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, TLength > *, const Array< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, TLength > &, const Array< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType>
static MeasurementVectorLength GetLength (const std::vector< TValueType > *m)
template<class TValueType>
static MeasurementVectorLength GetLength (const std::vector< TValueType > &m)
template<class TValueType>
static MeasurementVectorLength GetLength (const VariableLengthVector< TValueType > *m)
template<class TValueType>
static MeasurementVectorLength GetLength (const VariableLengthVector< TValueType > &m)
template<class TValueType>
static MeasurementVectorLength GetLength (const Array< TValueType > *m)
template<class TValueType>
static MeasurementVectorLength GetLength (const Array< TValueType > &m)
template<class TValueType, unsigned int TLength>
static MeasurementVectorLength GetLength (const FixedArray< TValueType, TLength > *)
template<class TValueType, unsigned int TLength>
static MeasurementVectorLength GetLength (const FixedArray< TValueType, TLength > &)
template<class TValueType>
static void SetLength (std::vector< TValueType > *m, const unsigned int s)
template<class TValueType>
static void SetLength (std::vector< TValueType > &m, const unsigned int s)
template<class TValueType>
static void SetLength (VariableLengthVector< TValueType > *m, const unsigned int s)
template<class TValueType>
static void SetLength (VariableLengthVector< TValueType > &m, const unsigned int s)
template<class TValueType>
static void SetLength (Array< TValueType > *m, const unsigned int s)
template<class TValueType>
static void SetLength (Array< TValueType > &m, const unsigned int s)
template<class TValueType, unsigned int TLength>
static void SetLength (FixedArray< TValueType, TLength > *m, const unsigned int s)
template<class TValueType, unsigned int TLength>
static void SetLength (FixedArray< TValueType, TLength > &m, const unsigned int s)


Member Typedef Documentation

typedef unsigned int itk::MeasurementVectorTraits::MeasurementVectorLength

Definition at line 47 of file itkMeasurementVectorTraits.h.


Member Function Documentation

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const std::vector< TValueType > *  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 330 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro.

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const std::vector< TValueType > &  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 315 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro.

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType > *  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 301 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType > &  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 286 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const Array< TValueType > *  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 271 of file itkMeasurementVectorTraits.h.

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

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const Array< TValueType > &  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 256 of file itkMeasurementVectorTraits.h.

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

template<class TValueType1, unsigned int TLength>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, TLength > *  ,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 240 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro.

template<class TValueType1, unsigned int TLength>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, TLength > &  ,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 224 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro.

template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, TLength > *  ,
const VariableLengthVector< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 208 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().

template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, TLength > &  ,
const VariableLengthVector< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 189 of file itkMeasurementVectorTraits.h.

References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().

template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, TLength > *  ,
const Array< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 173 of file itkMeasurementVectorTraits.h.

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

template<class TValueType1, unsigned int TLength, class TValueType2>
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, TLength > &  ,
const Array< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

Definition at line 154 of file itkMeasurementVectorTraits.h.

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

Referenced by itk::Statistics::ListSampleToHistogramGenerator< TListSample, THistogramMeasurement, TFrequencyContainer, TMeasurementVectorLength >::SetHistogramMax(), itk::Statistics::ListSampleToHistogramGenerator< TListSample, THistogramMeasurement, TFrequencyContainer, TMeasurementVectorLength >::SetHistogramMin(), and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::SetMean().

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const std::vector< TValueType > *  m  )  [inline, static]

Definition at line 149 of file itkMeasurementVectorTraits.h.

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const std::vector< TValueType > &  m  )  [inline, static]

Definition at line 144 of file itkMeasurementVectorTraits.h.

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const VariableLengthVector< TValueType > *  m  )  [inline, static]

Definition at line 139 of file itkMeasurementVectorTraits.h.

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

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const VariableLengthVector< TValueType > &  m  )  [inline, static]

Definition at line 134 of file itkMeasurementVectorTraits.h.

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

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const Array< TValueType > *  m  )  [inline, static]

Definition at line 129 of file itkMeasurementVectorTraits.h.

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

template<class TValueType>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const Array< TValueType > &  m  )  [inline, static]

Definition at line 124 of file itkMeasurementVectorTraits.h.

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

template<class TValueType, unsigned int TLength>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const FixedArray< TValueType, TLength > *   )  [inline, static]

Definition at line 119 of file itkMeasurementVectorTraits.h.

template<class TValueType, unsigned int TLength>
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength ( const FixedArray< TValueType, TLength > &   )  [inline, static]

Definition at line 114 of file itkMeasurementVectorTraits.h.

Referenced by itk::Statistics::ListSample< TMeasurementVector >::GetMeasurementVectorSize(), itk::Statistics::MeanShiftModeCacheMethod< TMeasurementVector >::LessMeasurementVector::operator()(), itk::Statistics::Sample< TPointSet::PointType >::Sample(), itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::SetCentroids(), and itk::Statistics::Sample< TPointSet::PointType >::SetMeasurementVectorSize().

template<class TValueType>
static void itk::MeasurementVectorTraits::SetLength ( std::vector< TValueType > *  m,
const unsigned int  s 
) [inline, static]

Definition at line 106 of file itkMeasurementVectorTraits.h.

template<class TValueType>
static void itk::MeasurementVectorTraits::SetLength ( std::vector< TValueType > &  m,
const unsigned int  s 
) [inline, static]

Definition at line 100 of file itkMeasurementVectorTraits.h.

template<class TValueType>
static void itk::MeasurementVectorTraits::SetLength ( VariableLengthVector< TValueType > *  m,
const unsigned int  s 
) [inline, static]

Definition at line 93 of file itkMeasurementVectorTraits.h.

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

template<class TValueType>
static void itk::MeasurementVectorTraits::SetLength ( VariableLengthVector< TValueType > &  m,
const unsigned int  s 
) [inline, static]

Definition at line 86 of file itkMeasurementVectorTraits.h.

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

template<class TValueType>
static void itk::MeasurementVectorTraits::SetLength ( Array< TValueType > *  m,
const unsigned int  s 
) [inline, static]

Definition at line 79 of file itkMeasurementVectorTraits.h.

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

template<class TValueType>
static void itk::MeasurementVectorTraits::SetLength ( Array< TValueType > &  m,
const unsigned int  s 
) [inline, static]

Definition at line 72 of file itkMeasurementVectorTraits.h.

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

template<class TValueType, unsigned int TLength>
static void itk::MeasurementVectorTraits::SetLength ( FixedArray< TValueType, TLength > *  m,
const unsigned int  s 
) [inline, static]

Definition at line 61 of file itkMeasurementVectorTraits.h.

References itk::FixedArray< TValueType, VLength >::Fill(), and itkGenericExceptionMacro.

template<class TValueType, unsigned int TLength>
static void itk::MeasurementVectorTraits::SetLength ( FixedArray< TValueType, TLength > &  m,
const unsigned int  s 
) [inline, static]

Definition at line 50 of file itkMeasurementVectorTraits.h.

References itk::FixedArray< TValueType, VLength >::Fill(), and itkGenericExceptionMacro.

Referenced by itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::SetCentroids(), and itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::SetKdTree().


The documentation for this class was generated from the following file:
Generated at Mon Apr 14 20:02:16 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000