18 #ifndef itkDistanceMetric_h
19 #define itkDistanceMetric_h
46 template<
typename TVector >
121 if ( defaultLength != s )
124 "Attempting to change the measurement \
125 vector size of a non-resizable vector type" );
148 #ifndef ITK_MANUAL_INSTANTIATION
149 #include "itkDistanceMetric.hxx"
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
Array< double > OriginType
TVector MeasurementVectorType
this class declares common interfaces for distance functions.
static bool IsResizable(const TVectorType &)
MeasurementVectorSizeType m_MeasurementVectorSize
void SetOrigin(const OriginType &x)
static unsigned int GetLength()
Base class for all ITK function objects.
FunctionBase< TVector, double > Superclass
virtual void Modified() const
virtual ~DistanceMetric()
virtual double Evaluate(const MeasurementVectorType &x) const override=0
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
unsigned int MeasurementVectorSizeType