15 #ifndef __itkDeformationFieldInterpolatingTransform_h
16 #define __itkDeformationFieldInterpolatingTransform_h
20 #include "itkExceptionObject.h"
22 #include "itkVectorInterpolateImageFunction.h"
23 #include "itkVectorNearestNeighborInterpolateImageFunction.h"
42 unsigned int NDimensions=3,
43 class TComponentType=
double>
94 typedef VectorInterpolateImageFunction<
96 typedef VectorNearestNeighborInterpolateImageFunction<
104 itkExceptionMacro( <<
"ERROR: SetParameters() is not implemented "
105 <<
"for DeformationFieldInterpolatingTransform.\n"
106 <<
"Use SetDeformationField() instead.\n"
107 <<
"Note that this transform is NOT suited for image registration.\n"
108 <<
"Just use it as an (initial) fixed transform that is not optimized." );
121 return this->m_FixedParameters;
133 <<
"TransformVector(const InputVectorType &) is not implemented "
134 <<
"for DeformationFieldInterpolatingTransform" );
139 <<
"TransformVector(const InputVnlVectorType &) is not implemented "
140 <<
"for DeformationFieldInterpolatingTransform" );
145 <<
"TransformCovariantVector(const InputCovariantVectorType &) is not implemented "
146 <<
"for DeformationFieldInterpolatingTransform" );
161 virtual bool IsLinear(
void )
const {
return false; };
168 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
174 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
179 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
185 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
192 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
198 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
205 itkExceptionMacro( <<
"Not implemented for DeformationFieldInterpolatingTransform" );
213 typedef typename DeformationFieldInterpolatorType::ContinuousIndexType
218 void PrintSelf(std::ostream &os, Indent indent)
const;
234 #ifndef ITK_MANUAL_INSTANTIATION
235 #include "itkDeformationFieldInterpolatingTransform.txx"