1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/minitools/boxes/ConnectivityWidget.bbs
4 # ----------------------------------
9 include creaMaracasVisu
13 define ConnectivityWidget minitools
15 author "info-team at creatis.insa-lyon.fr"
16 description "Threshod binary widget"
18 category "filter widget"
20 new CommandButton Box00
24 set Box01.WinTitle "Parameters"
27 set Box03.nTypeView "0"
30 set Box05.WinTitle Connectivity
32 new SegmentationConnectivity Box07
35 set Box08.In "1500 5000"
36 set Box08.Title "Min Max"
39 set Box09.In "10 10 10"
40 set Box09.Title "posX posY posZ"
42 new SaveMHD-Button Box10
47 set Box12.WinTitle "Save and Visu"
54 set Box13.Title Opacity
57 connect Box00.Widget Box01.Widget5
58 connect Box00.BoxChange Box03.BoxExecute
59 connect Box03.Widget Box05.Widget2
60 connect Box07.Out Box03.In
61 connect Box08.Widget Box01.Widget1
62 connect Box08.Out Box07.ThresholdMinMax
63 connect Box09.Widget Box01.Widget2
64 connect Box09.Out Box07.PositionXYZ
65 connect Box07.Out Box10.In
66 connect Box10.Widget Box12.Widget1
67 connect Box13.Widget Box12.Widget2
68 connect Box12.Widget Box11.Widget2
69 connect Box01.Widget Box11.Widget1
70 connect Box11.Widget Box05.Widget1
76 # Complex output ports
77 output Widget Box05.Widget " "