1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/ConnectivityWidget.bbs
4 # ----------------------------------
9 include creaMaracasVisu
11 include creaMiniToolsBase
14 define ConnectivityWidget creaMiniTools
16 author "info-team at creatis.insa-lyon.fr"
17 description "Threshod binary widget"
19 category "filter widget"
21 new CommandButton Box00
25 set Box01.WinTitle "Parameters"
28 set Box03.nTypeView "0"
31 set Box05.WinTitle Connectivity
33 new SegmentationConnectivity Box07
36 set Box08.In "1500 5000"
37 set Box08.Title "Min Max"
40 set Box09.In "10 10 10"
41 set Box09.Title "posX posY posZ"
43 new SaveMHD-Button Box10
48 set Box12.WinTitle "Save and Visu"
55 set Box13.Title Opacity
58 connect Box00.Widget Box01.Widget5
59 connect Box00.BoxChange Box03.BoxExecute
60 connect Box03.Widget Box05.Widget2
61 connect Box07.Out Box03.In
62 connect Box08.Widget Box01.Widget1
63 connect Box08.Out Box07.ThresholdMinMax
64 connect Box09.Widget Box01.Widget2
65 connect Box09.Out Box07.PositionXYZ
66 connect Box07.Out Box10.In
67 connect Box10.Widget Box12.Widget1
68 connect Box13.Widget Box12.Widget2
69 connect Box12.Widget Box11.Widget2
70 connect Box01.Widget Box11.Widget1
71 connect Box11.Widget Box05.Widget1
77 # Complex output ports
78 output Widget Box05.Widget " "