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