X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkVectorImageToImageFilter.h;h=e2971f4e1962a34fb6aea5067dcfbb0b7b7e46ba;hb=d2264227eb56300989795b8fd305cc3e1cfbe081;hp=a173e7e5e087d608cab9c759a9fcd7eb0be7626a;hpb=4349d9559841dc0cbdd341d8a764ff605a1224fc;p=clitk.git diff --git a/tools/clitkVectorImageToImageFilter.h b/tools/clitkVectorImageToImageFilter.h old mode 100755 new mode 100644 index a173e7e..e2971f4 --- a/tools/clitkVectorImageToImageFilter.h +++ b/tools/clitkVectorImageToImageFilter.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 clitkVectorImageToImageFilter_h #define clitkVectorImageToImageFilter_h @@ -86,7 +86,11 @@ namespace clitk //---------------------------------------- // Update //---------------------------------------- +#if ITK_VERSION_MAJOR >= 4 + void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId ); +#else void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, int threadId ); +#endif //---------------------------------------- // Data members