X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkMatrixTransformToVFGenericFilter.h;h=4f8fa7ceac08e6795503f0027c6b7581f2b46de9;hb=a1ec529a24b721fcfb2c5725f95bcc2c9125b28d;hp=af5468fd4ddd1782701f936b8ec0169342586b1d;hpb=657652a78c2e2717a6f77e027049173442ca29f0;p=clitk.git diff --git a/registration/clitkMatrixTransformToVFGenericFilter.h b/registration/clitkMatrixTransformToVFGenericFilter.h old mode 100755 new mode 100644 index af5468f..4f8fa7c --- a/registration/clitkMatrixTransformToVFGenericFilter.h +++ b/registration/clitkMatrixTransformToVFGenericFilter.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 clitkMatrixTransformToVFGenericFilter_h #define clitkMatrixTransformToVFGenericFilter_h @@ -36,7 +36,11 @@ //itk include #include "itkLightObject.h" -#include "itkTransformToDeformationFieldSource.h" +#if (ITK_VERSION_MAJOR == 4) && (ITK_VERSION_MINOR < 6) +# include "itkTransformToDisplacementFieldSource.h" +#else +# include "itkTransformToDisplacementFieldFilter.h" +#endif #include "itkAffineTransform.h" namespace clitk