X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=itk%2FclitkExtractImageFilter.h;h=ce31fd9c915ebdb12f552f8e58809b312ba26463;hb=8f2913259ad3f434058ed0360f66f04820051b82;hp=aae8332e04109089474228ae767522fe735d2376;hpb=1561fae3bf0756ba34e222cd1f189aac0087c62a;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;