]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs
no message
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / ConnectivityWidget.bbs
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 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include creaMaracasVisu
10 include vtk
11 include creaMiniToolsBase
12 include creaMiniTools
13
14 define ConnectivityWidget creaMiniTools
15
16 author "info-team at creatis.insa-lyon.fr"
17 description "Threshod binary widget"
18
19 category "filter widget"
20
21 new CommandButton Box00
22   set Box00.Label Run
23
24 new LayoutLine Box01
25   set Box01.WinTitle "Parameters"
26
27 new ViewerNV Box03
28   set Box03.nTypeView "0"
29
30 new LayoutSplit Box05
31   set Box05.WinTitle Connectivity
32
33 new SegmentationConnectivity Box07
34
35 new InputText Box08
36   set Box08.In "1500 5000"
37   set Box08.Title "Min Max"
38
39 new InputText Box09
40   set Box09.In "10 10 10"
41   set Box09.Title "posX posY posZ"
42
43 new SaveMHD-Button Box10
44
45 new LayoutTab Box11
46
47 new LayoutLine Box12
48   set Box12.WinTitle "Save and Visu"
49
50 new Slider Box13
51   set Box13.In 0
52   set Box13.Label true
53   set Box13.Max 100
54   set Box13.Min 0
55   set Box13.Title Opacity
56
57
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
72
73
74 # Complex input ports
75 input In Box07.In " "
76
77 # Complex output ports
78 output Widget Box05.Widget " "
79
80 endefine