]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/bbs/boxes/ImageWriteB.bbs
#3040 creaWT Bug New Normal - box ViewerWeb update
[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 std:ConcatStrings Box00
20   set Box00.In1 "hola"
21   set Box00.In3 ".nii"
22
23 new itk:ImageWriter Box01
24
25 new wt:GetConfigServerWt Box02
26
27 new std:RandomString Box03
28
29 new std:ConcatStrings Box04
30   set Box04.In1 "imagesTMP/"
31
32 new std:ConcatStrings Box05
33   set Box05.In2 "/"
34
35 new std:MagicBox Box06
36
37
38 connect Box00.Out Box04.In2
39 connect Box02.DocRoot Box05.In1
40 connect Box04.Out Box05.In3
41 connect Box05.Out Box01.Filename
42 connect Box03.Out Box00.In2
43 connect Box06.BoxChange Box04.BoxExecute
44 connect Box06.BoxChange Box01.BoxExecute
45
46 # Complex input ports
47 input Image Box01.In " "
48 input boxExecute Box06.In " "
49
50 # Complex output ports
51 output FileName Box04.Out " "
52 output out Box01.BoxChange " "
53
54 message    
55 exec Box01
56
57 endefine