]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Widget.bbs
caed524befb7dd16eb71136050465b1761484dc8
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VoiMPR-Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaVtk
9 include vtk
10 include std
11
12 define VoiMPR-Widget creaVtk
13
14 author "InfoDev"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new creaVtk:VoiMPR-Interface Box01
20
21 new creaVtk:VoiMPR Box02
22
23 new vtk:UpdateRender Box03
24   set Box03.Active "true"
25
26 new std:MagicBox Box04
27
28 new std:MagicBox Box05
29
30 new std:MagicBox Box06
31
32 new vtk:UpdateRender Box07
33   set Box07.Active "true"
34
35 new vtk:UpdateRender Box08
36   set Box08.Active "true"
37
38 new std:ConcatStrings Box09
39   set Box09.In2 " "
40   set Box09.In4 " "
41
42 new std:GetVectorIntElement Box10
43   set Box10.I "0"
44
45 new std:ConcatStrings Box14
46   set Box14.In2 " "
47   set Box14.In4 " "
48
49 new std:MathOperation Box15
50   set Box15.Type "1"
51
52 new std:GetVectorIntElement Box16
53   set Box16.I "1"
54
55 new std:GetVectorIntElement Box17
56   set Box17.I "2"
57
58 new std:MathOperation Box18
59   set Box18.Type "1"
60
61 new std:GetVectorIntElement Box19
62   set Box19.I "3"
63
64 new std:GetVectorIntElement Box20
65   set Box20.I "4"
66
67 new std:MathOperation Box21
68   set Box21.Type "1"
69
70 new std:GetVectorIntElement Box22
71   set Box22.I "5"
72
73 new vtk:vtkImageDataPointerRelay Box23
74
75 new vtk:ImageVtkProperties Box24
76
77
78 connect Box01.active Box02.Active
79 connect Box01.boxchange Box02.BoxExecute
80 connect Box01.voi Box02.In
81 connect Box04.Out Box02.XYrender
82 connect Box05.Out Box02.XZrender
83 connect Box04.Out Box03.Renderer
84 connect Box06.Out Box02.YZrender
85 connect Box05.Out Box07.Renderer
86 connect Box06.Out Box08.Renderer
87 connect Box01.boxchangeRender Box03.BoxExecute
88 connect Box01.boxchangeRender Box07.BoxExecute
89 connect Box01.boxchangeRender Box08.BoxExecute
90 connect Box01.voi Box10.In
91 connect Box10.Out Box09.In1
92 connect Box01.voi Box16.In
93 connect Box16.Out Box15.In1
94 connect Box10.Out Box15.In2
95 connect Box19.Out Box18.In1
96 connect Box17.Out Box18.In2
97 connect Box22.Out Box21.In1
98 connect Box20.Out Box21.In2
99 connect Box17.Out Box09.In3
100 connect Box20.Out Box09.In5
101 connect Box15.Out Box14.In1
102 connect Box18.Out Box14.In3
103 connect Box21.Out Box14.In5
104 connect Box01.voi Box17.In
105 connect Box01.voi Box19.In
106 connect Box01.voi Box20.In
107 connect Box01.voi Box22.In
108 connect Box23.Out Box01.Image
109 connect Box23.Out Box24.In
110 connect Box24.Spacing Box02.Spacing
111
112 # Complex input ports
113 input execute Box01.Execute " "
114 input RenderXY Box04.In " "
115 input RenderXZ Box05.In " "
116 input RenderYZ Box06.In " "
117 input Point Box02.ActualPoint " "
118 input image Box23.In " "
119
120 # Complex output ports
121 output Widget Box01.widget " "
122 output Voi Box01.voi " "
123 output boxchangeInterface Box01.boxchangeRender " "
124 output index Box09.Out " "
125 output size Box14.Out " "
126
127
128 endefine