1 description "Example of IsoSurfaceWithControls."
2 author "laurent.guigues at creatis.insa-lyon.fr"
5 include wxvtk/boxes/bbIsoSurfaceWithControls
6 include vtk/boxes/bbLoadHola
8 new IsoSurfaceWithControls surface1
9 new IsoSurfaceWithControls surface2
15 connect image.Out surface1.In
16 connect image.Out surface2.In
17 connect surface1.Out viewer.In1
18 connect surface2.Out viewer.In2
19 new MultipleInputs refresh
20 connect surface1.BoxChange refresh.In1
21 connect surface2.BoxChange refresh.In2
22 connect refresh.Out viewer.BoxExecute
25 new LayoutLine controls
26 connect viewer.Widget main.Widget1
27 connect controls.Widget main.Widget2
28 connect surface1.Widget controls.Widget1
29 connect surface2.Widget controls.Widget2
32 set surface1.Isovalue 100
33 set surface1.Opacity 100
34 set surface1.Colour "0.5 0 0"
35 set surface1.Title "Iso-surface 1"
37 set surface2.Isovalue 200
38 set surface2.Opacity 20
39 set surface2.Title "Iso-surface 2"