]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
b9f59e92f0274c89a200a7d27064cdb90202d95e
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / CompareImagesTransparencyWidget_3Dp.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include PackRecalage
9 include wx
10 include creaMaracasVisu
11 include std
12 include vtk
13
14 define CompareImagesTransparencyWidget_3Dp PackRecalage
15
16 author "Author ??"
17 description "Description ??"
18
19 category "<VOID>"
20
21 new PackRecalage:TransparencyBox Box00
22
23 new wx:Slider Box01
24   set Box01.In "0"
25   set Box01.Max "100"
26   set Box01.Min "0"
27   set Box01.ReactiveOnTrack "true"
28
29 new creaMaracasVisu:ViewerNV Box02
30   set Box02.nTypeView "-1"
31
32 new wx:LayoutSplit Box03
33   set Box03.Proportion "90"
34   set Box03.WinTitle "Transparency"
35
36 new std:MultipleInputs Box04
37
38 new PackRecalage:TransparencyBox Box05
39
40 new creaMaracasVisu:ViewerNV Box06
41   set Box06.nTypeView "-1"
42
43 new PackRecalage:TransparencyBox Box07
44
45 new creaMaracasVisu:ViewerNV Box08
46   set Box08.nTypeView "-1"
47
48 new wx:LayoutSplit Box11
49
50 new wx:LayoutSplit Box12
51
52 new wx:LayoutSplit Box13
53   set Box13.Orientation "H"
54
55 new vtk:GetVectorVtkImageDataElement Box17
56   set Box17.I "0"
57
58 new vtk:GetVectorVtkImageDataElement Box18
59   set Box18.I "0"
60
61 new std:MagicBox Box19
62
63 new std:MagicBox Box20
64
65 new vtk:GetVectorVtkImageDataElement Box22
66   set Box22.I "1"
67
68 new vtk:GetVectorVtkImageDataElement Box23
69   set Box23.I "1"
70
71 new vtk:GetVectorVtkImageDataElement Box24
72   set Box24.I "2"
73
74 new vtk:GetVectorVtkImageDataElement Box25
75   set Box25.I "2"
76
77 new wx:LayoutTab Box28
78
79 new wx:LayoutLine Box29
80   set Box29.WinTitle "Plane XY (rotation/slice Z)"
81
82 new wx:LayoutTab Box30
83
84 new wx:LayoutLine Box31
85   set Box31.WinTitle "Plane XZ  (rotation/slice Y)"
86
87 new wx:LayoutTab Box32
88
89 new wx:LayoutLine Box33
90   set Box33.WinTitle "Plane YZ  (rotation/slice X)"
91
92 new wx:LayoutTab Box34
93
94 new wx:LayoutLine Box35
95   set Box35.WinTitle "Viewer help"
96
97 new creaMaracasVisu:wxVtkBaseView_Info Box37
98   set Box37.InteractionType "12"
99
100 new std:GetVectorDoubleElement Box38
101   set Box38.I "0"
102
103 new std:GetVectorDoubleElement Box39
104   set Box39.I "1"
105
106 new std:MultipleInputs Box40
107
108 new std:MultipleInputs Box41
109
110 new creaMaracasVisu:HelpViewerNV Box43
111
112 new std:MagicBox Box44
113
114 new std:GetVectorDoubleElement Box45
115   set Box45.I "0"
116
117 new std:GetVectorDoubleElement Box46
118   set Box46.I "1"
119
120 new wx:CheckBox Box47
121   set Box47.In "True"
122   set Box47.Title "Interpolate"
123
124 new wx:LayoutLine Box49
125   set Box49.Orientation "H"
126   set Box49.WinTitle "config"
127
128 new std:MultipleInputs Box50
129
130
131 connect Box01.Out Box00.Percent
132 connect Box01.BoxChange Box04.In2
133 connect Box04.BoxChange Box00.BoxExecute
134 connect Box00.Out Box02.In
135 connect Box12.Widget Box13.Widget2
136 connect Box11.Widget Box13.Widget1
137 connect Box04.BoxChange Box05.BoxExecute
138 connect Box04.BoxChange Box07.BoxExecute
139 connect Box01.Out Box05.Percent
140 connect Box01.Out Box07.Percent
141 connect Box13.Widget Box03.Widget1
142 connect Box19.Out Box18.In
143 connect Box20.Out Box17.In
144 connect Box05.Out Box06.In
145 connect Box07.Out Box08.In
146 connect Box20.Out Box22.In
147 connect Box20.Out Box24.In
148 connect Box19.Out Box25.In
149 connect Box19.Out Box23.In
150 connect Box29.Widget Box28.Widget1
151 connect Box31.Widget Box30.Widget1
152 connect Box33.Widget Box32.Widget1
153 connect Box02.Widget Box29.Widget1
154 connect Box28.Widget Box11.Widget2
155 connect Box06.Widget Box31.Widget1
156 connect Box30.Widget Box11.Widget1
157 connect Box08.Widget Box33.Widget1
158 connect Box32.Widget Box12.Widget1
159 connect Box34.Widget Box12.Widget2
160 connect Box37.WindowColorLevel Box38.In
161 connect Box37.WindowColorLevel Box39.In
162 connect Box38.Out Box02.WindowLevel
163 connect Box39.Out Box02.ColorLevel
164 connect Box06.wxVtkBaseView1 Box37.wxVtkBaseView
165 connect Box38.Out Box08.WindowLevel
166 connect Box39.Out Box08.ColorLevel
167 connect Box00.BoxChange Box40.In1
168 connect Box40.BoxChange Box02.BoxExecute
169 connect Box07.BoxChange Box41.In1
170 connect Box41.BoxChange Box08.BoxExecute
171 connect Box37.BoxChange Box11.BoxExecute
172 connect Box37.BoxChange Box40.In2
173 connect Box37.BoxChange Box41.In2
174 connect Box43.widget Box35.Widget2
175 connect Box44.Out Box45.In
176 connect Box44.Out Box46.In
177 connect Box47.Widget Box49.Widget3
178 connect Box35.Widget Box34.Widget3
179 connect Box01.Widget Box49.Widget1
180 connect Box49.Widget Box03.Widget2
181 connect Box47.Out Box06.Interpolate
182 connect Box47.Out Box02.Interpolate
183 connect Box47.Out Box08.Interpolate
184 connect Box47.BoxChange Box40.In3
185 connect Box47.BoxChange Box41.In3
186 connect Box05.BoxChange Box50.In1
187 connect Box47.BoxChange Box50.In2
188 connect Box50.BoxChange Box06.BoxExecute
189 connect Box17.Out Box00.In2
190 connect Box18.Out Box00.In1
191 connect Box23.Out Box05.In1
192 connect Box22.Out Box05.In2
193 connect Box25.Out Box07.In1
194 connect Box24.Out Box07.In2
195
196 # Complex input ports
197 input BoxExecute Box04.In1 " "
198 input VectorImate2 Box19.In " "
199 input VectorImage1 Box20.In " "
200 input windowcolorlevel Box44.In " "
201
202 # Complex output ports
203 output Widget Box03.Widget " "
204
205
206 endefine