X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkExtractImageFilter.h;h=ce31fd9c915ebdb12f552f8e58809b312ba26463;hb=8f2913259ad3f434058ed0360f66f04820051b82;hp=7ea101adc2edbaba0f74e4f9becaa6be367b9b13;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/itk/clitkExtractImageFilter.h b/itk/clitkExtractImageFilter.h index 7ea101a..ce31fd9 100644 --- a/itk/clitkExtractImageFilter.h +++ b/itk/clitkExtractImageFilter.h @@ -94,8 +94,12 @@ protected: const OutputImageRegionType &srcRegion); - 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 + InputImageRegionType m_ExtractionRegion; OutputImageRegionType m_OutputImageRegion;