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-Interface.bbs
4 # ----------------------------------
8 include creaMaracasVisu
13 define VoiMPR-Interface creaVtk
16 description "Description ??"
20 new creaMaracasVisu:SliderMinMax Box03
23 set Box03.ShowActual "false"
24 set Box03.WinClose "false"
26 new creaMaracasVisu:SliderMinMax Box04
29 set Box04.ShowActual "false"
31 new creaMaracasVisu:SliderMinMax Box05
34 set Box05.ShowActual "false"
36 new std:MultipleInputs Box06
38 new std:ConcatStrings Box07
44 new std:ConcatStrings Box08
49 new std:ConcatStrings Box09
51 new wx:LayoutLine Box11
53 new vtk:ImageVtkProperties Box30
55 new vtk:vtkImageDataPointerRelay Box31
57 new std:GetVectorIntElement Box32
60 new std:GetVectorIntElement Box33
63 new std:GetVectorIntElement Box34
66 new std:MultipleInputs Box40
70 set Box42.ReactiveOnKeystroke "true"
73 new wx:LayoutTab Box21
75 new wx:LayoutLine Box22
76 set Box22.WinTitle "X"
78 new wx:LayoutTab Box23
80 new wx:LayoutLine Box24
81 set Box24.WinTitle "Y"
83 new wx:LayoutTab Box25
85 new wx:LayoutLine Box26
86 set Box26.WinTitle "Z"
88 new std:MagicBox Box28
90 new std:GetVectorIntElement Box29
91 set Box29.ErrorValue "0"
94 new std:GetVectorIntElement Box35
95 set Box35.ErrorValue "0"
98 new std:GetVectorIntElement Box36
99 set Box36.ErrorValue "0"
102 new std:MagicBox Box38
104 new std:GetVectorIntElement Box39
105 set Box39.ErrorValue "0"
108 new std:GetVectorIntElement Box41
109 set Box41.ErrorValue "0"
112 new std:GetVectorIntElement Box43
113 set Box43.ErrorValue "0"
116 new std:MathOperationVector Box44
119 new wx:OutputText Box45
121 new wx:OutputText Box46
124 connect Box03.BoxChange Box06.In1
125 connect Box04.BoxChange Box06.In2
126 connect Box05.BoxChange Box06.In3
127 connect Box07.Out Box09.In1
128 connect Box08.Out Box09.In10
129 connect Box03.OutStart Box07.In1
130 connect Box03.OutEnd Box07.In3
131 connect Box04.OutStart Box07.In5
132 connect Box04.OutEnd Box07.In7
133 connect Box05.OutStart Box08.In1
134 connect Box05.OutEnd Box08.In3
135 connect Box31.Out Box30.In
136 connect Box30.Size Box32.In
137 connect Box30.Size Box33.In
138 connect Box30.Size Box34.In
139 connect Box06.BoxChange Box40.In1
140 connect Box42.Widget Box11.Widget1
141 connect Box42.BoxChange Box06.In4
142 connect Box22.Widget Box21.Widget1
143 connect Box03.Widget Box22.Widget1
144 connect Box21.Widget Box11.Widget3
145 connect Box24.Widget Box23.Widget1
146 connect Box04.Widget Box24.Widget1
147 connect Box23.Widget Box11.Widget5
148 connect Box26.Widget Box25.Widget1
149 connect Box25.Widget Box11.Widget8
150 connect Box05.Widget Box26.Widget1
151 connect Box28.Out Box29.In
152 connect Box28.Out Box35.In
153 connect Box28.Out Box36.In
154 connect Box32.Out Box39.ErrorValue
155 connect Box33.Out Box41.ErrorValue
156 connect Box34.Out Box43.ErrorValue
157 connect Box38.Out Box44.In0
158 connect Box28.Out Box44.In1
159 connect Box44.Out Box39.In
160 connect Box44.Out Box41.In
161 connect Box44.Out Box43.In
162 connect Box29.Out Box03.InMinShow
163 connect Box35.Out Box04.InMinShow
164 connect Box36.Out Box05.InMinShow
165 connect Box39.Out Box03.InMaxShow
166 connect Box41.Out Box04.InMaxShow
167 connect Box43.Out Box05.InMaxShow
168 connect Box32.Out Box03.InMax
169 connect Box33.Out Box04.InMax
170 connect Box34.Out Box05.InMax
171 connect Box45.Widget Box22.Widget3
172 connect Box28.Out Box45.In
173 connect Box38.Out Box46.In
174 connect Box46.Widget Box24.Widget3
176 # Complex input ports
177 input Image Box31.In " "
178 input Execute Box40.In2 " "
179 input voi_index Box28.In " "
180 input voi_size Box38.In " "
182 # Complex output ports
183 output widget Box11.Widget " "
184 output boxchange Box40.BoxChange " "
185 output active Box42.Out " "
186 output boxchangeRender Box06.BoxChange " "
187 output voi Box09.Out " "