]> Creatis software - clitk.git/blobdiff - itk/clitkBackProjectImageFilter.txx
itkv4 migration use itk::ThreadIdType
[clitk.git] / itk / clitkBackProjectImageFilter.txx
index c07033602c188e1075bd931bf69991727f25083b..b1f84e260426db6becc2a0261be699742ee759da 100644 (file)
@@ -303,7 +303,11 @@ namespace clitk
   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();