]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs
2380 CreaMiniTools Feature New Normal new ViewContainer bbtk-application
[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
18 author "Author ??"
19 description "Description ??"
20 category "<VOID>"
21
22 new LoadHola Box00
23
24 new ViewerNV Box01
25
26 new vtkImageDataPointerRelay Box02
27
28 new LayoutSplit Box04
29   set Box04.Orientation "H"
30
31 new PanelButtonContainerSettings Box05
32   set Box05.ButtonName "Ruler-1"
33   set Box05.GroupName "Measurements"
34   set Box05.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Line.png"
35
36 new PanelButtonContainer Box06
37
38 new MagicBox Box07
39
40 new PanelButtonContainerSettings Box09
41   set Box09.ButtonName "Ruler-2"
42   set Box09.GroupName "Measurements"
43   set Box09.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Contour.png"
44
45 new MagicBox Box10
46
47 new Ruler01_XY_Widget Box12
48
49 new ContourControlPoints_Widget Box13
50
51 new MagicBox Box14
52
53 new PanelButtonContainerSettings Box15
54   set Box15.ButtonName "Image"
55   set Box15.GroupName "Information"
56   set Box15.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/info.png"
57
58 new ImageVtkPropertiesWidget Box16
59
60 new MagicBox Box17
61
62 new LayoutTab Box18
63
64 new LayoutTab Box19
65
66 new LayoutTab Box20
67
68 new PanelButtonContainerSettings Box21
69   set Box21.ButtonName "Window and Color Level"
70   set Box21.GroupName "Viewer"
71   set Box21.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
72
73 new MagicBox Box22
74
75 new ColorWindowLevel_Interface Box24
76
77 new PanelButtonContainerSettings Box25
78   set Box25.ButtonName "2. Threshold"
79   set Box25.GroupName "Filter"
80   set Box25.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
81
82 new MagicBox Box26
83
84 new ThresholdWidget Box27
85
86 new PanelButtonContainerSettings Box28
87   set Box28.ButtonName "1. Crop"
88   set Box28.GroupName "Filter"
89   set Box28.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
90
91 new MagicBox Box29
92
93 new Crop_Widget Box31
94
95
96 connect Box00.Out Box02.In
97
98 connect Box02.Out Box01.In
99
100 connect Box01.Widget Box04.Widget2
101
102 connect Box06.Widget Box04.Widget1
103
104 connect Box05.Widget Box07.In
105
106 connect Box09.Widget Box10.In
107
108 connect Box05.Out Box09.In
109
110 connect Box01.Renderer4 Box12.vtkRenderer
111
112 connect Box01.Point Box12.Point
113
114 connect Box02.Out Box12.Image
115
116 connect Box01.BoxChange Box12.BoxExecuteRulerInterface
117
118 connect Box01.wxVtkBaseView4 Box13.wxvtkbaseview
119
120 connect Box01.Renderer4 Box13.vtkRenderer
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 Box12.Widget Box19.Widget1
135
136 connect Box19.Widget Box05.Widget
137
138 connect Box13.Widget_Contour Box20.Widget1
139
140 connect Box20.Widget Box09.Widget
141
142 connect Box21.Widget Box22.In
143
144 connect Box09.Out Box21.In
145
146 connect Box24.widget Box21.Widget
147
148 connect Box02.Out Box24.Image
149
150 connect Box24.WindowLevel Box01.WindowLevel
151
152 connect Box24.ColorLevel Box01.ColorLevel
153
154 connect Box24.Box_Change Box01.BoxExecute
155
156 connect Box25.Widget Box26.In
157
158 connect Box27.Widget Box25.Widget
159
160 connect Box01.Renderer1 Box27.vtkRenderer
161
162 connect Box28.Widget Box29.In
163
164 connect Box21.Out Box28.In
165
166 connect Box28.Out Box25.In
167
168 connect Box25.Out Box06.In
169
170 connect Box31.Widget_Out Box28.Widget
171
172 connect Box02.Out Box31.Image
173
174 connect Box02.Out Box27.In
175
176
177
178 # Complex input ports
179 exec Box04
180 exec Box14