1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Widget.bbs
4 # ----------------------------------
12 define VoiMPR-Widget creaVtk
15 description "Description ??"
19 new creaVtk:VoiMPR-Interface Box01
21 new creaVtk:VoiMPR Box02
23 new vtk:UpdateRender Box03
24 set Box03.Active "true"
26 new std:MagicBox Box04
28 new std:MagicBox Box05
30 new std:MagicBox Box06
32 new vtk:UpdateRender Box07
33 set Box07.Active "true"
35 new vtk:UpdateRender Box08
36 set Box08.Active "true"
38 new std:ConcatStrings Box09
42 new std:GetVectorIntElement Box10
45 new std:ConcatStrings Box14
49 new std:MathOperation Box15
52 new std:GetVectorIntElement Box16
55 new std:GetVectorIntElement Box17
58 new std:MathOperation Box18
61 new std:GetVectorIntElement Box19
64 new std:GetVectorIntElement Box20
67 new std:MathOperation Box21
70 new std:GetVectorIntElement Box22
73 new vtk:vtkImageDataPointerRelay Box23
75 new vtk:ImageVtkProperties Box24
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
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 input VoiIndex Box01.voi_index " "
120 input VoiSize Box01.voi_size " "
122 # Complex output ports
123 output Widget Box01.widget " "
124 output Voi Box01.voi " "
125 output boxchangeInterface Box01.boxchangeRender " "
126 output index Box09.Out " "
127 output size Box14.Out " "