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
17 description "Description ??"
20 new wx:FileSelector Box00
21 set Box00.Message "mhd file"
22 set Box00.Title "mhd file"
24 new creaMaracasVisu:ViewerNV Box01
25 set Box01.nTypeView "0"
27 new creaVtk:ReadMHDPlane Box02
30 set Box03.Label "true"
31 set Box03.ReactiveOnTrack "true"
32 set Box03.Title "Slice Z"
34 new wx:LayoutSplit Box04
35 set Box04.Orientation "H"
37 new wx:LayoutTab Box05
39 new std:ConcatStrings Box07
41 new creaVtk:MHDFileInfo Box08
43 new std:GetVectorIntElement Box09
46 new std:MathOperation Box10
49 new wx:LayoutLine Box16
50 set Box16.WinTitle "Image XY (.mhd)"
52 new wx:OutputText Box14
53 set Box14.Title "Spacing"
55 new wx:OutputText Box15
58 new wx:OutputText Box17
59 set Box17.Title "DimSize"
61 new wx:OutputText Box18
62 set Box18.Title "FileName"
64 new wx:OutputText Box19
65 set Box19.Title "Format"
68 connect Box02.Out Box01.In
70 connect Box01.Widget Box04.Widget2
72 connect Box05.Widget Box04.Widget1
74 connect Box07.Out Box02.FileName
76 connect Box07.Out Box08.FileName
78 connect Box08.DimSize Box09.In
80 connect Box09.Out Box10.In1
82 connect Box10.Out Box03.Max
84 connect Box03.BoxChange Box01.BoxExecute
86 connect Box03.Widget Box16.Widget1
88 connect Box16.Widget Box05.Widget1
90 connect Box03.Out Box02.Slice
92 connect Box00.Out Box07.In1
94 connect Box08.ElementSpacing Box14.In
96 connect Box08.Dim Box15.In
98 connect Box08.DimSize Box17.In
100 connect Box00.Out Box18.In
102 connect Box08.ElementType Box19.In
104 connect Box15.Widget Box16.Widget2
106 connect Box17.Widget Box16.Widget3
108 connect Box14.Widget Box16.Widget4
110 connect Box19.Widget Box16.Widget5
112 connect Box18.Widget Box16.Widget6
116 # Complex input ports