1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C8/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"
93 set Box72.WinTitle "ImageTools-Viewer-ViewerNV"
95 new creaMaracasVisu:Measure3DLength_Widget Box74
97 new wx:LayoutLine Box75
98 set Box75.WinTitle "Tools"
100 new wx:LayoutLine Box77
101 set Box77.Orientation "H"
104 set Box78.ChangeResolution "true"
106 set Box78.Label "true"
108 set Box78.Min "-1000"
109 set Box78.ReactiveOnTrack "true"
110 set Box78.Title "delta X"
113 set Box79.ChangeResolution "true"
115 set Box79.Label "true"
117 set Box79.Min "-1000"
118 set Box79.ReactiveOnTrack "true"
119 set Box79.Title "delta Y"
122 set Box80.ChangeResolution "true"
124 set Box80.Label "true"
126 set Box80.Min "-1000"
127 set Box80.ReactiveOnTrack "true"
128 set Box80.Title "delta Z"
130 new wx:LayoutLine Box81
131 set Box81.Orientation "V"
133 new std:ConcatStrings Box86
137 new std:MathOperationVector Box87
139 new creaMiniTools:crop-viewer-widget Box88
140 set Box88.title "Base Image A"
142 new creaMiniTools:crop-viewer-widget Box89
143 set Box89.title "Base Image B"
145 new creaMiniTools:crop-viewer-widget-manual Box85
146 set Box85._title "Image A"
148 new creaMiniTools:crop-viewer-widget-manual Box90
149 set Box90._title "Image B"
151 new std:MultipleInputs Box91
153 new creaMaracasVisu:ImageChangeInformation Box49
155 new creaMaracasVisu:HelpViewerNV Box51
157 new wx:LayoutLine Box52
158 set Box52.WinTitle "Viewer Help"
161 connect Box04.widget Box05.Widget2
163 connect Box06.Widget Box05.Widget3
165 connect Box01.Widget Box07.Widget1
167 connect Box07.Widget Box05.Widget1
169 connect Box01.Renderer1 Box16.renderer3D
171 connect Box01.wxVtkBaseView2 Box16.wxvtkbaseview1
173 connect Box01.wxVtkBaseView3 Box16.wxvtkbaseview2
175 connect Box01.wxVtkBaseView4 Box16.wxvtkbaseview3
177 connect Box15.Widget Box11.Widget2
179 connect Box19.Widget Box14.Widget1
181 connect Box20.Widget Box14.Widget2
183 connect Box21.Widget Box14.Widget3
185 connect Box19.Out Box23.In1
187 connect Box20.Out Box23.In3
189 connect Box21.Out Box23.In5
191 connect Box24.Out Box01.In
193 connect Box24.Out Box04.in
195 connect Box24.Out Box06.In
197 connect Box01.BoxChange Box34.In1
199 connect Box36.Widget Box15.Widget2
201 connect Box19.BoxChange Box50.In1
203 connect Box20.BoxChange Box50.In2
205 connect Box21.BoxChange Box50.In3
207 connect Box57.Widget Box11.Widget1
209 connect Box16.widget Box57.Widget1
211 connect Box11.Widget Box72.Widget1
213 connect Box05.Widget Box72.Widget2
215 connect Box01.Point Box74.point
217 connect Box24.Out Box74.vtkimagedata
219 connect Box01.Renderer1 Box74.vtkrender
221 connect Box74.widget Box75.Widget1
223 connect Box75.Widget Box11.Widget3
225 connect Box78.Widget Box77.Widget1
227 connect Box79.Widget Box77.Widget2
229 connect Box80.Widget Box77.Widget3
231 connect Box81.Widget Box15.Widget1
233 connect Box14.Widget Box81.Widget1
235 connect Box77.Widget Box81.Widget2
237 connect Box78.Out Box86.In1
239 connect Box79.Out Box86.In3
241 connect Box80.Out Box86.In5
243 connect Box86.Out Box87.In0
245 connect Box01.Point Box87.In1
247 connect Box01.Renderer1 Box88.renderer
249 connect Box23.Out Box88.size
251 connect Box87.Out Box88.position
253 connect Box24.Out Box88.image
255 connect Box34.BoxChange Box88.box_Execute
257 connect Box88.widget Box36.Widget1
259 connect Box01.Renderer1 Box89.renderer
261 connect Box23.Out Box89.size
263 connect Box87.Out Box89.position
265 connect Box34.BoxChange Box89.box_Execute
267 connect Box01.Renderer1 Box85._renderer
269 connect Box34.BoxChange Box85._execute
271 connect Box23.Out Box85._size
273 connect Box87.Out Box85._position
275 connect Box85.wxwidget Box36.Widget3
277 connect Box01.Renderer1 Box90._renderer
279 connect Box23.Out Box90._size
281 connect Box87.Out Box90._position
283 connect Box34.BoxChange Box90._execute
285 connect Box90.wxwidget Box36.Widget4
287 connect Box89.widget Box36.Widget2
289 connect Box24.Out Box89.image
291 connect Box78.BoxChange Box91.In1
293 connect Box79.BoxChange Box91.In2
295 connect Box80.BoxChange Box91.In3
297 connect Box91.BoxChange Box34.In3
299 connect Box50.BoxChange Box34.In2
301 connect Box00.Out Box49.In
303 connect Box49.Out Box24.In
305 connect Box51.widget Box52.Widget1
307 connect Box52.Widget Box11.Widget5
311 # Complex input ports