]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbs
no message
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / ErodeWidget.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/ErodeWidget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include creaMaracasVisu
10 include creaMiniToolsBase
11 include wxvtk
12 include vtk
13
14 define ErodeWidget 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 "Erode"
32
33 new InputText Box08
34   set Box08.In "3"
35   set Box08.Title "kernelY"
36
37 new InputText Box09
38   set Box09.In "3"
39   set Box09.Title "kernelX"
40
41 new SaveMHD-Button Box10
42
43 new LayoutTab Box11
44
45 new IsoSurfaceWidget Box14
46   set Box14.Title "Iso Surface"
47
48 new InputText Box15
49   set Box15.In "3"
50   set Box15.Title "kernelZ"
51
52 new ImageContinuousErode3D Box16
53
54
55 connect Box00.Widget Box01.Widget5
56 connect Box00.BoxChange Box03.BoxExecute
57 connect Box03.Widget Box05.Widget2
58 connect Box01.Widget Box11.Widget1
59 connect Box11.Widget Box05.Widget1
60 connect Box10.Widget Box11.Widget3
61 connect Box14.Widget Box11.Widget2
62 connect Box08.Widget Box01.Widget2
63 connect Box09.Widget Box01.Widget1
64 connect Box15.Widget Box01.Widget3
65 connect Box00.BoxChange Box14.BoxExecute
66 connect Box16.Out Box03.In
67 connect Box16.Out Box14.In
68 connect Box16.Out Box10.In
69 connect Box09.Out Box16.KernelSizeX
70 connect Box08.Out Box16.KernelSizeY
71 connect Box15.Out Box16.KernelSizeZ
72
73
74 # Complex input ports
75 input vtkRenderer Box14.vtkRenderer " "
76 input In Box16.In " "
77
78 # Complex output ports
79 output Widget Box05.Widget " "
80 output BoxChange Box14.BoxChange " "
81
82 endefine