]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs
2383 CreaMiniTools Bug New Normal Threshold Widget Refres-conflict
[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 Ruler01_XY_Widget Box12
49
50 new ContourControlPoints_Widget Box13
51
52 new MagicBox Box14
53
54 new PanelButtonContainerSettings Box15
55   set Box15.ButtonName "Image"
56   set Box15.GroupName "Information"
57   set Box15.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/info.png"
58
59 new ImageVtkPropertiesWidget Box16
60
61 new MagicBox Box17
62
63 new LayoutTab Box18
64
65 new LayoutTab Box19
66
67 new LayoutTab Box20
68
69 new PanelButtonContainerSettings Box21
70   set Box21.ButtonName "Window and Color Level"
71   set Box21.GroupName "Viewer"
72   set Box21.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
73
74 new MagicBox Box22
75
76 new ColorWindowLevel_Interface Box24
77
78 new PanelButtonContainerSettings Box25
79   set Box25.ButtonName "2. Threshold"
80   set Box25.GroupName "Filter"
81   set Box25.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
82
83 new MagicBox Box26
84
85 new ThresholdWidget Box27
86
87 new PanelButtonContainerSettings Box28
88   set Box28.ButtonName "1. Crop"
89   set Box28.GroupName "Filter"
90   set Box28.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
91
92 new MagicBox Box29
93
94 new Crop_Widget Box31
95
96 new ImagesChooserDialogBox Box32
97
98
99 connect Box02.Out Box01.In
100
101 connect Box01.Widget Box04.Widget2
102
103 connect Box06.Widget Box04.Widget1
104
105 connect Box05.Widget Box07.In
106
107 connect Box09.Widget Box10.In
108
109 connect Box05.Out Box09.In
110
111 connect Box01.Renderer4 Box12.vtkRenderer
112
113 connect Box01.Point Box12.Point
114
115 connect Box02.Out Box12.Image
116
117 connect Box01.BoxChange Box12.BoxExecuteRulerInterface
118
119 connect Box01.wxVtkBaseView4 Box13.wxvtkbaseview
120
121 connect Box01.Renderer4 Box13.vtkRenderer
122
123 connect Box13.BoxChange2 Box14.In
124
125 connect Box15.Out Box05.In
126
127 connect Box02.Out Box16.in
128
129 connect Box15.Widget Box17.In
130
131 connect Box16.widget Box18.Widget1
132
133 connect Box18.Widget Box15.Widget
134
135 connect Box12.Widget Box19.Widget1
136
137 connect Box19.Widget Box05.Widget
138
139 connect Box13.Widget_Contour Box20.Widget1
140
141 connect Box20.Widget Box09.Widget
142
143 connect Box21.Widget Box22.In
144
145 connect Box09.Out Box21.In
146
147 connect Box24.widget Box21.Widget
148
149 connect Box02.Out Box24.Image
150
151 connect Box24.WindowLevel Box01.WindowLevel
152
153 connect Box24.ColorLevel Box01.ColorLevel
154
155 connect Box24.Box_Change Box01.BoxExecute
156
157 connect Box25.Widget Box26.In
158
159 connect Box27.Widget Box25.Widget
160
161 connect Box01.Renderer1 Box27.vtkRenderer
162
163 connect Box28.Widget Box29.In
164
165 connect Box21.Out Box28.In
166
167 connect Box28.Out Box25.In
168
169 connect Box25.Out Box06.In
170
171 connect Box31.Widget_Out Box28.Widget
172
173 connect Box02.Out Box31.Image
174
175 connect Box02.Out Box27.In
176
177 connect Box32.Out Box02.In
178
179
180
181 # Complex input ports
182 exec Box04
183 exec Box14