vtkPolyData* surfaceData = vtkPolyData::New();
surfaceData->SetPolys(surfaceCells);
surfaceData->SetPoints(surfacePoints);
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
surfaceData->Update();
+#else
+ // ..
+#endif
vtkPolyDataMapper* surfaceMapper = vtkPolyDataMapper::New();
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
surfaceMapper->SetInput(surfaceData);
+#else
+ surfaceMapper->SetInputData(surfaceData);
+#endif
surfaceMapper->Update();
surfaceResult->SetMapper(surfaceMapper);