diff --git a/Modules/Core/Transform/include/itkTransform.h b/Modules/Core/Transform/include/itkTransform.h index b2fe825d2fd..14c868ca197 100644 --- a/Modules/Core/Transform/include/itkTransform.h +++ b/Modules/Core/Transform/include/itkTransform.h @@ -529,9 +529,11 @@ class ITK_TEMPLATE_EXPORT Transform : public TransformBaseTemplateGetNameOfClass()); } + +#if !defined(ITK_LEGACY_REMOVE) itkLegacyMacro(virtual void ComputeJacobianWithRespectToPosition(const InputPointType & x, JacobianType & jacobian) const;) - +#endif /** This provides the ability to get a local jacobian value * in a dense/local transform, e.g. DisplacementFieldTransform. For such @@ -540,8 +542,11 @@ class ITK_TEMPLATE_EXPORT Transform : public TransformBaseTemplate