#include <itkMeasurementVectorTraits.h>
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) |
typedef unsigned int itk::MeasurementVectorTraits::MeasurementVectorLength |
Definition at line 47 of file itkMeasurementVectorTraits.h.
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert | ( | const std::vector< TValueType > * | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert | ( | const std::vector< TValueType > & | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
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().
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().
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().
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().
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, TLength > * | , | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
static MeasurementVectorLength itk::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, TLength > & | , | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
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().
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().
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().
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().
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength | ( | const std::vector< TValueType > * | m | ) | [inline, static] |
Definition at line 149 of file itkMeasurementVectorTraits.h.
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength | ( | const std::vector< TValueType > & | m | ) | [inline, static] |
Definition at line 144 of file itkMeasurementVectorTraits.h.
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength | ( | const VariableLengthVector< TValueType > * | m | ) | [inline, static] |
Definition at line 139 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValueType >::GetSize().
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength | ( | const VariableLengthVector< TValueType > & | m | ) | [inline, static] |
Definition at line 134 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValueType >::GetSize().
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength | ( | const Array< TValueType > * | m | ) | [inline, static] |
Definition at line 129 of file itkMeasurementVectorTraits.h.
References itk::Array< TValueType >::GetSize().
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength | ( | const Array< TValueType > & | m | ) | [inline, static] |
Definition at line 124 of file itkMeasurementVectorTraits.h.
References itk::Array< TValueType >::GetSize().
static MeasurementVectorLength itk::MeasurementVectorTraits::GetLength | ( | const FixedArray< TValueType, TLength > * | ) | [inline, static] |
Definition at line 119 of file itkMeasurementVectorTraits.h.
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().
static void itk::MeasurementVectorTraits::SetLength | ( | std::vector< TValueType > * | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 106 of file itkMeasurementVectorTraits.h.
static void itk::MeasurementVectorTraits::SetLength | ( | std::vector< TValueType > & | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 100 of file itkMeasurementVectorTraits.h.
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().
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().
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().
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().
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.
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().