+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton03.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include itk
+include wt
+include std
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new vtk:LoadHola Box00
+
+new itk:BinaryThresholdImageFilter Box02
+ set Box02.InsideValue "255"
+ set Box02.LowerThreshold "1250"
+ set Box02.OutsideValue "0"
+ set Box02.UpperThreshold "1500"
+
+new vtk:MarchingCubes Box05
+ set Box05.ComputeNormalsOn "true"
+ set Box05.ComputeScalarsOn "false"
+ set Box05.Value "128"
+
+new vtk:ImageContinuousErode3D Box06
+ set Box06.KernelSizeX "3"
+ set Box06.KernelSizeY "3"
+ set Box06.KernelSizeZ "3"
+
+new vtk:SegmentationConnectivity Box09
+ set Box09.PositionXYZ "73 101 93"
+ set Box09.ThresholdMinMax "200 300"
+
+new wt:ViewerNVWeb Box12
+ set Box12.ImagePath "xx"
+
+new wt:Slider Box15
+ set Box15.In "1250"
+ set Box15.Max "1500"
+ set Box15.Min "0"
+ set Box15.ReactiveOnTrack "true"
+ set Box15.Title "LowerThreshold"
+
+new wt:Slider Box16
+ set Box16.In "1500"
+ set Box16.Max "4000"
+ set Box16.Min "1500"
+ set Box16.ReactiveOnTrack "true"
+ set Box16.Title "UpperThresHold"
+
+new wt:LayoutLine Box17
+
+new wt:CommandButton Box21
+ set Box21.Label "Run...Q"
+
+new wt:configServerWT Box24
+ set Box24.DocRoot "/var/www/testwtdbg/docroot/appli1/"
+ set Box24.Port "8082"
+
+new itk:ImageWriter Box26
+
+new std:ConcatStrings Box27
+ set Box27.In1 "/var/www/testwtdbg/docroot/appli1/"
+
+new std:ConcatStrings Box28
+ set Box28.In2 "/imagesTMP/"
+ set Box28.In3 "hola.nii"
+
+new vtk:ImageGaussianSmooth Box29
+ set Box29.StdDevX "0"
+ set Box29.StdDevY "0"
+ set Box29.StdDevZ "0"
+
+new wt:Slider Box31
+ set Box31.In "1"
+ set Box31.Max "4"
+ set Box31.Min "0"
+ set Box31.ReactiveOnTrack "true"
+ set Box31.Title "Smooth"
+
+new wt:AddMeshB Box37
+
+new wt:ImageWriteB Box33
+
+new wt:OutputText Box35
+
+new wt:LayoutSplit Box36
+ set Box36.Orientation "h"
+
+
+connect Box00.Out Box02.In
+
+connect Box02.Out Box06.In
+
+connect Box06.Out Box09.In
+
+connect Box15.Out Box02.LowerThreshold
+
+connect Box16.Out Box02.UpperThreshold
+
+connect Box15.Widget Box17.Widget2
+
+connect Box16.Widget Box17.Widget3
+
+connect Box21.Widget Box17.Widget5
+
+connect Box00.Out Box26.In
+
+connect Box27.Out Box28.In1
+
+connect Box28.Out Box26.Filename
+
+connect Box09.Out Box29.In
+
+connect Box31.Widget Box17.Widget1
+
+connect Box31.Out Box29.StdDevX
+
+connect Box31.Out Box29.StdDevY
+
+connect Box31.Out Box29.StdDevZ
+
+connect Box29.Out Box05.In
+
+connect Box05.Out Box37.vtkPolyData
+
+connect Box12.Viewer1 Box37.viewerwt
+
+connect Box21.BoxChange Box37.boxExecute
+
+connect Box00.Out Box33.Image
+
+connect Box35.Widget Box17.Widget4
+
+connect Box33.FileName Box35.In
+
+connect Box21.BoxChange Box35.BoxExecute
+
+connect Box17.Widget Box36.Widget1
+
+connect Box12.Widget Box36.Widget2
+
+connect Box33.FileName Box12.ImagePath
+
+connect Box33.out Box24.BoxExecute
+
+
+
+# Complex input ports
+exec Box24
+exec Box33
+exec Box36