]> Creatis software - creaWT.git/blob - 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
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/boxes/ImageWriteB.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include std
9 include itk
10 include wt
11
12 define ImageWriteB wt
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new ConcatStrings Box00
20   set Box00.In1 "hola"
21   set Box00.In3 ".nii"
22
23 new ImageWriter Box01
24
25 new GetConfigServerWt Box02
26
27 new RandomString Box03
28
29 new ConcatStrings Box04
30   set Box04.In1 "imagesTMP/"
31
32 new ConcatStrings Box05
33   set Box05.In2 "/"
34
35
36 connect Box00.Out Box04.In2
37 connect Box02.DocRoot Box05.In1
38 connect Box04.Out Box05.In3
39 connect Box05.Out Box01.Filename
40 connect Box03.Out Box00.In2
41
42 # Complex input ports
43 input Image Box01.In " "
44
45 # Complex output ports
46 output FileName Box04.Out " "
47 output out Box01.BoxChange " "
48
49 message    
50 exec Box01
51
52 endefine