]> Creatis software - creaWT.git/blobdiff - wt/bbtk_wt_PKG/bbs/boxes/ImageWriteB.bbs
#2691 creaWT Feature New Normal - Implementation temp files
[creaWT.git] / wt / bbtk_wt_PKG / bbs / boxes / ImageWriteB.bbs
diff --git a/wt/bbtk_wt_PKG/bbs/boxes/ImageWriteB.bbs b/wt/bbtk_wt_PKG/bbs/boxes/ImageWriteB.bbs
new file mode 100644 (file)
index 0000000..e18eed5
--- /dev/null
@@ -0,0 +1,52 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/boxes/ImageWriteB.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include std
+include itk
+include wt
+
+define ImageWriteB wt
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new ConcatStrings Box00
+  set Box00.In1 "Image_"
+  set Box00.In3 ".nii"
+
+new ImageWriter Box01
+
+new GetConfigServerWt Box02
+
+new RandomString Box03
+
+new ConcatStrings Box04
+  set Box04.In1 "imagesTMP/"
+
+new ConcatStrings Box05
+  set Box05.In2 "/"
+
+
+connect Box03.Out Box00.In2
+connect Box00.Out Box04.In2
+connect Box02.DocRoot Box05.In1
+connect Box04.Out Box05.In3
+connect Box05.Out Box01.Filename
+
+# Complex input ports
+input Image Box01.In " "
+
+# Complex output ports
+output FileName Box04.Out " "
+output out Box01.BoxChange " "
+
+message    
+exec Box01
+
+endefine