18 #ifndef __itkObjectToObjectMetricBase_h
19 #define __itkObjectToObjectMetricBase_h
49 template<
typename TInternalComputationValueType=
double>
165 virtual ~ObjectToObjectMetricBaseTemplate();
175 ObjectToObjectMetricBaseTemplate(const
Self &);
176 void operator=(const Self &);
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkObjectToObjectMetricBase.hxx"
virtual void GetValueAndDerivative(MeasureType &value, DerivativeType &derivative) const =0
virtual NumberOfParametersType GetNumberOfParameters() const =0
Array< TInternalComputationValueType > DerivativeType
Superclass::ParametersType ParametersType
Superclass::MeasureType MeasureType
Light weight base class for most itk classes.
SingleValuedCostFunctionv4Template< TInternalComputationValueType > Superclass
virtual void Initialize(void)=0
TInternalComputationValueType MeasureType
virtual MeasureType GetValue() const =0
GradientSourceType m_GradientSource
TInternalComputationValueType ParametersValueType
Base class for all object-to-object similarlity metrics added in ITKv4.
TInternalComputationValueType CoordinateRepresentationType
virtual void GetDerivative(DerivativeType &) const =0
MeasureType GetCurrentValue() const
virtual void SetParameters(ParametersType ¶ms)=0
unsigned int NumberOfParametersType
Superclass::ParametersType ParametersType
virtual bool HasLocalSupport() const =0
TInternalComputationValueType ParametersValueType
Standard exception handling object.
bool GetGradientSourceIncludesFixed() const
DerivativeType::ValueType DerivativeValueType
ObjectToObjectMetricBaseTemplate Self
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const
This class is a base for a CostFunction that returns a single value.
virtual NumberOfParametersType GetNumberOfLocalParameters() const =0
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
bool GetGradientSourceIncludesMoving() const
virtual void UpdateTransformParameters(const DerivativeType &derivative, ParametersValueType factor=NumericTraits< ParametersValueType >::One)=0
Superclass::DerivativeType DerivativeType
Define additional traits for native types such as int or float.
virtual const ParametersType & GetParameters() const =0