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 # ----------------------------------
9 include creaMaracasVisu
10 include creaMiniToolsBase
15 define ErodeWidget creaMiniTools
17 author "info-team at creatis.insa-lyon.fr"
18 description "Threshod binary widget"
20 category "filter widget"
22 new CommandButton Box00
26 set Box01.WinTitle "Parameters"
29 set Box03.nTypeView "0"
32 set Box05.WinTitle "Erode"
36 set Box08.Title "kernelY"
40 set Box09.Title "kernelX"
42 new SaveMHD-Button Box10
46 new IsoSurfaceWidget Box14
47 set Box14.Title "Iso Surface"
51 set Box15.Title "kernelZ"
53 new ImageContinuousErode3D Box16
56 connect Box00.Widget Box01.Widget5
57 connect Box00.BoxChange Box03.BoxExecute
58 connect Box03.Widget Box05.Widget2
59 connect Box01.Widget Box11.Widget1
60 connect Box11.Widget Box05.Widget1
61 connect Box10.Widget Box11.Widget3
62 connect Box14.Widget Box11.Widget2
63 connect Box08.Widget Box01.Widget2
64 connect Box09.Widget Box01.Widget1
65 connect Box15.Widget Box01.Widget3
66 connect Box00.BoxChange Box14.BoxExecute
67 connect Box16.Out Box03.In
68 connect Box16.Out Box14.In
69 connect Box16.Out Box10.In
70 connect Box09.Out Box16.KernelSizeX
71 connect Box08.Out Box16.KernelSizeY
72 connect Box15.Out Box16.KernelSizeZ
76 input vtkRenderer Box14.vtkRenderer " "
79 # Complex output ports
80 output Widget Box05.Widget " "
81 output BoxChange Box14.BoxChange " "
82 output OutImage Box16.Out " "