]> 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
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 IsoSurfaceWidget Box14
48   set Box14.Title "Iso Surface"
49
50
51 connect Box00.Widget Box01.Widget5
52 connect Box00.BoxChange Box03.BoxExecute
53 connect Box03.Widget Box05.Widget2
54 connect Box07.Out Box03.In
55 connect Box08.Widget Box01.Widget1
56 connect Box08.Out Box07.ThresholdMinMax
57 connect Box09.Widget Box01.Widget2
58 connect Box09.Out Box07.PositionXYZ
59 connect Box07.Out Box10.In
60 connect Box01.Widget Box11.Widget1
61 connect Box11.Widget Box05.Widget1
62 connect Box07.Out Box14.In
63 connect Box10.Widget Box11.Widget3
64 connect Box14.Widget Box11.Widget2
65 connect Box00.BoxChange Box14.BoxExecute
66
67
68 # Complex input ports
69 input In Box07.In " "
70 input vtkRenderer Box14.vtkRenderer " "
71
72 # Complex output ports
73 output Widget Box05.Widget " "
74 output BoxChange Box14.BoxChange " "
75
76 endefine