]> Creatis software - creaWT.git/blobdiff - wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton03.bbs
#2691 creaWT Feature New Normal - Implementation temp files
[creaWT.git] / wt / bbtk_wt_PKG / bbs / appli / demoPresentacion1Boton03.bbs
index ba60fdf7a3973fefffa26fbeb608bda207a1f993..eeab1cdb89e8e836bcfb2098001fc86b3c63fa41 100644 (file)
@@ -11,7 +11,6 @@ include itkvtk
 include vtk
 include itk
 include wt
-include std
 
 author "Author ??"
 description "Description ??"
@@ -40,7 +39,7 @@ new vtk:SegmentationConnectivity Box09
   set Box09.ThresholdMinMax "200 300"
 
 new wt:ViewerNVWeb Box12
-  set Box12.ImagePath "xx"
+  set Box12.ImagePath "imagesTMP/hola.nii"
 
 new wt:Slider Box15
   set Box15.In "1250"
@@ -59,20 +58,7 @@ new wt:Slider Box16
 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"
+  set Box21.Label "Segmentation"
 
 new vtk:ImageGaussianSmooth Box29
   set Box29.StdDevX "0"
@@ -88,12 +74,17 @@ new wt:Slider Box31
 
 new wt:AddMeshB Box37
 
-new wt:ImageWriteB Box33
+new wt:configServerWT Box38
+  set Box38.DocRoot "/var/www/testwtdbg/docroot/appli1/"
+  set Box38.Port "8082"
+
+new wt:ImageWriteB Box39
 
-new wt:OutputText Box35
+new wt:LayoutSplit Box40
+  set Box40.Orientation "h"
 
-new wt:LayoutSplit Box36
-  set Box36.Orientation "h"
+new wt:OutputText Box25
+  set Box25.In "ALT-left to refresh screen"
 
 
 connect Box00.Out Box02.In
@@ -112,12 +103,6 @@ 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
@@ -134,27 +119,22 @@ connect Box05.Out Box37.vtkPolyData
 
 connect Box12.Viewer1 Box37.viewerwt
 
-connect Box21.BoxChange Box37.boxExecute
-
-connect Box00.Out Box33.Image
+connect Box00.Out Box39.Image
 
-connect Box35.Widget Box17.Widget4
+connect Box17.Widget Box40.Widget1
 
-connect Box33.FileName Box35.In
+connect Box12.Widget Box40.Widget2
 
-connect Box21.BoxChange Box35.BoxExecute
-
-connect Box17.Widget Box36.Widget1
-
-connect Box12.Widget Box36.Widget2
+connect Box21.BoxChange Box37.boxExecute
 
-connect Box33.FileName Box12.ImagePath
+connect Box39.FileName Box12.ImagePath
 
-connect Box33.out Box24.BoxExecute
+connect Box25.Widget Box17.Widget6
 
 
 
 # Complex input ports
-exec Box24
-exec Box33
-exec Box36
+exec Box06
+exec Box38
+exec Box39
+exec Box40