X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkConvertBSplineDeformableTransformToVFGenericFilter.h;h=bcdf67ba43670a1b2b3efa0ca63f264d39ceb29e;hb=5a7da4aedae5c204bc55c187717193e5950f9a44;hp=318f0d3848747a83cbe97d98e0a8369667bff02c;hpb=657652a78c2e2717a6f77e027049173442ca29f0;p=clitk.git diff --git a/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.h b/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.h old mode 100755 new mode 100644 index 318f0d3..bcdf67b --- a/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.h +++ b/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.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 clitkConvertBSplineDeformableTransformToVFGenericFilter_h #define clitkConvertBSplineDeformableTransformToVFGenericFilter_h @@ -40,7 +40,11 @@ //itk include #include "itkLightObject.h" #include "itkImageMaskSpatialObject.h" -#include "itkTransformToDeformationFieldSource.h" +#if ITK_VERSION_MAJOR >= 4 + #include "itkTransformToDisplacementFieldSource.h" +#else + #include "itkTransformToDeformationFieldSource.h" +#endif namespace clitk