]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.cxx
#3114 bbGEditor Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGBlackBoxView.cxx
index c5effa8ab9a3b4dbbf094f664622440b7205f7be..15c1f19aa7f7cf719b70a8adb633e8212dd59d6d 100644 (file)
@@ -183,7 +183,16 @@ namespace bbtk
                strip->InsertCellPoint(3);
                pdFill->SetPoints( _pts );
                pdFill->SetStrips( strip );
+
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
                _fillPolyMapper->SetInput(pdFill);
+#else
+               _fillPolyMapper->SetInputData(pdFill);
+#endif
+
+
                _fillObjectActor->SetMapper(_fillPolyMapper);
                _fillPolyMapper->Modified();
                ///************************* FILL *************************