18#ifndef itkDeformationFieldInterpolatingTransform_h
19#define itkDeformationFieldInterpolatingTransform_h
25#include "itkVectorInterpolateImageFunction.h"
26#include "itkVectorNearestNeighborInterpolateImageFunction.h"
43 unsigned int NDimensions = 3,
44 class TComponentType =
double>
69 using typename Superclass::ScalarType;
70 using typename Superclass::ParametersType;
71 using typename Superclass::NumberOfParametersType;
72 using typename Superclass::JacobianType;
73 using typename Superclass::InputVectorType;
74 using typename Superclass::OutputVectorType;
75 using typename Superclass::InputCovariantVectorType;
76 using typename Superclass::OutputCovariantVectorType;
77 using typename Superclass::InputVnlVectorType;
78 using typename Superclass::OutputVnlVectorType;
79 using typename Superclass::InputPointType;
80 using typename Superclass::OutputPointType;
97 VectorNearestNeighborInterpolateImageFunction<DeformationFieldType, ScalarType>;
105 itkExceptionMacro(
"ERROR: SetParameters() is not implemented 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 const ParametersType &
125 return this->m_FixedParameters;
140 "TransformVector(const InputVectorType &) is not implemented for DeformationFieldInterpolatingTransform");
148 "TransformVector(const InputVnlVectorType &) is not implemented for DeformationFieldInterpolatingTransform");
152 OutputCovariantVectorType
155 itkExceptionMacro(
"TransformCovariantVector(const InputCovariantVectorType &) is not implemented for "
156 "DeformationFieldInterpolatingTransform");
187 itkExceptionMacro(
"Not implemented for DeformationFieldInterpolatingTransform");
194 itkExceptionMacro(
"Not implemented for DeformationFieldInterpolatingTransform");
201 itkExceptionMacro(
"Not implemented for DeformationFieldInterpolatingTransform");
210 itkExceptionMacro(
"Not implemented for DeformationFieldInterpolatingTransform");
220 itkExceptionMacro(
"Not implemented for DeformationFieldInterpolatingTransform");
229 itkExceptionMacro(
"Not implemented for DeformationFieldInterpolatingTransform");
239 itkExceptionMacro(
"Not implemented for DeformationFieldInterpolatingTransform");
253 PrintSelf(std::ostream & os, Indent indent)
const override;
261 using Superclass::TransformCovariantVector;
262 using Superclass::TransformVector;
267#ifndef ITK_MANUAL_INSTANTIATION
268# include "itkDeformationFieldInterpolatingTransform.hxx"