18 #ifndef itkDistanceMetric_h
19 #define itkDistanceMetric_h
47 template <
typename TVector>
100 if (MeasurementVectorTraits::IsResizable<MeasurementVectorType>({}))
105 if (s == this->m_MeasurementVectorSize)
111 this->m_MeasurementVectorSize = s;
121 if (defaultLength != s)
123 itkExceptionMacro(
"Attempting to change the measurement vector size of a non-resizable vector type");
130 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
136 PrintSelf(std::ostream & os,
Indent indent)
const override;
147 #ifndef ITK_MANUAL_INSTANTIATION
148 # include "itkDistanceMetric.hxx"