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 itkDynamicCastInDebugMode<DeformationFieldType *> (this->GetDisplacementField()); }
115 m_MovingImage =
NULL;
117 m_DisplacementField =
NULL;
119 m_NormalizeGradient =
true;
120 m_GradientStep = 1.0;
125 void PrintSelf(std::ostream & os,
Indent indent)
const
127 Superclass::PrintSelf(os, indent);
128 os << indent <<
"MovingImage: ";
129 os << m_MovingImage.GetPointer() << std::endl;
130 os << indent <<
"FixedImage: ";
131 os << m_FixedImage.GetPointer() << std::endl;
151 void operator=(
const Self &);