X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkComposeVFFilter.h;h=cf1ada2c77678ea0336d8f0662bd6fceec5ad88e;hb=4cfd18a5e026b6b20a4dfbdd32606b0fc18883b5;hp=868ff0d98025b8797ddce7dfaedcd37aed879d62;hpb=a26cd8a19e1b9ad8344ab501436045f171a73713;p=clitk.git diff --git a/itk/clitkComposeVFFilter.h b/itk/clitkComposeVFFilter.h old mode 100755 new mode 100644 index 868ff0d..cf1ada2 --- a/itk/clitkComposeVFFilter.h +++ b/itk/clitkComposeVFFilter.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 __clitkComposeVFFilter_h #define __clitkComposeVFFilter_h #include "clitkImageCommon.h" @@ -75,7 +75,11 @@ namespace clitk //======================================================================================== //Threaded execution should implement generate threaded data - void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId ); +#if ITK_VERSION_MAJOR >= 4 + void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId ); +#else + void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId ); +#endif bool m_Verbose; PixelType m_EdgePaddingValue;