X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkMatrixTransformToVFGenericFilter.h;h=4f8fa7ceac08e6795503f0027c6b7581f2b46de9;hb=69dacfe0651ee24bef0f9e6b41171b9eec96fd2e;hp=717e938a4b667b86dfaebc3eea570d578789e222;hpb=6194949c0beb1589904e22381b9aba1bbface172;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"