X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkExtractImageFilter.h;h=ce31fd9c915ebdb12f552f8e58809b312ba26463;hb=2191f760d44987f901445c4105c577df7995b25d;hp=aae8332e04109089474228ae767522fe735d2376;hpb=a6957c4825e83c61b977ec316dd841878617ffbd;p=clitk.git diff --git a/itk/clitkExtractImageFilter.h b/itk/clitkExtractImageFilter.h index aae8332..ce31fd9 100644 --- a/itk/clitkExtractImageFilter.h +++ b/itk/clitkExtractImageFilter.h @@ -94,8 +94,12 @@ protected: const OutputImageRegionType &srcRegion); - void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, - itk::ThreadIdType threadId ); +#if ITK_VERSION_MAJOR >= 4 + void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId ); +#else + void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId ); +#endif + InputImageRegionType m_ExtractionRegion; OutputImageRegionType m_OutputImageRegion;