]> Creatis software - creaWT.git/commitdiff
EED
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 9 Jul 2015 10:27:03 +0000 (12:27 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 9 Jul 2015 10:27:03 +0000 (12:27 +0200)
wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbg [new file with mode: 0644]
wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs [new file with mode: 0644]

diff --git a/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbg b/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbg
new file mode 100644 (file)
index 0000000..d9a1613
--- /dev/null
@@ -0,0 +1,269 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:FALSE
+COMPLEXINPUTS:0
+BOXES:19
+BOX
+vtk:LoadHola:Box00
+ISEXEC:FALSE
+-72.570294:105.151943:-900.000000
+-26.995294:95.151943:-900.000000
+FIN_BOX
+BOX
+itk:BinaryThresholdImageFilter:Box02
+ISEXEC:FALSE
+-39.077105:85.209608:-900.000000
+32.097895:75.209608:-900.000000
+PORT
+InsideValue:"255"
+PORT
+LowerThreshold:"1250"
+PORT
+OutsideValue:"0"
+PORT
+UpperThreshold:"1500"
+FIN_BOX
+BOX
+vtk:MarchingCubes:Box05
+ISEXEC:FALSE
+6.692777:43.801065:-900.000000
+52.267777:33.801065:-900.000000
+PORT
+ComputeNormalsOn:"true"
+PORT
+ComputeScalarsOn:"false"
+PORT
+Value:"128"
+FIN_BOX
+BOX
+vtk:ImageContinuousErode3D:Box06
+ISEXEC:FALSE
+-20.878075:71.715614:-900.000000
+50.296925:61.715614:-900.000000
+PORT
+KernelSizeX:"3"
+PORT
+KernelSizeY:"3"
+PORT
+KernelSizeZ:"3"
+FIN_BOX
+BOX
+vtk:SegmentationConnectivity:Box09
+ISEXEC:FALSE
+-8.391847:60.140101:-900.000000
+62.783153:50.140101:-900.000000
+PORT
+PositionXYZ:"73 101 93"
+PORT
+ThresholdMinMax:"200 300"
+FIN_BOX
+BOX
+std:ConcatStrings:Box08
+ISEXEC:FALSE
+-47.016798:38.862924:-900.000000
+-1.441798:28.862924:-900.000000
+PORT
+In1:"/home/gonzalez/Documents/pruebaResources/"
+FIN_BOX
+BOX
+std:ConcatStrings:Box10
+ISEXEC:FALSE
+-94.398373:64.295245:-900.000000
+-48.823373:54.295245:-900.000000
+PORT
+In1:"/holaPP"
+PORT
+In3:"_"
+PORT
+In5:".vtk"
+FIN_BOX
+BOX
+wt:ViewerNVWeb:Box12
+ISEXEC:FALSE
+-105.671039:-12.403161:-900.000000
+-60.096039:-22.403161:-900.000000
+PORT
+ImagePath:"hola.nii"
+FIN_BOX
+BOX
+vtk:PolyDataWriter:Box14
+ISEXEC:FALSE
+21.745332:14.303612:-900.000000
+67.320332:4.303612:-900.000000
+FIN_BOX
+BOX
+wt:Slider:Box15
+ISEXEC:FALSE
+-147.478672:97.311303:-900.000000
+-99.158672:87.311303:-900.000000
+PORT
+In:"1250"
+PORT
+Max:"1449"
+PORT
+Min:"500"
+PORT
+Title:"LowerThreshold"
+FIN_BOX
+BOX
+wt:Slider:Box16
+ISEXEC:FALSE
+-11.084915:114.503664:-900.000000
+37.235085:104.503664:-900.000000
+PORT
+In:"1500"
+PORT
+Max:"2500"
+PORT
+Min:"1450"
+PORT
+Title:"UpperThresHold"
+FIN_BOX
+BOX
+wt:LayoutLine:Box17
+ISEXEC:FALSE
+-16.520519:-78.953832:-900.000000
+41.039481:-88.953832:-900.000000
+FIN_BOX
+BOX
+wt:CommandButton:Box21
+ISEXEC:FALSE
+66.944278:42.623376:-900.000000
+112.519278:32.623376:-900.000000
+PORT
+Label:"Run"
+FIN_BOX
+BOX
+wt:AddObjectToViewerWeb:Box22
+ISEXEC:FALSE
+59.945615:-43.722720:-900.000000
+131.120615:-53.722720:-900.000000
+FIN_BOX
+BOX
+wt:configServerWT:Box24
+ISEXEC:TRUE
+-122.195006:-122.911993:-900.000000
+-76.620006:-132.911993:-900.000000
+PORT
+DocRoot:"/tmpEED/tmpWt/wtInstall/share/Wt/resources"
+FIN_BOX
+BOX
+wt:LayoutSplit:Box25
+ISEXEC:TRUE
+-4.445665:-126.217390:-900.000000
+41.129335:-136.217390:-900.000000
+PORT
+Orientation:"h"
+FIN_BOX
+BOX
+itk:ImageWriter:Box26
+ISEXEC:FALSE
+-122.926454:9.840855:-900.000000
+-77.351454:-0.159145:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box27
+ISEXEC:FALSE
+-214.174147:69.650129:-900.000000
+-168.599147:59.650129:-900.000000
+PORT
+In1:"/home/davila/tempWT"
+FIN_BOX
+BOX
+std:ConcatStrings:Box28
+ISEXEC:FALSE
+-179.219855:42.738719:-900.000000
+-133.644855:32.738719:-900.000000
+PORT
+In2:"/hola.nii"
+FIN_BOX
+CONNECTIONS:27
+CONNECTION
+Box00:Out:Box02:In
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box06:In
+NumberOfControlPoints:0
+CONNECTION
+Box06:Out:Box09:In
+NumberOfControlPoints:0
+CONNECTION
+Box09:Out:Box05:In
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box14:In
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box08:In2
+NumberOfControlPoints:0
+CONNECTION
+Box08:Out:Box14:Filename
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box10:In2
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box02:LowerThreshold
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box02:UpperThreshold
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box10:In4
+NumberOfControlPoints:0
+CONNECTION
+Box15:Widget:Box17:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box16:Widget:Box17:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box21:BoxChange:Box14:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box21:Widget:Box17:Widget5
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box22:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box12:viewer1:Box22:Viewer3D
+NumberOfControlPoints:0
+CONNECTION
+Box22:Widget:Box17:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box21:BoxChange:Box22:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Box26:In
+NumberOfControlPoints:0
+CONNECTION
+Box27:Out:Box28:In1
+NumberOfControlPoints:0
+CONNECTION
+Box28:Out:Box26:Filename
+NumberOfControlPoints:0
+CONNECTION
+Box26:BoxChange:Box12:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box27:Out:Box24:DocRoot
+NumberOfControlPoints:0
+CONNECTION
+Box27:Out:Box08:In1
+NumberOfControlPoints:0
+CONNECTION
+Box17:Widget:Box25:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box12:Widget:Box25:Widget2
+NumberOfControlPoints:0
+APP_END
diff --git a/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs b/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs
new file mode 100644 (file)
index 0000000..790974a
--- /dev/null
@@ -0,0 +1,147 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion1Boton02.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include itk
+include std
+include wt
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new LoadHola Box00
+
+new BinaryThresholdImageFilter Box02
+  set Box02.InsideValue "255"
+  set Box02.LowerThreshold "1250"
+  set Box02.OutsideValue "0"
+  set Box02.UpperThreshold "1500"
+
+new MarchingCubes Box05
+  set Box05.ComputeNormalsOn "true"
+  set Box05.ComputeScalarsOn "false"
+  set Box05.Value "128"
+
+new ImageContinuousErode3D Box06
+  set Box06.KernelSizeX "3"
+  set Box06.KernelSizeY "3"
+  set Box06.KernelSizeZ "3"
+
+new SegmentationConnectivity Box09
+  set Box09.PositionXYZ "73 101 93"
+  set Box09.ThresholdMinMax "200 300"
+
+new ConcatStrings Box08
+  set Box08.In1 "/home/gonzalez/Documents/pruebaResources/"
+
+new ConcatStrings Box10
+  set Box10.In1 "/holaPP"
+  set Box10.In3 "_"
+  set Box10.In5 ".vtk"
+
+new ViewerNVWeb Box12
+  set Box12.ImagePath "hola.nii"
+
+new PolyDataWriter Box14
+
+new Slider Box15
+  set Box15.In "1250"
+  set Box15.Max "1449"
+  set Box15.Min "500"
+  set Box15.Title "LowerThreshold"
+
+new Slider Box16
+  set Box16.In "1500"
+  set Box16.Max "2500"
+  set Box16.Min "1450"
+  set Box16.Title "UpperThresHold"
+
+new LayoutLine Box17
+
+new CommandButton Box21
+  set Box21.Label "Run"
+
+new AddObjectToViewerWeb Box22
+
+new configServerWT Box24
+  set Box24.DocRoot "/tmpEED/tmpWt/wtInstall/share/Wt/resources"
+
+new LayoutSplit Box25
+  set Box25.Orientation "h"
+
+new ImageWriter Box26
+
+new ConcatStrings Box27
+  set Box27.In1 "/home/davila/tempWT"
+
+new ConcatStrings Box28
+  set Box28.In2 "/hola.nii"
+
+
+connect Box00.Out Box02.In
+
+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
+
+connect Box08.Out Box14.Filename
+
+connect Box15.Out Box10.In2
+
+connect Box15.Out Box02.LowerThreshold
+
+connect Box16.Out Box02.UpperThreshold
+
+connect Box16.Out Box10.In4
+
+connect Box15.Widget Box17.Widget2
+
+connect Box16.Widget Box17.Widget3
+
+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
+
+connect Box21.BoxChange Box22.BoxExecute
+
+connect Box00.Out Box26.In
+
+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 Box12.Widget Box25.Widget2
+
+
+
+# Complex input ports
+exec Box24
+exec Box25