18 #ifndef __itkDeformationFieldInterpolatingTransform_h
19 #define __itkDeformationFieldInterpolatingTransform_h
25 #include "itkVectorInterpolateImageFunction.h"
26 #include "itkVectorNearestNeighborInterpolateImageFunction.h"
43 class TScalarType =
double,
44 unsigned int NDimensions = 3,
45 class TComponentType =
double >
96 typedef VectorInterpolateImageFunction<
99 typedef VectorNearestNeighborInterpolateImageFunction<
107 itkExceptionMacro( <<
"ERROR: SetParameters() is not implemented "
108 <<
"for DeformationFieldInterpolatingTransform.\n"
109 <<
"Use SetDeformationField() instead.\n"
110 <<
"Note that this transform is NOT suited for image registration.\n"
111 <<
"Just use it as an (initial) fixed transform that is not optimized." );
126 return this->m_FixedParameters;
139 <<
"TransformVector(const InputVectorType &) is not implemented "
140 <<
"for DeformationFieldInterpolatingTransform" );
147 <<
"TransformVector(const InputVnlVectorType &) is not implemented "
148 <<
"for DeformationFieldInterpolatingTransform" );
155 <<
"TransformCovariantVector(const InputCovariantVectorType &) is not implemented "
156 <<
"for DeformationFieldInterpolatingTransform" );
174 bool IsLinear(
void )
const override {
return false; }
181 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
188 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
195 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
203 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
212 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
220 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
229 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
239 typedef typename DeformationFieldInterpolatorType::ContinuousIndexType
244 void PrintSelf( std::ostream & os, Indent indent )
const override;
259 #ifndef ITK_MANUAL_INSTANTIATION
260 #include "itkDeformationFieldInterpolatingTransform.hxx"