11 set pw.InX " 20 100 200 300 400 500"
12 set pw.InY " 100 700 100 300 400 500"
14 new MetaImageReader reader
15 include std/boxes/bbPrependPackageDataPath.bbs
16 new PrependPackageDataPath prependDatapath
17 set prependDatapath.In "vtk/hola.mhd"
18 connect prependDatapath.Out reader.In
21 connect reader.Out hw.In
23 new TransferFunctionView tfw
24 connect reader.Out tfw.In
27 connect reader.Out mpr.In
30 new IsoSurfaceExtractor surface1
31 connect reader.Out surface1.In
32 set surface1.Isovalue 200
33 set surface1.Opacity 0.5
34 set surface1.Colour "1.0, 0.0, 0.0"
36 new IsoSurfaceExtractor surface2
37 connect reader.Out surface2.In
38 set surface2.Isovalue 100
39 set surface2.Opacity 1
40 set surface2.Colour "1.0, 1.0, 0.5"
43 connect surface1.Out viewer3d.In1
44 connect surface2.Out viewer3d.In2
51 set sDown.Orientation H
52 connect viewer3d.Widget sDown.Widget1
53 connect mpr.Widget sDown.Widget2
55 set sUpL.Orientation H
56 connect pw.Widget sUpL.Widget1
57 connect hw.Widget sUpL.Widget2
61 connect tfw.Widget sUp.Widget1
62 connect sUpL.Widget sUp.Widget2
65 set main.Orientation V
66 connect sUp.Widget main.Widget1
67 connect sDown.Widget main.Widget2