1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs
4 # ----------------------------------
10 include creaMiniToolsBase
12 define ImageToolsMenu creaMiniTools
15 description "Description ??"
19 new wx:CommandButton Box00
20 set Box00.Label "Image Writer"
22 new wx:CommandButton Box02
23 set Box02.Label "Viewer NV"
25 new std:ExecSystemCommand Box04
27 new std:ExecSystemCommand Box06
29 new std:ExecSystemCommand Box09
31 new wx:CommandButton Box10
32 set Box10.Label "Synchronize 2 Images"
34 new wx:CommandButton Box11
35 set Box11.Label "Manual paint"
37 new std:ExecSystemCommand Box12
39 new wx:CommandButton Box13
40 set Box13.Label "Extract Planes"
42 new std:ExecSystemCommand Box14
44 new wx:LayoutTab Box15
45 set Box15.WinTitle "Images Tools"
47 new wx:LayoutLine Box18
49 new wx:LayoutLine Box19
51 new creaMiniToolsBase:RegistrationMenu Box20
53 new creaMiniToolsBase:RescaleSlopeInterceptMenu Box21
55 new wx:CommandButton Box22
56 set Box22.Label "Resampling Image"
58 new std:ExecSystemCommand Box23
60 new wx:CommandButton Box25
61 set Box25.Label "Crop image"
63 new std:ExecSystemCommand Box26
65 new wx:LayoutCenter Box27
66 set Box27.WinTitle "Viewers"
68 new wx:LayoutCenter Box28
69 set Box28.WinTitle "Modify image"
71 new wx:CommandButton Box29
72 set Box29.Label "Flip Image"
74 new std:ExecSystemCommand Box30
76 new wx:CommandButton Box31
77 set Box31.Label "Viewer NV (Vol. Rendering)"
79 new std:ExecSystemCommand Box32
81 new std:Configuration Box33
83 new std:StringSelect Box34
84 set Box34.In0 "bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &"
85 set Box34.In1 "start /b bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &"
87 new std:StringSelect Box35
88 set Box35.In0 "bbi creaMiniTools/appli/viewerNVExample.bbs &"
89 set Box35.In1 "start /b bbi creaMiniTools/appli/viewerNVExample.bbs &"
91 new std:StringSelect Box36
92 set Box36.In0 "bbi creaMiniTools/appli/synchro2ImageExample.bbs &"
93 set Box36.In1 "start /b bbi creaMiniTools/appli/synchro2ImageExample.bbs &"
95 new std:StringSelect Box37
96 set Box37.In0 "bbi creaMiniTools/appli/imageWriterExample.bbs &"
97 set Box37.In1 "start /b bbi creaMiniTools/appli/imageWriterExample.bbs &"
99 new std:StringSelect Box38
100 set Box38.In0 "bbi creaMiniTools/appli/resampling.bbs &"
101 set Box38.In1 "start /b bbi creaMiniTools/appli/resampling.bbs &"
103 new std:StringSelect Box39
104 set Box39.In0 "bbi creaMiniTools/appli/crop.bbs &"
105 set Box39.In1 "start /b bbi creaMiniTools/appli/crop.bbs &"
107 new std:StringSelect Box40
108 set Box40.In0 "bbi creaMiniTools/appli/SaveImagePlanes.bbs &"
109 set Box40.In1 "start /b bbi creaMiniTools/appli/SaveImagePlanes.bbs &"
111 new std:StringSelect Box41
112 set Box41.In0 "bbi creaMiniTools/appli/manualPaint.bbs &"
113 set Box41.In1 "start /b bbi creaMiniTools/appli/manualPaint.bbs &"
115 new std:StringSelect Box42
116 set Box42.In0 "bbi creaMiniTools/appli/flipImageY.bbs &"
117 set Box42.In1 "start /b bbi creaMiniTools/appli/flipImageY.bbs &"
119 new wx:CommandButton Box43
120 set Box43.Label "Viewer Plane MHD"
122 new std:ExecSystemCommand Box44
124 new std:StringSelect Box45
125 set Box45.In0 "bbi creaMiniTools/appli/PlaneViewer-MHD.bbs &"
126 set Box45.In1 "start /b bbi creaMiniTools/appli/PlaneViewer-MHD.bbs &"
129 connect Box00.BoxChange Box04.BoxExecute
130 connect Box02.BoxChange Box06.BoxExecute
131 connect Box10.BoxChange Box09.BoxExecute
132 connect Box11.BoxChange Box12.BoxExecute
133 connect Box13.BoxChange Box14.BoxExecute
134 connect Box02.Widget Box18.Widget1
135 connect Box11.Widget Box19.Widget2
136 connect Box00.Widget Box19.Widget1
137 connect Box20.widget Box15.Widget3
138 connect Box21.widget Box15.Widget4
139 connect Box22.Widget Box19.Widget3
140 connect Box22.BoxChange Box23.BoxExecute
141 connect Box25.Widget Box19.Widget4
142 connect Box25.BoxChange Box26.BoxExecute
143 connect Box18.Widget Box27.Widget2
144 connect Box27.Widget Box15.Widget1
145 connect Box19.Widget Box28.Widget2
146 connect Box28.Widget Box15.Widget2
147 connect Box13.Widget Box19.Widget5
148 connect Box29.Widget Box19.Widget6
149 connect Box29.BoxChange Box30.BoxExecute
150 connect Box10.Widget Box18.Widget3
151 connect Box31.BoxChange Box32.BoxExecute
152 connect Box31.Widget Box18.Widget2
153 connect Box33.SystemType Box34.In
154 connect Box34.Out Box32.In
155 connect Box33.SystemType Box35.In
156 connect Box35.Out Box06.In
157 connect Box36.Out Box09.In
158 connect Box33.SystemType Box36.In
159 connect Box37.Out Box04.In
160 connect Box33.SystemType Box37.In
161 connect Box38.Out Box23.In
162 connect Box33.SystemType Box38.In
163 connect Box33.SystemType Box41.In
164 connect Box33.SystemType Box39.In
165 connect Box33.SystemType Box40.In
166 connect Box33.SystemType Box42.In
167 connect Box41.Out Box12.In
168 connect Box39.Out Box26.In
169 connect Box40.Out Box14.In
170 connect Box42.Out Box30.In
171 connect Box43.BoxChange Box44.BoxExecute
172 connect Box45.Out Box44.In
173 connect Box33.SystemType Box45.In
174 connect Box43.Widget Box18.Widget4
176 # Complex input ports
178 # Complex output ports
179 output widget Box15.Widget " "