]> Creatis software - bbtk.git/blobdiff - packages/itkvtk/src/itkVTKImageToImageFilter.txx
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / itkvtk / src / itkVTKImageToImageFilter.txx
index 639b689950ab41103425b137b29c502038203337..0da4748a8ee0bd04e390b16d74e0e27c67de60e9 100644 (file)
@@ -99,7 +99,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
 }