1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools2/creatools_source/bbtk/packages/wxvtk/bbs/boxes/bbSimpleIsoSurfaceViewer.bbs
4 # ----------------------------------
12 define SimpleIsoSurfaceViewer wxvtk
14 author "laurent.guigues@creatis.insa-lyon.fr"
15 description "Simple viewer of an iso-surface of an image"
19 new wx:LayoutSplit main
20 set main.Proportion "80"
22 new wxvtk:Viewer3D viewer
24 new wxvtk:IsoSurfaceWidget surface
25 set surface.Isovalue "10"
26 set surface.Title "Surface"
27 set surface.Vertical "0"
29 new std:MultipleInputs refresh
32 connect viewer.Widget main.Widget1
33 connect surface.Widget main.Widget2
34 connect surface.Out viewer.In1
35 connect surface.BoxChange refresh.In1
36 connect refresh.Out viewer.BoxExecute
39 input In surface.In " "
40 input WinDialog main.WinDialog " "
41 input WinTitle main.WinTitle " "
42 input WinWidth main.WinWidth " "
43 input WinHeight main.WinHeight " "
44 input BoxExecute refresh.In2 " "
46 # Complex output ports
47 output Widget main.Widget " "