1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
20 description "Description ??"
23 new wx:FileSelector Box00
24 set Box00.Message "mhd file"
25 set Box00.Title "mhd file"
27 new creaMaracasVisu:ViewerNV Box01
28 set Box01.nTypeView "-1"
30 new creaVtk:ReadMHDPlane Box02
34 set Box03.ReactiveOnTrack "true"
36 new wx:LayoutSplit Box04
37 set Box04.Orientation "H"
39 new wx:LayoutTab Box05
41 new std:ConcatStrings Box07
43 new creaVtk:MHDFileInfo Box08
45 new std:GetVectorIntElement Box09
46 set Box09.ErrorValue "-100"
49 new std:MathOperation Box10
52 new wx:LayoutLine Box16
53 set Box16.WinTitle "Image XY (.mhd)"
55 new vtk:LoadHola Box20
57 new creaMiniTools:MHDFileInfo_widget Box21
59 new std:SharedMemory Box23
61 new PackRecalage:ImageSwitcherBox Box27
66 set Box28.Title "Loop"
68 new std:MultipleInputs Box29
72 set Box30.Label "true"
75 set Box30.Orientation "H"
76 set Box30.ReactiveOnTrack "true"
77 set Box30.Title "Speed (milliseconds)"
79 new wx:LayoutLine Box31
80 set Box31.Orientation "V"
81 set Box31.WinTitle "Animation"
83 new creaMaracasVisu:ColorLayerImageView Box32
84 set Box32.TypeControlsInterface "2"
86 new wx:LayoutLine Box34
87 set Box34.Orientation "H"
89 new wx:OutputText Box35
92 set Box36.Label "true"
93 set Box36.ReactiveOnTrack "true"
94 set Box36.Title "Slice Z min"
97 set Box37.Label "true"
98 set Box37.ReactiveOnTrack "true"
99 set Box37.Title "Slice Z max"
101 new wx:LayoutLine Box38
103 new std:MathOperation Box39
108 new std:MultipleInputs Box40
110 new wx:LayoutTab Box41
112 new wx:LayoutLine Box42
113 set Box42.WinTitle "Base Image"
115 new wx:OutputText Box43
117 new wx:LayoutTab Box46
119 new wx:LayoutLine Box47
120 set Box47.WinTitle "Transparence Layer"
122 new wx:LayoutLine Box48
123 set Box48.Orientation "V"
125 new wx:OutputText Box49
126 set Box49.Title "Drop your file here ..."
128 new wx:DropFiles Box51
130 new creaVtk:ReadMHDPlane Box54
133 new wx:DropFiles Box56
135 new std:GetVectorStringElement Box57
136 set Box57.ErrorValue "hola"
139 new wx:OutputText Box59
140 set Box59.In "Drop your file here ..."
142 new wx:LayoutLine Box61
143 set Box61.Orientation "H"
145 new creaVtk:OutputWindow Box62
147 new std:ConcatStrings Box66
150 new creaMaracasVisu:SliderMinMax-flexible Box68
151 set Box68.maxIn "255"
153 set Box68.showactual "false"
155 new std:ConcatStrings Box65
159 connect Box02.Out Box01.In
161 connect Box01.Widget Box04.Widget2
163 connect Box05.Widget Box04.Widget1
165 connect Box07.Out Box08.FileName
167 connect Box08.DimSize Box09.In
169 connect Box10.Out Box03.Max
171 connect Box16.Widget Box05.Widget1
173 connect Box07.Out Box21.NameFile
175 connect Box03.Out Box23.In
177 connect Box23.Out Box02.Slice
179 connect Box28.Out Box27.On
181 connect Box29.BoxChange Box01.BoxExecute
183 connect Box30.Out Box27.Time
185 connect Box01.wxVtkBaseView1 Box32.WxVtkBaseView
187 connect Box29.BoxChange Box32.BoxExecute
189 connect Box28.Widget Box34.Widget1
191 connect Box35.Widget Box34.Widget2
193 connect Box23.Out Box35.In
195 connect Box29.BoxChange Box35.BoxExecute
197 connect Box36.Widget Box38.Widget1
199 connect Box37.Widget Box38.Widget2
201 connect Box10.Out Box36.Max
203 connect Box10.Out Box37.Max
205 connect Box36.Out Box39.In1
207 connect Box37.Out Box39.In2
209 connect Box39.Out Box23.In1
211 connect Box27.BoxChange Box29.In2
213 connect Box03.BoxChange Box29.In1
215 connect Box27.BoxChange Box40.In1
217 connect Box40.BoxChange Box39.BoxExecute
219 connect Box36.BoxChange Box40.In2
221 connect Box37.BoxChange Box40.In3
223 connect Box10.Out Box37.In
225 connect Box42.Widget Box41.Widget1
227 connect Box41.Widget Box16.Widget1
229 connect Box47.Widget Box46.Widget1
231 connect Box48.Widget Box31.Widget1
233 connect Box30.Widget Box31.Widget2
235 connect Box38.Widget Box31.Widget3
237 connect Box34.Widget Box48.Widget1
239 connect Box27.Widget Box48.Widget2
241 connect Box47.Widget Box51.Widget
243 connect Box29.BoxChange Box49.BoxExecute
245 connect Box51.BoxChange Box29.In3
247 connect Box51.LstPaths Box49.In
249 connect Box54.Out Box32.In
251 connect Box23.Out Box54.Slice
253 connect Box51.LstPaths Box54.FileName
255 connect Box07.Out Box02.FileName
257 connect Box07.Out Box43.In
259 connect Box09.Out Box10.In1
261 connect Box56.LstPaths Box57.In
263 connect Box57.Out Box07.In1
265 connect Box43.Widget Box42.Widget2
267 connect Box59.Widget Box56.Widget
269 connect Box56.BoxChange Box43.BoxExecute
271 connect Box56.BoxChange Box29.In4
273 connect Box56.BoxChange Box21.boxExecute
275 connect Box61.Widget Box42.Widget1
277 connect Box59.Widget Box61.Widget1
279 connect Box03.Widget Box61.Widget2
281 connect Box46.Widget Box16.Widget2
283 connect Box21.widget Box05.Widget3
285 connect Box31.Widget Box05.Widget2
287 connect Box00.Out Box57.ErrorValue
289 connect Box66.Out Box32.lstRangeForColorBar
291 connect Box68.outend Box66.In3
293 connect Box68.outstart Box66.In1
295 connect Box68.boxchange Box29.In5
297 connect Box68.widget Box47.Widget3
299 connect Box32.Widget Box47.Widget2
301 connect Box49.Widget Box47.Widget1
303 connect Box68.outstart Box65.In1
305 connect Box65.Out Box32.lstTransparenceBoundaries
309 # Complex input ports