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
28 new toolsbbtk:ImageVtkPropertiesWidget Box04
30 new wx:LayoutTab Box05
31 set Box05.WinHide "800"
32 set Box05.WinWidth "1000"
34 new toolsbbtk:SaveMHD-Button Box06
36 new wx:LayoutLine Box07
37 set Box07.WinTitle "MPR Viewer"
39 new creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget Box16
41 new wx:LayoutTab Box11
43 new wx:LayoutLine Box14
44 set Box14.Orientation "H"
46 new wx:LayoutSplit Box15
47 set Box15.Proportion "15"
48 set Box15.WinTitle "Crop"
52 set Box19.Label "true"
54 set Box19.ReactiveOnTrack "true"
55 set Box19.Title "size X"
59 set Box20.Label "true"
61 set Box20.ReactiveOnTrack "true"
62 set Box20.Title "size Y"
66 set Box21.Label "true"
68 set Box21.ReactiveOnTrack "true"
69 set Box21.Title "size Z"
71 new std:ConcatStrings Box23
75 new vtk:vtkImageDataPointerRelay Box24
77 new vtk:LoadHola Box26
79 new std:MultipleInputs Box34
81 new wx:LayoutTab Box36
83 new std:MultipleInputs Box50
85 new wx:LayoutLine Box57
86 set Box57.WinTitle "Layer"
88 new creaVtk:OutputWindow Box71
90 new wx:LayoutSplit Box72
91 set Box72.Orientation "H"
93 new creaMaracasVisu:Measure3DLength_Widget Box74
95 new wx:LayoutLine Box75
96 set Box75.WinTitle "Tools"
98 new wx:LayoutLine Box77
99 set Box77.Orientation "H"
102 set Box78.ChangeResolution "true"
104 set Box78.Label "true"
106 set Box78.Min "-1000"
107 set Box78.ReactiveOnTrack "true"
108 set Box78.Title "delta X"
111 set Box79.ChangeResolution "true"
113 set Box79.Label "true"
115 set Box79.Min "-1000"
116 set Box79.ReactiveOnTrack "true"
117 set Box79.Title "delta Y"
120 set Box80.ChangeResolution "true"
122 set Box80.Label "true"
124 set Box80.Min "-1000"
125 set Box80.ReactiveOnTrack "true"
126 set Box80.Title "delta Z"
128 new wx:LayoutLine Box81
129 set Box81.Orientation "V"
131 new std:ConcatStrings Box86
135 new std:MathOperationVector Box87
137 new creaMiniTools:crop-viewer-widget Box88
138 set Box88.title "Base Image A"
140 new creaMiniTools:crop-viewer-widget Box89
141 set Box89.title "Base Image B"
143 new creaMiniTools:crop-viewer-widget-manual Box85
144 set Box85._title "Image A"
146 new creaMiniTools:crop-viewer-widget-manual Box90
147 set Box90._title "Image B"
149 new std:MultipleInputs Box91
152 connect Box04.widget Box05.Widget2
154 connect Box06.Widget Box05.Widget3
156 connect Box01.Widget Box07.Widget1
158 connect Box07.Widget Box05.Widget1
160 connect Box01.Renderer1 Box16.renderer3D
162 connect Box01.wxVtkBaseView2 Box16.wxvtkbaseview1
164 connect Box01.wxVtkBaseView3 Box16.wxvtkbaseview2
166 connect Box01.wxVtkBaseView4 Box16.wxvtkbaseview3
168 connect Box15.Widget Box11.Widget2
170 connect Box19.Widget Box14.Widget1
172 connect Box20.Widget Box14.Widget2
174 connect Box21.Widget Box14.Widget3
176 connect Box19.Out Box23.In1
178 connect Box20.Out Box23.In3
180 connect Box21.Out Box23.In5
182 connect Box24.Out Box01.In
184 connect Box24.Out Box04.in
186 connect Box24.Out Box06.In
188 connect Box01.BoxChange Box34.In1
190 connect Box36.Widget Box15.Widget2
192 connect Box19.BoxChange Box50.In1
194 connect Box20.BoxChange Box50.In2
196 connect Box21.BoxChange Box50.In3
198 connect Box57.Widget Box11.Widget1
200 connect Box16.widget Box57.Widget1
202 connect Box11.Widget Box72.Widget1
204 connect Box05.Widget Box72.Widget2
206 connect Box01.Point Box74.point
208 connect Box24.Out Box74.vtkimagedata
210 connect Box01.Renderer1 Box74.vtkrender
212 connect Box74.widget Box75.Widget1
214 connect Box75.Widget Box11.Widget3
216 connect Box78.Widget Box77.Widget1
218 connect Box79.Widget Box77.Widget2
220 connect Box80.Widget Box77.Widget3
222 connect Box81.Widget Box15.Widget1
224 connect Box14.Widget Box81.Widget1
226 connect Box77.Widget Box81.Widget2
228 connect Box78.Out Box86.In1
230 connect Box79.Out Box86.In3
232 connect Box80.Out Box86.In5
234 connect Box86.Out Box87.In0
236 connect Box01.Point Box87.In1
238 connect Box01.Renderer1 Box88.renderer
240 connect Box23.Out Box88.size
242 connect Box87.Out Box88.position
244 connect Box24.Out Box88.image
246 connect Box34.BoxChange Box88.box_Execute
248 connect Box88.widget Box36.Widget1
250 connect Box01.Renderer1 Box89.renderer
252 connect Box23.Out Box89.size
254 connect Box87.Out Box89.position
256 connect Box34.BoxChange Box89.box_Execute
258 connect Box01.Renderer1 Box85._renderer
260 connect Box34.BoxChange Box85._execute
262 connect Box23.Out Box85._size
264 connect Box87.Out Box85._position
266 connect Box85.wxwidget Box36.Widget3
268 connect Box01.Renderer1 Box90._renderer
270 connect Box23.Out Box90._size
272 connect Box87.Out Box90._position
274 connect Box34.BoxChange Box90._execute
276 connect Box90.wxwidget Box36.Widget4
278 connect Box89.widget Box36.Widget2
280 connect Box24.Out Box89.image
282 connect Box78.BoxChange Box91.In1
284 connect Box79.BoxChange Box91.In2
286 connect Box80.BoxChange Box91.In3
288 connect Box91.BoxChange Box34.In3
290 connect Box50.BoxChange Box34.In2
292 connect Box00.Out Box24.In
296 # Complex input ports