void BeforeThreadedGenerateData(void );
// Threaded Generate Data
+#if ITK_VERSION_MAJOR >= 4
+ void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId );
+#else
void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, int threadId );
+#endif
//------------------------------------------------
template <class InputImageType, class OutputImageType>
void
BackProjectImageFilter<InputImageType, OutputImageType>
+#if ITK_VERSION_MAJOR >= 4
+ ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId )
+#else
::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, int threadId )
+#endif
{
//Projection pointer
InputImageConstPointer inputPtr=this->GetInput();
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;
template <class TInputImage, class TOutputImage>
void
ExtractImageFilter<TInputImage,TOutputImage>
-::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread,
- int threadId)
+#if ITK_VERSION_MAJOR >= 4
+::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
+#else
+::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId)
+#endif
{
itkDebugMacro(<<"Actually executing");