17 #ifndef __itkSingleValuedPointSetToPointSetMetric_h
18 #define __itkSingleValuedPointSetToPointSetMetric_h
20 #include "itkImageBase.h"
22 #include "itkSingleValuedCostFunction.h"
23 #include "itkExceptionObject.h"
24 #include "itkSpatialObject.h"
25 #include "itkPointSet.h"
45 template <
class TFixedPo
intSet,
class TMovingPo
intSet>
70 typedef typename FixedPointSetType::PointsContainer::ConstIterator
PointIterator;
74 itkStaticConstMacro( FixedPointSetDimension,
unsigned int,
75 TFixedPointSet::PointDimension );
76 itkStaticConstMacro( MovingPointSetDimension,
unsigned int,
77 TMovingPointSet::PointDimension );
81 itkGetStaticConstMacro( FixedPointSetDimension ),
126 void SetTransformParameters(
const ParametersType & parameters )
const;
129 unsigned int GetNumberOfParameters(
void )
const
130 {
return this->m_Transform->GetNumberOfParameters(); }
135 virtual void Initialize(
void ) throw ( ExceptionObject );
139 itkSetConstObjectMacro( FixedImageMask, FixedImageMaskType );
142 itkGetConstObjectMacro( FixedImageMask, FixedImageMaskType );
145 itkSetConstObjectMacro( MovingImageMask, MovingImageMaskType );
148 itkGetConstObjectMacro( MovingImageMask, MovingImageMaskType );
152 virtual ~SingleValuedPointSetToPointSetMetric() {};
155 void PrintSelf( std::ostream & os, Indent indent )
const;
168 void operator=(
const Self&);
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "itkSingleValuedPointSetToPointSetMetric.txx"