18 #ifndef itkDistanceMetric_h
19 #define itkDistanceMetric_h
46 template<
typename TVector >
103 if ( s == this->m_MeasurementVectorSize )
109 this->m_MeasurementVectorSize = s;
121 if ( defaultLength != s )
124 "Attempting to change the measurement \
125 vector size of a non-resizable vector type" );
131 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
136 void PrintSelf(std::ostream & os,
Indent indent)
const override;
148 #ifndef ITK_MANUAL_INSTANTIATION
149 #include "itkDistanceMetric.hxx"
Light weight base class for most itk classes.
Define numeric traits for std::vector.
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
this class declares common interfaces for distance functions.
static bool IsResizable(const TVectorType &)
MeasurementVectorSizeType m_MeasurementVectorSize
Base class for all ITK function objects.
Control indentation during Print() invocation.
unsigned int MeasurementVectorSizeType