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"
SmartPointer< const Self > ConstPointer
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
Array< double > OriginType
void PrintSelf(std::ostream &os, Indent indent) const
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()
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
virtual double Evaluate(const MeasurementVectorType &x) const =0
unsigned int MeasurementVectorSizeType