18 #ifndef __itkImageToSpatialObjectMetric_h
19 #define __itkImageToSpatialObjectMetric_h
24 #include "vnl/vnl_vector_fixed.h"
60 template<
class TFixedImage,
class TMovingSpatialObject >
80 itkStaticConstMacro(ImageDimension,
unsigned int,
81 FixedImageType::ImageDimension);
84 itkStaticConstMacro(ObjectDimension,
unsigned int,
85 MovingSpatialObjectType::ObjectDimension);
89 itkGetStaticConstMacro(ObjectDimension),
106 typedef vnl_vector_fixed< double,
119 typedef typename MovingSpatialObjectType::Pointer
152 virtual void GetValueAndDerivative(
const ParametersType & parameters,
157 virtual void Initialize(
void)
162 itkGetConstReferenceMacro(LastTransformParameters,
ParametersType);
170 virtual ~ImageToSpatialObjectMetric() {}
173 void PrintSelf(std::ostream & os,
Indent indent)
const;
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkImageToSpatialObjectMetric.hxx"