]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkVolumeRenderer.cxx
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / vtk / src / bbvtkVolumeRenderer.cxx
index a804e1507099a2645db27d23fbc40d8e3ff8e59f..a3b39a5a2d17611513f6b40418fe53348e033ad2 100644 (file)
@@ -126,7 +126,13 @@ void VolumeRenderer::Process()
     bool changed = false;
     if ( bbGetInputStatus("In") != bbtk::UPTODATE )
        {
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
                mMapper->SetInput( bbGetInputIn() );
+#else
+               mMapper->SetInputData( bbGetInputIn() );
+#endif
                changed = true;
     }