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
154 virtual void GetValueAndDerivative(
const ParametersType & parameters,
159 virtual void Initialize(
void)
164 itkGetConstReferenceMacro(LastTransformParameters,
ParametersType);
172 virtual ~ImageToSpatialObjectMetric() {}
175 void PrintSelf(std::ostream & os,
Indent indent)
const;
188 #ifndef ITK_MANUAL_INSTANTIATION
189 #include "itkImageToSpatialObjectMetric.hxx"