]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/PointView.cxx
#3219 creaMaracasVisu Feature New Normal - vtk8itk4wx3-mingw64
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / PointView.cxx
index 476902d8af88a62a2154625a8a48ad8416e3aaa3..7c17ffb89f0b09f299b72727a635b631a5f31fdf 100644 (file)
@@ -71,7 +71,14 @@ void PointView::CreateNewPoint(double x, double y, int type)
        point_mapped.push_back(vtkPolyDataMapper::New());
 //     point_mapped.back()->ImmediateModeRenderingOn();
        //point_mapped.back()->ScalarVisibilityOff( );
+
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
        point_mapped.back()->SetInput(aSphere->GetOutput());
+#else
+       point_mapped.back()->SetInputData(aSphere->GetOutput());
+#endif
 
        point_actor.push_back(vtkActor::New());
        point_actor.back()->SetMapper(point_mapped.back());