X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkBSplineCoefficientsToValuesGenericFilter.h;h=184cc4f4374bfb51f68bfad91b12da166b3433ca;hb=c3358d7e514585e32f26e91d1c450d1c129929bc;hp=25b6623723f1ed980877db0a67943370f5c878a2;hpb=a26cd8a19e1b9ad8344ab501436045f171a73713;p=clitk.git diff --git a/tools/clitkBSplineCoefficientsToValuesGenericFilter.h b/tools/clitkBSplineCoefficientsToValuesGenericFilter.h index 25b6623..184cc4f 100644 --- a/tools/clitkBSplineCoefficientsToValuesGenericFilter.h +++ b/tools/clitkBSplineCoefficientsToValuesGenericFilter.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef clitkBSplineCoefficientsToValuesGenericFilter_h #define clitkBSplineCoefficientsToValuesGenericFilter_h @@ -41,7 +41,11 @@ #include "itkBSplineResampleImageFunction.h" #include "clitkVectorBSplineResampleImageFunction.h" #include "itkAddImageFilter.h" -#include "itkTransformToDeformationFieldSource.h" +#if ITK_VERSION_MAJOR >= 4 + #include "itkTransformToDisplacementFieldSource.h" +#else + #include "itkTransformToDeformationFieldSource.h" +#endif namespace clitk {