1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
21 description "Description ??"
24 new creaImageIO:ImagesChooserDialogBox Box00
26 new creaMaracasVisu:ViewerNV Box01
27 set Box01.nTypeView "6 1 2 0"
29 new toolsbbtk:ImageVtkPropertiesWidget Box04
31 new wx:LayoutTab Box05
32 set Box05.WinHide "800"
33 set Box05.WinWidth "1000"
35 new toolsbbtk:SaveMHD-Button Box06
37 new wx:LayoutLine Box07
38 set Box07.WinTitle "MPR Viewer"
40 new creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget Box16
42 new wx:LayoutTab Box11
44 new wx:LayoutLine Box14
45 set Box14.Orientation "H"
47 new wx:LayoutSplit Box15
48 set Box15.Proportion "15"
49 set Box15.WinTitle "Crop"
53 set Box19.Label "true"
55 set Box19.ReactiveOnTrack "true"
56 set Box19.Title "size X"
60 set Box20.Label "true"
62 set Box20.ReactiveOnTrack "true"
63 set Box20.Title "size Y"
67 set Box21.Label "true"
69 set Box21.ReactiveOnTrack "true"
70 set Box21.Title "size Z"
72 new std:ConcatStrings Box23
76 new vtk:vtkImageDataPointerRelay Box24
78 new vtk:LoadHola Box26
80 new std:MultipleInputs Box34
82 new wx:LayoutTab Box36
84 new std:MultipleInputs Box50
86 new wx:LayoutLine Box57
87 set Box57.WinTitle "Layer"
89 new creaVtk:OutputWindow Box71
91 new wx:LayoutSplit Box72
92 set Box72.Orientation "H"
94 new creaMaracasVisu:Measure3DLength_Widget Box74
96 new wx:LayoutLine Box75
97 set Box75.WinTitle "Tools"
99 new wx:LayoutLine Box77
100 set Box77.Orientation "H"
104 set Box78.Label "true"
106 set Box78.Min "-2000"
107 set Box78.ReactiveOnTrack "true"
108 set Box78.Title "delta X"
112 set Box79.Label "true"
114 set Box79.Min "-2000"
115 set Box79.ReactiveOnTrack "true"
116 set Box79.Title "delta Y"
119 set Box80.ChangeResolution "true"
121 set Box80.Label "true"
123 set Box80.Min "-2000"
124 set Box80.ReactiveOnTrack "true"
125 set Box80.Title "delta Z"
127 new wx:LayoutLine Box81
128 set Box81.Orientation "V"
130 new std:ConcatStrings Box86
134 new std:MathOperationVector Box87
136 new creaMiniTools:crop-viewer-widget Box88
137 set Box88.title "Base Image A"
139 new creaMiniTools:crop-viewer-widget Box89
140 set Box89.title "Base Image B"
142 new creaMiniTools:crop-viewer-widget-manual Box85
143 set Box85._title "Image A"
145 new creaMiniTools:crop-viewer-widget-manual Box90
146 set Box90._title "Image B"
148 new std:MultipleInputs Box91
151 connect Box04.widget Box05.Widget2
153 connect Box06.Widget Box05.Widget3
155 connect Box01.Widget Box07.Widget1
157 connect Box07.Widget Box05.Widget1
159 connect Box01.Renderer1 Box16.renderer3D
161 connect Box01.wxVtkBaseView2 Box16.wxvtkbaseview1
163 connect Box01.wxVtkBaseView3 Box16.wxvtkbaseview2
165 connect Box01.wxVtkBaseView4 Box16.wxvtkbaseview3
167 connect Box15.Widget Box11.Widget2
169 connect Box19.Widget Box14.Widget1
171 connect Box20.Widget Box14.Widget2
173 connect Box21.Widget Box14.Widget3
175 connect Box19.Out Box23.In1
177 connect Box20.Out Box23.In3
179 connect Box21.Out Box23.In5
181 connect Box24.Out Box01.In
183 connect Box24.Out Box04.in
185 connect Box24.Out Box06.In
187 connect Box01.BoxChange Box34.In1
189 connect Box36.Widget Box15.Widget2
191 connect Box19.BoxChange Box50.In1
193 connect Box20.BoxChange Box50.In2
195 connect Box21.BoxChange Box50.In3
197 connect Box57.Widget Box11.Widget1
199 connect Box16.widget Box57.Widget1
201 connect Box11.Widget Box72.Widget1
203 connect Box05.Widget Box72.Widget2
205 connect Box01.Point Box74.point
207 connect Box24.Out Box74.vtkimagedata
209 connect Box01.Renderer1 Box74.vtkrender
211 connect Box74.widget Box75.Widget1
213 connect Box75.Widget Box11.Widget3
215 connect Box26.Out Box24.In
217 connect Box78.Widget Box77.Widget1
219 connect Box79.Widget Box77.Widget2
221 connect Box80.Widget Box77.Widget3
223 connect Box81.Widget Box15.Widget1
225 connect Box14.Widget Box81.Widget1
227 connect Box77.Widget Box81.Widget2
229 connect Box78.Out Box86.In1
231 connect Box79.Out Box86.In3
233 connect Box80.Out Box86.In5
235 connect Box86.Out Box87.In0
237 connect Box01.Point Box87.In1
239 connect Box50.Out Box34.In2
241 connect Box01.Renderer1 Box88.renderer
243 connect Box23.Out Box88.size
245 connect Box87.Out Box88.position
247 connect Box24.Out Box88.image
249 connect Box34.BoxChange Box88.box_Execute
251 connect Box88.widget Box36.Widget1
253 connect Box01.Renderer1 Box89.renderer
255 connect Box23.Out Box89.size
257 connect Box87.Out Box89.position
259 connect Box34.BoxChange Box89.box_Execute
261 connect Box01.Renderer1 Box85._renderer
263 connect Box34.BoxChange Box85._execute
265 connect Box23.Out Box85._size
267 connect Box87.Out Box85._position
269 connect Box85.wxwidget Box36.Widget3
271 connect Box01.Renderer1 Box90._renderer
273 connect Box23.Out Box90._size
275 connect Box87.Out Box90._position
277 connect Box34.BoxChange Box90._execute
279 connect Box90.wxwidget Box36.Widget4
281 connect Box89.widget Box36.Widget2
283 connect Box24.Out Box89.image
285 connect Box78.BoxChange Box91.In1
287 connect Box79.BoxChange Box91.In2
289 connect Box80.BoxChange Box91.In3
291 connect Box91.BoxChange Box34.In3
295 # Complex input ports