X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkDeformationFieldTransform.txx;h=049f270bd25a5ebc797646ba1135b891d04cefdf;hb=0421996ed3a4457ce867332574a192d5e214ea31;hp=af003f44786d284daa1ca5c7cbb563abc2386abb;hpb=657652a78c2e2717a6f77e027049173442ca29f0;p=clitk.git diff --git a/registration/clitkDeformationFieldTransform.txx b/registration/clitkDeformationFieldTransform.txx index af003f4..049f270 100644 --- a/registration/clitkDeformationFieldTransform.txx +++ b/registration/clitkDeformationFieldTransform.txx @@ -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 __clitkDeformationFieldTransform_txx #define __clitkDeformationFieldTransform_txx #include "clitkDeformationFieldTransform.h" @@ -26,7 +26,11 @@ namespace clitk // Constructor template DeformationFieldTransform +#if ITK_VERSION_MAJOR >= 4 + ::DeformationFieldTransform():Superclass(1) +#else ::DeformationFieldTransform():Superclass(OutputDimension,1) +#endif { m_DeformationField=NULL; m_Interpolator=DefaultInterpolatorType::New();