18 #ifndef __itkObjectToObjectMetricBase_h
19 #define __itkObjectToObjectMetricBase_h
82 typedef enum { GRADIENT_SOURCE_FIXED=0,
84 GRADIENT_SOURCE_BOTH } GradientSourceType;
92 itkSetMacro( GradientSource, GradientSourceType );
98 itkGetConstMacro( GradientSource, GradientSourceType );
102 bool GetGradientSourceIncludesFixed()
const;
106 bool GetGradientSourceIncludesMoving()
const;
135 virtual NumberOfParametersType GetNumberOfParameters() const = 0;
136 virtual NumberOfParametersType GetNumberOfLocalParameters() const = 0;
147 virtual
bool HasLocalSupport() const = 0;
155 virtual
void UpdateTransformParameters( const
DerivativeType & derivative,
167 virtual ~ObjectToObjectMetricBase();
169 void PrintSelf(std::ostream & os,
Indent indent) const;
177 ObjectToObjectMetricBase(const
Self &);
178 void operator=(const Self &);