1 description "A 3D image slicer"
2 author "jpr@creatis.insa-lyon.fr"
13 //include wxvtk/boxes/bbSimpleSlicer
14 //include wx/boxes/LayoutX4
17 new LayoutLine upright
19 new LayoutLine downleft
21 connect upright.Widget main.Widget1
22 connect upleft.Widget main.Widget2
23 connect downleft.Widget main.Widget3
31 new ImagePlanes planes
32 connect reader.Out planes.In
35 connect planes.PlaneX viewer.Obs1
36 connect planes.PlaneY viewer.Obs2
37 connect planes.PlaneZ viewer.Obs3
39 connect viewer.Widget main.Widget4
45 set viewerUL.BoxProcessMode Always
46 connect planes.ImageX viewerUL.In
47 # contains only one slice
49 connect viewerUL.Widget upleft.Widget1
51 // print "planes.BoxChange $planes.BoxChange"
52 // print "viewer.BoxChange $viewer.BoxChange"
54 connect planes.BoxChange viewerUL.BoxExecute
56 print "===============planes.ImageX $planes.ImageX"
61 set viewerUR.BoxProcessMode Always
62 connect planes.ImageY viewerUR.In
63 connect viewerUR.Widget upright.Widget1
64 # contains only one slice
66 connect planes.BoxChange viewerUR.BoxExecute
68 print "===============planes.ImageY $planes.ImageY"
73 set viewerDL.BoxProcessMode Always
74 connect planes.ImageZ viewerDL.In
75 connect viewerDL.Widget downleft.Widget1
76 # contains only one slice
78 connect planes.BoxChange viewerDL.BoxExecute
80 print "===============planes.ImageZ $planes.ImageZ"
82 set main.WinTitle "Slicer"