]> 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/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/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 wxvtk
13 include std
14
15 define ConnectivityWidget creaMiniTools
16
17 author "info-team at creatis.insa-lyon.fr"
18 description "Threshod binary widget"
19
20 category "filter widget"
21
22 new CommandButton Box00
23   set Box00.Label Run
24
25 new LayoutLine Box01
26   set Box01.WinTitle "Parameters"
27
28 new ViewerNV Box03
29   set Box03.nTypeView "0"
30
31 new LayoutSplit Box05
32   set Box05.WinTitle Connectivity
33
34 new SegmentationConnectivity Box07
35
36 new InputText Box08
37   set Box08.In "1500 5000"
38   set Box08.Title "Min Max"
39
40 new SaveMHD-Button Box10
41
42 new LayoutTab Box11
43
44 new IsoSurfaceWidget Box14
45   set Box14.Title "Iso Surface"
46
47 new OutputText Box13
48
49 new LayoutLine Box15
50   set Box15.Orientation H
51
52 new CommandButton Box16
53   set Box16.Label Get Point 3D
54
55 new MagicBox Box17
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 Box07.Out Box10.In
65 connect Box01.Widget Box11.Widget1
66 connect Box11.Widget Box05.Widget1
67 connect Box07.Out Box14.In
68 connect Box10.Widget Box11.Widget3
69 connect Box14.Widget Box11.Widget2
70 connect Box00.BoxChange Box14.BoxExecute
71 connect Box16.Widget Box15.Widget1
72 connect Box13.Widget Box15.Widget2
73 connect Box15.Widget Box01.Widget3
74 connect Box17.Out Box13.In
75 connect Box16.BoxChange Box13.BoxExecute
76 connect Box17.Out Box07.PositionXYZ
77
78
79 # Complex input ports
80 input In Box07.In " "
81 input vtkRenderer Box14.vtkRenderer " "
82 input point Box17.In " "
83
84 # Complex output ports
85 output Widget Box05.Widget " "
86 output BoxChange Box14.BoxChange " "
87 output OutImage Box07.Out " "
88
89 endefine