1 # ----------------------------------
2 # - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
4 # ----------------------------------
10 include creaMaracasVisu
14 define CompareImagesSwitcherWidget_3Dp PackRecalage
16 author "info-dev@creatis.insa-lyon.fr"
17 description "creatisRecalage"
21 new PackRecalage:ImageSwitcherBox switch
23 new wx:CheckBox checkS
31 set sdrT.ReactiveOnTrack "True"
33 new wx:LayoutSplit switchWindow
34 set switchWindow.Proportion "90"
35 set switchWindow.WinTitle "Switcher"
37 new wx:LayoutLine Box47
38 set Box47.Orientation H
40 new wx:LayoutLine Box48
42 new creaMaracasVisu:ViewerNV Box49
43 set Box49.nTypeView "-1"
45 new wx:LayoutSplit Box10
46 set Box10.Orientation "H"
48 new wx:LayoutSplit Box12
50 new PackRecalage:ImageSwitcherFilter Box17
52 new vtk:GetVectorVtkImageDataElement Box19
55 new vtk:GetVectorVtkImageDataElement Box21
58 new std:MagicBox Box22
60 new std:MagicBox Box23
62 new creaMaracasVisu:ViewerNV Box24
63 set Box24.nTypeView "-1"
65 new PackRecalage:ImageSwitcherFilter Box25
67 new vtk:GetVectorVtkImageDataElement Box26
70 new vtk:GetVectorVtkImageDataElement Box27
73 new creaMaracasVisu:ViewerNV Box28
74 set Box28.nTypeView "-1"
76 new wx:LayoutSplit Box29
78 new PackRecalage:ImageSwitcherFilter Box30
80 new vtk:GetVectorVtkImageDataElement Box31
83 new vtk:GetVectorVtkImageDataElement Box32
86 new creaMaracasVisu:ImageChangeInformation Box37
88 new creaMaracasVisu:ImageChangeInformation Box38
90 new creaMaracasVisu:ImageChangeInformation Box39
92 new wx:LayoutTab Box41
94 new wx:LayoutLine Box42
95 set Box42.WinTitle "Plane XZ (rotation/slice Y)"
97 new wx:LayoutTab Box44
99 new wx:LayoutLine Box45
100 set Box45.WinTitle "Plane XY (rotation/slice Z)"
102 new wx:LayoutTab Box46
104 new wx:LayoutLine Box50
105 set Box50.WinTitle "Plane YZ (rotation/slice X)"
107 new wx:LayoutTab Box51
109 new wx:LayoutLine Box52
110 set Box52.WinTitle "Viewer help"
112 new creaMaracasVisu:wxVtkBaseView_Info Box54
113 set Box54.InteractionType "12"
115 new std:GetVectorDoubleElement Box55
118 new std:GetVectorDoubleElement Box56
121 new std:MultipleInputs Box57
123 new std:MultipleInputs Box59
125 new creaMaracasVisu:HelpViewerNV Box60
127 new std:MagicBox Box61
129 new std:GetVectorDoubleElement Box62
132 new std:GetVectorDoubleElement Box63
136 connect checkS.Out switch.On
137 connect sdrT.Out switch.Time
138 connect sdrT.BoxChange switch.BoxExecute
139 connect checkS.Widget Box47.Widget2
140 connect switch.Widget Box47.Widget1
141 connect sdrT.Widget Box48.Widget2
142 connect Box47.Widget Box48.Widget1
143 connect Box48.Widget switchWindow.Widget2
144 connect Box12.Widget Box10.Widget1
145 connect Box10.Widget switchWindow.Widget1
146 connect switch.BoxChange Box17.BoxExecute
147 connect Box22.Out Box19.In
148 connect Box23.Out Box21.In
149 connect Box19.Out Box17.In1
150 connect Box21.Out Box17.In2
151 connect Box26.Out Box25.In1
152 connect Box27.Out Box25.In2
153 connect Box31.Out Box30.In1
154 connect Box32.Out Box30.In2
155 connect switch.BoxChange Box30.BoxExecute
156 connect Box29.Widget Box10.Widget2
157 connect Box22.Out Box26.In
158 connect Box23.Out Box27.In
159 connect switch.BoxChange Box25.BoxExecute
160 connect Box22.Out Box31.In
161 connect Box23.Out Box32.In
162 connect Box17.Out Box37.In
163 connect Box37.Out Box49.In
164 connect Box25.Out Box38.In
165 connect Box38.Out Box24.In
166 connect Box30.Out Box39.In
167 connect Box39.Out Box28.In
168 connect Box41.Widget Box12.Widget1
169 connect Box49.Widget Box42.Widget1
170 connect Box42.Widget Box41.Widget1
171 connect Box45.Widget Box44.Widget1
172 connect Box24.Widget Box45.Widget1
173 connect Box44.Widget Box12.Widget2
174 connect Box50.Widget Box46.Widget1
175 connect Box52.Widget Box51.Widget1
176 connect Box28.Widget Box50.Widget1
177 connect Box46.Widget Box29.Widget1
178 connect Box51.Widget Box29.Widget2
179 connect Box54.WindowColorLevel Box55.In
180 connect Box54.WindowColorLevel Box56.In
181 connect Box55.Out Box28.WindowLevel
182 connect Box56.Out Box28.ColorLevel
183 connect Box30.BoxChange Box57.In1
184 connect Box57.BoxChange Box28.BoxExecute
185 connect Box54.BoxChange Box57.In2
186 connect Box49.wxVtkBaseView1 Box54.wxVtkBaseView
187 connect Box17.BoxChange Box49.BoxExecute
188 connect Box25.BoxChange Box59.In1
189 connect Box59.BoxChange Box24.BoxExecute
190 connect Box54.BoxChange Box59.In2
191 connect Box56.Out Box24.ColorLevel
192 connect Box55.Out Box24.WindowLevel
193 connect Box60.widget Box52.Widget2
194 connect Box61.Out Box62.In
195 connect Box61.Out Box63.In
197 # Complex input ports
198 input ImageVector1 Box22.In " "
199 input ImageVector2 Box23.In " "
200 input windowcolorlevel Box61.In " "
202 # Complex output ports
203 output Widget switchWindow.Widget " "