X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=wt%2Fbbtk_wt_PKG%2Fbbs%2Fappli%2FdemoPresentacion1Boton02.bbs;h=5ab1e7c3f5cce28c61af1e4e2eb71517e82cc8df;hb=ee0efa83913b71b511931be1af60965b287f417e;hp=790974a598bd526d2b0eda530c53ab54609d1acd;hpb=0abe8dc41c0e3067fa48c1a0e6e03abafa40d6b6;p=creaWT.git diff --git a/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs b/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs index 790974a..5ab1e7c 100644 --- a/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs +++ b/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs +# - demoPresentacion1Boton02.bbs # ---------------------------------- # BBTK GEditor Script @@ -17,73 +17,93 @@ author "Author ??" description "Description ??" category "" -new LoadHola Box00 +new vtk:LoadHola Box00 -new BinaryThresholdImageFilter Box02 +new itk:BinaryThresholdImageFilter Box02 set Box02.InsideValue "255" set Box02.LowerThreshold "1250" set Box02.OutsideValue "0" set Box02.UpperThreshold "1500" -new MarchingCubes Box05 +new vtk:MarchingCubes Box05 set Box05.ComputeNormalsOn "true" set Box05.ComputeScalarsOn "false" set Box05.Value "128" -new ImageContinuousErode3D Box06 +new vtk:ImageContinuousErode3D Box06 set Box06.KernelSizeX "3" set Box06.KernelSizeY "3" set Box06.KernelSizeZ "3" -new SegmentationConnectivity Box09 +new vtk:SegmentationConnectivity Box09 set Box09.PositionXYZ "73 101 93" set Box09.ThresholdMinMax "200 300" -new ConcatStrings Box08 - set Box08.In1 "/home/gonzalez/Documents/pruebaResources/" +new std:ConcatStrings Box08 -new ConcatStrings Box10 - set Box10.In1 "/holaPP" +new std:ConcatStrings Box10 + set Box10.In1 "holaPP" set Box10.In3 "_" - set Box10.In5 ".vtk" + set Box10.In5 "_" + set Box10.In7 ".vtk" -new ViewerNVWeb Box12 - set Box12.ImagePath "hola.nii" +new wt:ViewerNVWeb Box12 + set Box12.ImagePath "imagesTMP/hola.nii" -new PolyDataWriter Box14 +new vtk:PolyDataWriter Box14 -new Slider Box15 +new wt:Slider Box15 set Box15.In "1250" - set Box15.Max "1449" - set Box15.Min "500" + set Box15.Max "1500" + set Box15.Min "0" + set Box15.ReactiveOnTrack "true" set Box15.Title "LowerThreshold" -new Slider Box16 +new wt:Slider Box16 set Box16.In "1500" - set Box16.Max "2500" - set Box16.Min "1450" + set Box16.Max "4000" + set Box16.Min "0" + set Box16.ReactiveOnTrack "true" set Box16.Title "UpperThresHold" -new LayoutLine Box17 +new wt:LayoutLine Box17 -new CommandButton Box21 - set Box21.Label "Run" +new wt:CommandButton Box21 + set Box21.Label "Run..." -new AddObjectToViewerWeb Box22 +new wt:AddObjectToViewerWeb Box22 -new configServerWT Box24 - set Box24.DocRoot "/tmpEED/tmpWt/wtInstall/share/Wt/resources" +new wt:configServerWT Box24 + set Box24.DocRoot "/var/www/testwtdbg/docroot/tempWT/" + set Box24.Port "8082" -new LayoutSplit Box25 - set Box25.Orientation "h" +new itk:ImageWriter Box26 -new ImageWriter Box26 +new std:ConcatStrings Box27 + set Box27.In1 "/var/www/testwtdbg/docroot/nn/imagesTMP/" -new ConcatStrings Box27 - set Box27.In1 "/home/davila/tempWT" +new std:ConcatStrings Box28 + set Box28.In2 "hola.nii" -new ConcatStrings Box28 - set Box28.In2 "/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:OutputText Box32 + +new wt:LayoutSplit Box34 + set Box34.Orientation "h" + +new std:ConcatStrings Box35 + set Box35.In1 "imagesTMP/" connect Box00.Out Box02.In @@ -92,8 +112,6 @@ connect Box02.Out Box06.In connect Box06.Out Box09.In -connect Box09.Out Box05.In - connect Box05.Out Box14.In connect Box10.Out Box08.In2 @@ -116,8 +134,6 @@ connect Box21.BoxChange Box14.BoxExecute connect Box21.Widget Box17.Widget5 -connect Box10.Out Box22.Mesh - connect Box12.viewer1 Box22.Viewer3D connect Box22.Widget Box17.Widget8 @@ -130,18 +146,43 @@ connect Box27.Out Box28.In1 connect Box28.Out Box26.Filename -connect Box26.BoxChange Box12.BoxExecute - connect Box27.Out Box24.DocRoot connect Box27.Out Box08.In1 -connect Box17.Widget Box25.Widget1 +connect Box09.Out Box29.In + +connect Box31.Widget Box17.Widget1 + +connect Box32.Widget Box17.Widget4 + +connect Box08.Out Box32.In + +connect Box21.BoxChange Box32.BoxExecute + +connect Box31.Out Box29.StdDevX + +connect Box31.Out Box29.StdDevY + +connect Box31.Out Box29.StdDevZ + +connect Box29.Out Box05.In + +connect Box31.Out Box10.In6 + +connect Box17.Widget Box34.Widget1 + +connect Box10.Out Box35.In2 + +connect Box26.BoxChange Box12.BoxExecute + +connect Box35.Out Box22.Mesh -connect Box12.Widget Box25.Widget2 +connect Box12.Widget Box34.Widget2 # Complex input ports exec Box24 -exec Box25 +exec Box26 +exec Box34