18 #ifndef __itkGPUPDEDeformableRegistrationFunction_h
19 #define __itkGPUPDEDeformableRegistrationFunction_h
40 template <
class TFixedImage,
class TMovingImage,
class TDisplacementField>
94 m_DisplacementField = ptr;
101 return m_DisplacementField;
104 void SetEnergy(
double e)
109 double GetEnergy()
const
114 void SetGradientStep(
double e)
119 double GetGradientStep()
const
121 return m_GradientStep;
124 void SetNormalizeGradient(
bool e)
126 m_NormalizeGradient =
e;
129 bool GetNormalizeGradient()
const
131 return m_NormalizeGradient;
137 m_MovingImage =
NULL;
139 m_DisplacementField =
NULL;
141 m_NormalizeGradient =
true;
142 m_GradientStep = 1.0;
149 void PrintSelf(std::ostream & os,
Indent indent)
const
151 Superclass::PrintSelf(os, indent);
152 os << indent <<
"MovingImage: ";
153 os << m_MovingImage.GetPointer() << std::endl;
154 os << indent <<
"FixedImage: ";
155 os << m_FixedImage.GetPointer() << std::endl;
176 void operator=(
const Self &);