1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs
4 # ----------------------------------
7 # ----------------------
17 description "Description ??"
22 new BinaryThresholdImageFilter Box02
23 set Box02.InsideValue "255"
24 set Box02.LowerThreshold "1250"
25 set Box02.OutsideValue "0"
26 set Box02.UpperThreshold "1500"
28 new MarchingCubes Box05
29 set Box05.ComputeNormalsOn "true"
30 set Box05.ComputeScalarsOn "false"
33 new ImageContinuousErode3D Box06
34 set Box06.KernelSizeX "3"
35 set Box06.KernelSizeY "3"
36 set Box06.KernelSizeZ "3"
38 new SegmentationConnectivity Box09
39 set Box09.PositionXYZ "73 101 93"
40 set Box09.ThresholdMinMax "200 300"
42 new ConcatStrings Box08
43 set Box08.In1 "/home/gonzalez/Documents/pruebaResources/"
45 new ConcatStrings Box10
46 set Box10.In1 "/holaPP"
52 set Box12.ImagePath "hola.nii"
54 new PolyDataWriter Box14
60 set Box15.ReactiveOnTrack "true"
61 set Box15.Title "LowerThreshold"
67 set Box16.ReactiveOnTrack "true"
68 set Box16.Title "UpperThresHold"
72 new CommandButton Box21
75 new AddObjectToViewerWeb Box22
77 new configServerWT Box24
78 set Box24.DocRoot "/tmpEED/tmpWt/wtInstall/share/Wt/resources"
82 set Box25.Orientation "h"
86 new ConcatStrings Box27
87 set Box27.In1 "/home/davila/tempWT"
89 new ConcatStrings Box28
90 set Box28.In2 "/hola.nii"
92 new ImageGaussianSmooth Box29
101 set Box31.ReactiveOnTrack "true"
102 set Box31.Title "Smooth"
107 connect Box00.Out Box02.In
109 connect Box02.Out Box06.In
111 connect Box06.Out Box09.In
113 connect Box05.Out Box14.In
115 connect Box10.Out Box08.In2
117 connect Box08.Out Box14.Filename
119 connect Box15.Out Box10.In2
121 connect Box15.Out Box02.LowerThreshold
123 connect Box16.Out Box02.UpperThreshold
125 connect Box16.Out Box10.In4
127 connect Box15.Widget Box17.Widget2
129 connect Box16.Widget Box17.Widget3
131 connect Box21.BoxChange Box14.BoxExecute
133 connect Box21.Widget Box17.Widget5
135 connect Box10.Out Box22.Mesh
137 connect Box12.viewer1 Box22.Viewer3D
139 connect Box22.Widget Box17.Widget8
141 connect Box21.BoxChange Box22.BoxExecute
143 connect Box00.Out Box26.In
145 connect Box27.Out Box28.In1
147 connect Box28.Out Box26.Filename
149 connect Box26.BoxChange Box12.BoxExecute
151 connect Box27.Out Box24.DocRoot
153 connect Box27.Out Box08.In1
155 connect Box17.Widget Box25.Widget1
157 connect Box12.Widget Box25.Widget2
159 connect Box09.Out Box29.In
161 connect Box31.Widget Box17.Widget1
163 connect Box32.Widget Box17.Widget4
165 connect Box08.Out Box32.In
167 connect Box21.BoxChange Box32.BoxExecute
169 connect Box31.Out Box29.StdDevX
171 connect Box31.Out Box29.StdDevY
173 connect Box31.Out Box29.StdDevZ
175 connect Box29.Out Box05.In
177 connect Box31.Out Box10.In6
181 # Complex input ports