]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs
New Viewer
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / ViewerContainer.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13 include wx
14 include std
15 include toolsbbtk
16 include creaMiniTools
17 include creaImageIO
18
19 author "Author ??"
20 description "Description ??"
21 category "<VOID>"
22
23 new LoadHola Box00
24
25 new ViewerNV Box01
26
27 new vtkImageDataPointerRelay Box02
28
29 new LayoutSplit Box04
30   set Box04.Orientation "H"
31
32 new PanelButtonContainerSettings Box05
33   set Box05.ButtonName "Ruler-1"
34   set Box05.GroupName "Measurements"
35   set Box05.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Line.png"
36
37 new PanelButtonContainer Box06
38
39 new MagicBox Box07
40
41 new PanelButtonContainerSettings Box09
42   set Box09.ButtonName "Ruler-2"
43   set Box09.GroupName "Measurements"
44   set Box09.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Contour.png"
45
46 new MagicBox Box10
47
48 new ContourControlPoints_Widget Box13
49
50 new MagicBox Box14
51
52 new PanelButtonContainerSettings Box15
53   set Box15.ButtonName "Image"
54   set Box15.GroupName "Information"
55   set Box15.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/info.png"
56
57 new ImageVtkPropertiesWidget Box16
58
59 new MagicBox Box17
60
61 new LayoutTab Box18
62
63 new LayoutTab Box19
64
65 new LayoutTab Box20
66
67 new PanelButtonContainerSettings Box21
68   set Box21.ButtonName "Window and Color Level"
69   set Box21.GroupName "Viewer"
70   set Box21.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
71
72 new MagicBox Box22
73
74 new ColorWindowLevel_Interface Box24
75
76 new PanelButtonContainerSettings Box25
77   set Box25.ButtonName "2. Threshold"
78   set Box25.GroupName "Filter"
79   set Box25.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
80
81 new MagicBox Box26
82
83 new ThresholdWidget Box27
84
85 new PanelButtonContainerSettings Box28
86   set Box28.ButtonName "1. Crop"
87   set Box28.GroupName "Filter"
88   set Box28.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
89
90 new MagicBox Box29
91
92 new Crop_Widget Box31
93
94 new ImagesChooserDialogBox Box32
95
96 new Measure3DLength_Widget Box33
97
98 new PanelButtonContainerSettings Box35
99   set Box35.ButtonName "Ruler 3D"
100   set Box35.GroupName "Measurements"
101   set Box35.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Contour.png"
102
103 new MagicBox Box36
104
105 new Ruler01_XY_MPR_Widget Box37
106
107
108 connect Box02.Out Box01.In
109
110 connect Box01.Widget Box04.Widget2
111
112 connect Box06.Widget Box04.Widget1
113
114 connect Box05.Widget Box07.In
115
116 connect Box09.Widget Box10.In
117
118 connect Box05.Out Box09.In
119
120 connect Box01.wxVtkBaseView4 Box13.wxvtkbaseview
121
122 connect Box13.BoxChange2 Box14.In
123
124 connect Box15.Out Box05.In
125
126 connect Box02.Out Box16.in
127
128 connect Box15.Widget Box17.In
129
130 connect Box16.widget Box18.Widget1
131
132 connect Box18.Widget Box15.Widget
133
134 connect Box19.Widget Box05.Widget
135
136 connect Box13.Widget_Contour Box20.Widget1
137
138 connect Box20.Widget Box09.Widget
139
140 connect Box21.Widget Box22.In
141
142 connect Box24.widget Box21.Widget
143
144 connect Box02.Out Box24.Image
145
146 connect Box24.WindowLevel Box01.WindowLevel
147
148 connect Box24.ColorLevel Box01.ColorLevel
149
150 connect Box24.Box_Change Box01.BoxExecute
151
152 connect Box25.Widget Box26.In
153
154 connect Box27.Widget Box25.Widget
155
156 connect Box01.Renderer1 Box27.vtkRenderer
157
158 connect Box28.Widget Box29.In
159
160 connect Box21.Out Box28.In
161
162 connect Box28.Out Box25.In
163
164 connect Box25.Out Box06.In
165
166 connect Box31.Widget_Out Box28.Widget
167
168 connect Box02.Out Box31.Image
169
170 connect Box02.Out Box27.In
171
172 connect Box00.Out Box02.In
173
174 connect Box35.Widget Box36.In
175
176 connect Box33.widget Box35.Widget
177
178 connect Box01.BoxChange Box33.boxexecute
179
180 connect Box01.Point Box33.point
181
182 connect Box01.Renderer1 Box33.vtkrender
183
184 connect Box02.Out Box33.vtkimagedata
185
186 connect Box09.Out Box35.In
187
188 connect Box35.Out Box21.In
189
190 connect Box02.Out Box37.image
191
192 connect Box01.Point Box37.point3D
193
194 connect Box01.wxVtkBaseView2 Box37.wxvtkbaseview1
195
196 connect Box01.wxVtkBaseView3 Box37.wxvtkbaseview2
197
198 connect Box01.wxVtkBaseView4 Box37.wxvtkbaseview3
199
200 connect Box37.widget Box19.Widget1
201
202 connect Box01.BoxChange Box37.boxexecute
203
204 connect Box00.FileName Box16.FileName
205
206
207
208 # Complex input ports
209 exec Box04
210 exec Box14