-description "Example of complex 3D view of an image using vtk::ImagePlanes and wxvtk::IsoSurfaceWithControls. Screenshot : <img src=ExampleView3DImage1.jpg></img>"
+description "Example of complex 3D view of an image using vtk::ImagePlanes and wxvtk::IsoSurfaceWidget. Screenshot : <img src=ExampleView3DImage1.jpg></img>"
author "laurent.guigues at creatis.insa-lyon.fr"
category "example"
include vtk/boxes/bbLoadHola
-include wxvtk/boxes/bbIsoSurfaceWithControls
+include wxvtk/boxes/bbIsoSurfaceWidget
load vtk
load wxvtk
-new LoadHola image
+new LoadHola reader
new ImagePlanes planes
-new IsoSurfaceWithControls surface
+new IsoSurfaceWidget surface
new Viewer3D viewer
-connect image.Out planes.In
+connect reader.Out planes.In
connect planes.PlaneX viewer.Obs1
connect planes.PlaneY viewer.Obs2
connect planes.PlaneZ viewer.Obs3
-connect image.Out surface.In
+connect reader.Out surface.In
connect surface.Out viewer.In1
connect surface.BoxChange viewer.BoxExecute
set viewer.Stereo TRUE
-exec viewer
+exec main