include vtk
include itk
include wt
-include std
author "Author ??"
description "Description ??"
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"
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"
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
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 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