]> Creatis software - creaContours.git/blobdiff - lib/kernel_ManagerContour_NDimensions/itkVTKImageToImageFilter.txx
#3112 creaContours Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaContours.git] / lib / kernel_ManagerContour_NDimensions / itkVTKImageToImageFilter.txx
index 585878bdc844b39e63b6ec8441360947f5b674e1..edfb3f402bd9c796ee75b7c4fde32dacddbf5efa 100644 (file)
@@ -103,7 +103,12 @@ void
 VTKImageToImageFilter<TOutputImage>
 ::SetInput( vtkImageData * inputImage )
 {
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
   m_Exporter->SetInput( inputImage );
+#else
+  m_Exporter->SetInputData( inputImage );
+#endif
 }