X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkMatrixTransformToVFGenericFilter.h;h=717e938a4b667b86dfaebc3eea570d578789e222;hb=2b4ec898fdd6dc8ea5780c0e30c7124272a4202e;hp=34648cb928e7035329a764b79c9f4b5ed8f67adc;hpb=08d1fd56ac1d08bd228d9e557f5472a395e9b708;p=clitk.git diff --git a/registration/clitkMatrixTransformToVFGenericFilter.h b/registration/clitkMatrixTransformToVFGenericFilter.h index 34648cb..717e938 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 + #include "itkTransformToDisplacementFieldSource.h" +#else + #include "itkTransformToDeformationFieldSource.h" +#endif #include "itkAffineTransform.h" namespace clitk