X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkMatrixTransformToVFGenericFilter.h;h=9aa54895d3fb409b4144843b4e607e56c8ef2298;hb=0b8e61cfe53d9d1f697b1d9d85c948ca27c29898;hp=717e938a4b667b86dfaebc3eea570d578789e222;hpb=c4de479fec231c7d53555dcd21d308f06aad17ec;p=clitk.git diff --git a/registration/clitkMatrixTransformToVFGenericFilter.h b/registration/clitkMatrixTransformToVFGenericFilter.h index 717e938..9aa5489 100644 --- a/registration/clitkMatrixTransformToVFGenericFilter.h +++ b/registration/clitkMatrixTransformToVFGenericFilter.h @@ -37,9 +37,11 @@ //itk include #include "itkLightObject.h" #if ITK_VERSION_MAJOR >= 4 - #include "itkTransformToDisplacementFieldSource.h" -#else - #include "itkTransformToDeformationFieldSource.h" +# if ITK_VERSION_MINOR < 6 +# include "itkTransformToDisplacementFieldSource.h" +# else +# include "itkTransformToDisplacementFieldFilter.h" +# endif #endif #include "itkAffineTransform.h"