X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkMatrixTransformToVFGenericFilter.h;h=4f8fa7ceac08e6795503f0027c6b7581f2b46de9;hb=ef03fc34db849c864b1ae7f50c8442e125834f84;hp=34648cb928e7035329a764b79c9f4b5ed8f67adc;hpb=01efc03d2d7e88c82197f8f500239573c8b67c39;p=clitk.git diff --git a/registration/clitkMatrixTransformToVFGenericFilter.h b/registration/clitkMatrixTransformToVFGenericFilter.h index 34648cb..4f8fa7c 100644 --- a/registration/clitkMatrixTransformToVFGenericFilter.h +++ b/registration/clitkMatrixTransformToVFGenericFilter.h @@ -36,7 +36,11 @@ //itk include #include "itkLightObject.h" -#include "itkTransformToDeformationFieldSource.h" +#if (ITK_VERSION_MAJOR == 4) && (ITK_VERSION_MINOR < 6) +# include "itkTransformToDisplacementFieldSource.h" +#else +# include "itkTransformToDisplacementFieldFilter.h" +#endif #include "itkAffineTransform.h" namespace clitk