+
+//-------------------------------------------------------------------
+void wxVtkMPR3DView::SetImage()
+{
+ vtkImageData *imageData = GetVtkMPR3DDataViewer()->GetVtkMPRBaseData()->GetImageData();
+ // Orthogonal planes B&W
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
+ _planeWidgetX->SetInput( imageData );
+ _planeWidgetY->SetInput( imageData );
+ _planeWidgetZ->SetInput( imageData );
+ // -- Plane widget
+ _probe->SetSource( imageData );
+#else
+ _planeWidgetX->SetInputData( imageData );
+ _planeWidgetY->SetInputData( imageData );
+ _planeWidgetZ->SetInputData( imageData );
+ // -- Plane widget
+ _probe->SetSourceData( imageData );
+#endif
+ _vtkmpr3Ddataviewer->SetImage();
+}
+