1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaContours/bbtk/bbs/boxes/ContourReferenceStep.bbs
4 # ----------------------------------
10 include creaMaracasVisu
14 define ContourReferenceStep creaContours
17 description "Description ??"
21 new creaContours:SetViewerPosition Box83
22 set Box83.Direction "1"
24 new wx:LayoutLine Box84
25 set Box84.WinTitle "Config"
29 set Box86.Label "true"
32 set Box86.Title "Shift slice"
34 new wx:CommandButton Box152
37 new wx:CommandButton Box153
40 new wx:LayoutLine Box154
41 set Box154.Orientation "H"
43 new creaMaracasVisu:SetPosition Box155
45 new std:GetVectorIntElement Box156
48 new std:GetVectorIntElement Box157
51 new std:GetVectorIntElement Box158
54 new std:ConcatStrings Box159
61 new creaMaracasVisu:SetPosition Box161
63 new std:ConcatStrings Box162
67 new std:MathOperation Box164
70 new std:MathOperation Box174
73 new std:MathOperation Box175
76 new std:MathOperation Box176
79 new wx:OutputText Box224
81 new wx:OutputText Box225
83 new std:MultipleInputs Box256
85 new wx:OutputText Box258
87 new wx:LayoutLine Box261
89 new std:ReplaceCleanString Box265
90 set Box265.Search ".000000"
92 new std:VectorFilterDouble Box283
94 new std:CreateArithmeticSuiteVector Box284
96 set Box284.FirstValue "0"
98 new std:GetDoubleVectorSize Box285
100 new std:VectorFilterDouble Box286
103 new std:ConcatStrings Box287
107 new std:ConcatStrings Box288
109 new std:MathOperation Box291
112 new std:StringSelect Box295
113 set Box295.In0 "Warning !"
116 new std:GetVectorDoubleElement Box298
118 new std:ReplaceCleanString Box299
119 set Box299.Search ".000000"
121 new wx:OutputText Box300
123 new wx:OutputText Box302
125 new wx:ComboBox Box314
127 set Box314.Selection "9"
128 set Box314.Title "Slice step -/+"
130 new std:CreateArithmeticSuiteVector Box315
132 set Box315.FirstValue "1"
135 new std:ConcatStrings Box316
137 new std:ConcatStrings Box317
139 new std:StringSelect Box318
146 new std:ConcatStrings Box324
150 new std:GetVectorDoubleElement Box326
153 new std:ConcatStrings Box327
154 set Box327.In2 " : MPR Nearest Contour"
156 new std:ConcatStrings Box328
157 set Box328.In2 " : 2D Slice Contour"
159 new std:ConcatStrings Box329
163 new wx:ComboBox Box330
164 set Box330.In "Direct Grid Contour Nothing"
165 set Box330.Selection "1"
166 set Box330.Title "MPR to 2D "
168 new wx:LayoutLine Box331
169 set Box331.Orientation "H"
171 new wx:LayoutLine Box336
172 set Box336.Orientation "H"
173 set Box336.WinTitle "Slice step"
175 new wx:OutputText Box348
176 set Box348.Title "Warning"
178 new std:ReplaceCleanString Box349
179 set Box349.Replace ","
180 set Box349.Search " "
182 new std:VectorFilterDouble Box352
184 new std:VectorFilterDouble Box354
187 new wx:OutputText Box355
189 new std:GetVectorIntElement Box436
192 new vtk:ImageVtkProperties Box437
194 new std:VectorFilterDouble Box438
197 new creaMaracasVisu:wxVtkBaseView_Info Box447
198 set Box447.InteractionType "6"
200 new std:MultipleInputs Box448
202 new creaMaracasVisu:wxVtkBaseView_Info Box449
203 set Box449.InteractionType "8"
205 new std:MagicBox Box450
207 new std:MagicBox Box451
209 new std:MagicBox Box452
211 new std:MagicBox Box453
213 new std:MagicBox Box454
215 new std:MagicBox Box455
217 new wx:LayoutTab Box456
219 new std:MagicBox Box457
221 new std:MagicBox Box458
223 new std:MagicBox Box459
225 new std:MagicBox Box460
229 new std:GetVectorDoubleElement Box82
233 connect Box86.Widget Box84.Widget2
234 connect Box153.Widget Box154.Widget2
235 connect Box156.Out Box159.In1
236 connect Box158.Out Box159.In5
237 connect Box159.Out Box155.Point
238 connect Box152.BoxChange Box155.BoxExecute
239 connect Box153.BoxChange Box161.BoxExecute
240 connect Box156.Out Box162.In1
241 connect Box158.Out Box162.In5
242 connect Box162.Out Box161.Point
243 connect Box164.Out Box162.In3
244 connect Box157.Out Box175.In1
245 connect Box175.Out Box176.In1
246 connect Box176.Out Box174.In1
247 connect Box152.Widget Box154.Widget4
248 connect Box224.Widget Box154.Widget1
249 connect Box164.BoxChange Box256.In2
250 connect Box283.Out0 Box285.In
251 connect Box285.VectorSize Box284.Size
252 connect Box284.ArithmeticSuiteVector Box286.In2
253 connect Box287.Out Box286.In3
254 connect Box284.ArithmeticSuiteVector Box286.In0
255 connect Box283.Out0 Box286.In1
256 connect Box286.Out0 Box288.In1
257 connect Box258.Widget Box261.Widget4
258 connect Box265.Out Box291.In1
259 connect Box291.Out Box295.In
260 connect Box288.Out Box298.I
261 connect Box283.Out0 Box298.In
262 connect Box299.Out Box291.In2
263 connect Box295.Out Box300.In
264 connect Box258.BoxChange Box300.BoxExecute
265 connect Box295.BoxChange Box258.BoxExecute
266 connect Box302.Widget Box261.Widget5
267 connect Box302.BoxChange Box295.BoxExecute
268 connect Box256.BoxChange Box302.BoxExecute
269 connect Box225.Widget Box154.Widget5
270 connect Box316.Out Box314.In
271 connect Box315.ArithmeticSuiteVector Box316.In1
272 connect Box314.OutString Box317.In1
273 connect Box317.Out Box175.In2
274 connect Box317.Out Box174.In2
275 connect Box317.Out Box160.In2
276 connect Box317.Out Box164.In2
277 connect Box318.Out Box83.Position
278 connect Box160.BoxChange Box256.In1
279 connect Box174.Out Box321.In1
280 connect Box321.Out Box160.In1
281 connect Box160.Out Box159.In3
282 connect Box174.Out Box322.In1
283 connect Box322.Out Box164.In1
284 connect Box86.Out Box322.In2
285 connect Box86.Out Box321.In2
286 connect Box156.Out Box324.In1
287 connect Box174.Out Box324.In3
288 connect Box158.Out Box324.In5
289 connect Box324.Out Box318.In1
290 connect Box326.Out Box265.In
291 connect Box318.Out Box326.In
292 connect Box299.Out Box327.In1
293 connect Box327.Out Box258.In
294 connect Box265.Out Box328.In1
295 connect Box328.Out Box302.In
296 connect Box156.Out Box329.In1
297 connect Box158.Out Box329.In5
298 connect Box329.Out Box318.In2
299 connect Box330.Out Box318.In
300 connect Box330.Widget Box331.Widget6
301 connect Box314.Widget Box331.Widget3
302 connect Box154.Widget Box336.Widget2
303 connect Box300.Widget Box261.Widget2
304 connect Box261.Widget Box336.Widget5
305 connect Box331.Widget Box336.Widget7
306 connect Box348.Widget Box261.Widget7
307 connect Box300.BoxChange Box348.BoxExecute
308 connect Box352.Out0 Box348.In
309 connect Box349.Out Box354.In0
310 connect Box354.Out0 Box352.In0
311 connect Box355.Widget Box261.Widget6
312 connect Box436.Out Box287.In2
313 connect Box438.Out0 Box436.In
314 connect Box437.Spacing Box438.k1
315 connect Box447.BoxChange Box448.In1
316 connect Box448.BoxChange Box83.BoxExecute
317 connect Box449.BoxChange Box448.In3
318 connect Box450.Out Box157.In
319 connect Box450.Out Box156.In
320 connect Box450.Out Box318.In0
321 connect Box450.Out Box158.In
322 connect Box451.Out Box155.wxVtkBaseView
323 connect Box451.Out Box161.wxVtkBaseView
324 connect Box452.Out Box447.wxVtkBaseView1
325 connect Box452.Out Box449.wxVtkBaseView1
326 connect Box453.Out Box447.wxVtkBaseView2
327 connect Box453.Out Box449.wxVtkBaseView2
328 connect Box454.Out Box447.wxVtkBaseView3
329 connect Box454.Out Box449.wxVtkBaseView3
330 connect Box455.Out Box448.In9
331 connect Box336.Widget Box456.Widget2
332 connect Box84.Widget Box456.Widget3
333 connect Box457.Out Box83.wxContourMainFrame
334 connect Box458.Out Box349.In
335 connect Box459.Out Box283.In0
336 connect Box460.Out Box437.In
337 connect Box450.Out Box438.In0
338 connect Box298.Out Box81.In1
339 connect Box437.Spacing Box82.In
340 connect Box82.Out Box81.In2
341 connect Box81.Out Box329.In3
342 connect Box81.Out Box299.In
344 # Complex input ports
345 input _point Box450.In " "
346 input _wxvtkbaseview2 Box452.In " "
347 input _wxvtkbaseview3 Box453.In " "
348 input _wxvtkbaseview4 Box454.In " "
349 input _boxExecViewer Box455.In " "
350 input _wxcontourmainframe Box457.In " "
351 input _lstPssblIncnsnstntCntrY Box458.In " "
352 input _lstX Box459.In " "
353 input _image Box460.In " "
354 input _wxvtkbaseview1 Box451.In " "
356 # Complex output ports
357 output _widget Box456.Widget " "
358 output _initExec Box448.BoxChange " "
359 output _iaxis Box288.Out " "