18 #ifndef __itkPDEDeformableRegistrationFunction_h
19 #define __itkPDEDeformableRegistrationFunction_h
40 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField >
67 #ifdef ITKV3_COMPATIBILITY
68 typedef TDisplacementField DeformationFieldType;
69 typedef typename DeformationFieldType::Pointer DeformationFieldTypePointer;
74 { m_MovingImage = ptr; }
78 {
return m_MovingImage; }
82 { m_FixedImage = ptr; }
86 {
return m_FixedImage; }
90 { m_DisplacementField = ptr; }
95 {
return m_DisplacementField; }
97 #ifdef ITKV3_COMPATIBILITY
98 void SetDeformationField(DeformationFieldTypePointer ptr)
99 { this->SetDisplacementField(ptr); }
101 DeformationFieldType * GetDeformationField(
void)
102 {
return static_cast<DeformationFieldType *
> (this->GetDisplacementField()); }
114 m_MovingImage =
NULL;
116 m_DisplacementField =
NULL;
118 m_NormalizeGradient =
true;
119 m_GradientStep = 1.0;
124 void PrintSelf(std::ostream & os,
Indent indent)
const
126 Superclass::PrintSelf(os, indent);
127 os << indent <<
"MovingImage: ";
128 os << m_MovingImage.GetPointer() << std::endl;
129 os << indent <<
"FixedImage: ";
130 os << m_FixedImage.GetPointer() << std::endl;
149 void operator=(
const Self &);