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 # ----------------------------------
10 include creaMaracasVisu
14 define CompareImagesTransparencyWidget_3Dp PackRecalage
17 description "Description ??"
21 new PackRecalage:TransparencyBox Box00
27 set Box01.ReactiveOnTrack "true"
29 new creaMaracasVisu:ViewerNV Box02
30 set Box02.nTypeView "-1"
32 new wx:LayoutSplit Box03
33 set Box03.Proportion "90"
34 set Box03.WinTitle "Transparency"
36 new std:MultipleInputs Box04
38 new PackRecalage:TransparencyBox Box05
40 new creaMaracasVisu:ViewerNV Box06
41 set Box06.nTypeView "-1"
43 new PackRecalage:TransparencyBox Box07
45 new creaMaracasVisu:ViewerNV Box08
46 set Box08.nTypeView "-1"
48 new wx:LayoutSplit Box11
50 new wx:LayoutSplit Box12
52 new wx:LayoutSplit Box13
53 set Box13.Orientation "H"
55 new vtk:GetVectorVtkImageDataElement Box17
58 new vtk:GetVectorVtkImageDataElement Box18
61 new std:MagicBox Box19
63 new std:MagicBox Box20
65 new vtk:GetVectorVtkImageDataElement Box22
68 new vtk:GetVectorVtkImageDataElement Box23
71 new vtk:GetVectorVtkImageDataElement Box24
74 new vtk:GetVectorVtkImageDataElement Box25
77 new wx:LayoutTab Box28
79 new wx:LayoutLine Box29
80 set Box29.WinTitle "Plane XY (rotation/slice Z)"
82 new wx:LayoutTab Box30
84 new wx:LayoutLine Box31
85 set Box31.WinTitle "Plane XZ (rotation/slice Y)"
87 new wx:LayoutTab Box32
89 new wx:LayoutLine Box33
90 set Box33.WinTitle "Plane YZ (rotation/slice X)"
92 new wx:LayoutTab Box34
94 new wx:LayoutLine Box35
95 set Box35.WinTitle "Viewer help"
97 new creaMaracasVisu:wxVtkBaseView_Info Box37
98 set Box37.InteractionType "12"
100 new std:GetVectorDoubleElement Box38
103 new std:GetVectorDoubleElement Box39
106 new std:MultipleInputs Box40
108 new std:MultipleInputs Box41
111 connect Box01.Out Box00.Percent
112 connect Box01.Widget Box03.Widget2
113 connect Box01.BoxChange Box04.In2
114 connect Box04.BoxChange Box00.BoxExecute
115 connect Box00.Out Box02.In
116 connect Box12.Widget Box13.Widget2
117 connect Box11.Widget Box13.Widget1
118 connect Box04.BoxChange Box05.BoxExecute
119 connect Box04.BoxChange Box07.BoxExecute
120 connect Box01.Out Box05.Percent
121 connect Box01.Out Box07.Percent
122 connect Box17.Out Box00.In1
123 connect Box18.Out Box00.In2
124 connect Box13.Widget Box03.Widget1
125 connect Box19.Out Box18.In
126 connect Box20.Out Box17.In
127 connect Box05.BoxChange Box06.BoxExecute
128 connect Box05.Out Box06.In
129 connect Box07.Out Box08.In
130 connect Box20.Out Box22.In
131 connect Box22.Out Box05.In1
132 connect Box23.Out Box05.In2
133 connect Box20.Out Box24.In
134 connect Box19.Out Box25.In
135 connect Box25.Out Box07.In2
136 connect Box24.Out Box07.In1
137 connect Box19.Out Box23.In
138 connect Box29.Widget Box28.Widget1
139 connect Box31.Widget Box30.Widget1
140 connect Box33.Widget Box32.Widget1
141 connect Box35.Widget Box34.Widget1
142 connect Box02.Widget Box29.Widget1
143 connect Box28.Widget Box11.Widget2
144 connect Box06.Widget Box31.Widget1
145 connect Box30.Widget Box11.Widget1
146 connect Box08.Widget Box33.Widget1
147 connect Box32.Widget Box12.Widget1
148 connect Box34.Widget Box12.Widget2
149 connect Box37.WindowColorLevel Box38.In
150 connect Box37.WindowColorLevel Box39.In
151 connect Box38.Out Box02.WindowLevel
152 connect Box39.Out Box02.ColorLevel
153 connect Box06.wxVtkBaseView1 Box37.wxVtkBaseView
154 connect Box38.Out Box08.WindowLevel
155 connect Box39.Out Box08.ColorLevel
156 connect Box00.BoxChange Box40.In1
157 connect Box40.BoxChange Box02.BoxExecute
158 connect Box07.BoxChange Box41.In1
159 connect Box41.BoxChange Box08.BoxExecute
160 connect Box37.BoxChange Box11.BoxExecute
161 connect Box37.BoxChange Box40.In2
162 connect Box37.BoxChange Box41.In2
164 # Complex input ports
165 input BoxExecute Box04.In1 " "
166 input VectorImate2 Box19.In " "
167 input VectorImage1 Box20.In " "
169 # Complex output ports
170 output Widget Box03.Widget " "