]> Creatis software - clitk.git/blobdiff - tools/clitkVectorImageToImageFilter.txx
itk4 compatibility
[clitk.git] / tools / clitkVectorImageToImageFilter.txx
index 909a42290e3a84ba556889972f24d5f93eceb718..539e8dced07cb13b989d63b654b8f7444a8617d5 100644 (file)
@@ -47,7 +47,11 @@ namespace clitk
   //-------------------------------------------------------------------
   template<class InputImageType, class  OutputImageType> 
   void 
+#if ITK_VERSION_MAJOR >= 4
+  VectorImageToImageFilter<InputImageType, OutputImageType>::ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId)
+#else
   VectorImageToImageFilter<InputImageType, OutputImageType>::ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, int threadId)
+#endif
   {
     // Iterators
     typename OutputImageType::Pointer output=this->GetOutput();