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