]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PointBySpacing.bbs
5bd18d37b67cfb56aaba88239ba5434e960a5c0a
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PointBySpacing.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PointBySpacing.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include std
9
10 define PointBySpacing creaVtk
11
12 author "Author ??"
13 description "Description ??"
14
15 category "<VOID>"
16
17 new GetVectorIntElement Box17
18   set Box17.I "0"
19
20 new Mul Box18
21
22 new GetVectorDoubleElement Box21
23   set Box21.I "0"
24
25 new ConcatStrings Box22
26   set Box22.In2 " "
27   set Box22.In4 " "
28   set Box22.In5 "10"
29
30 new GetVectorIntElement Box23
31   set Box23.I "1"
32
33 new Mul Box24
34
35 new GetVectorDoubleElement Box25
36   set Box25.I "1"
37
38 new GetVectorIntElement Box26
39   set Box26.I "2"
40
41 new Mul Box27
42
43 new GetVectorDoubleElement Box28
44   set Box28.I "2"
45
46 new MagicBox Box30
47
48 new MagicBox Box31
49
50
51 connect Box17.Out Box18.In1
52 connect Box21.Out Box18.In2
53 connect Box18.Out Box22.In1
54 connect Box23.Out Box24.In1
55 connect Box25.Out Box24.In2
56 connect Box26.Out Box27.In1
57 connect Box28.Out Box27.In2
58 connect Box24.Out Box22.In3
59 connect Box27.Out Box22.In5
60 connect Box30.Out Box17.In
61 connect Box30.Out Box23.In
62 connect Box30.Out Box26.In
63 connect Box31.Out Box28.In
64 connect Box31.Out Box25.In
65 connect Box31.Out Box21.In
66
67 # Complex input ports
68 input PointIn Box30.In " "
69 input Spacing Box31.In " "
70
71 # Complex output ports
72 output PointOut Box22.Out " "
73
74 message Interpreter 0
75
76 endefine