]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
#3770 window color level reset base viewer 2D
[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 "50"
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 Box42
111
112 new creaMaracasVisu:HelpViewerNV Box43
113
114 new std:MagicBox Box44
115
116 new std:GetVectorDoubleElement Box45
117   set Box45.I "0"
118
119 new std:GetVectorDoubleElement Box46
120   set Box46.I "1"
121
122
123 connect Box01.Out Box00.Percent
124 connect Box01.Widget Box03.Widget2
125 connect Box01.BoxChange Box04.In2
126 connect Box04.BoxChange Box00.BoxExecute
127 connect Box00.Out Box02.In
128 connect Box12.Widget Box13.Widget2
129 connect Box11.Widget Box13.Widget1
130 connect Box04.BoxChange Box05.BoxExecute
131 connect Box04.BoxChange Box07.BoxExecute
132 connect Box01.Out Box05.Percent
133 connect Box01.Out Box07.Percent
134 connect Box17.Out Box00.In1
135 connect Box18.Out Box00.In2
136 connect Box13.Widget Box03.Widget1
137 connect Box19.Out Box18.In
138 connect Box20.Out Box17.In
139 connect Box05.BoxChange Box06.BoxExecute
140 connect Box05.Out Box06.In
141 connect Box07.Out Box08.In
142 connect Box20.Out Box22.In
143 connect Box22.Out Box05.In1
144 connect Box23.Out Box05.In2
145 connect Box20.Out Box24.In
146 connect Box19.Out Box25.In
147 connect Box25.Out Box07.In2
148 connect Box24.Out Box07.In1
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 Box35.Widget Box34.Widget1
154 connect Box02.Widget Box29.Widget1
155 connect Box28.Widget Box11.Widget2
156 connect Box06.Widget Box31.Widget1
157 connect Box30.Widget Box11.Widget1
158 connect Box08.Widget Box33.Widget1
159 connect Box32.Widget Box12.Widget1
160 connect Box34.Widget Box12.Widget2
161 connect Box37.WindowColorLevel Box38.In
162 connect Box37.WindowColorLevel Box39.In
163 connect Box38.Out Box02.WindowLevel
164 connect Box39.Out Box02.ColorLevel
165 connect Box06.wxVtkBaseView1 Box37.wxVtkBaseView
166 connect Box38.Out Box08.WindowLevel
167 connect Box39.Out Box08.ColorLevel
168 connect Box00.BoxChange Box40.In1
169 connect Box40.BoxChange Box02.BoxExecute
170 connect Box07.BoxChange Box41.In1
171 connect Box41.BoxChange Box08.BoxExecute
172 connect Box37.BoxChange Box11.BoxExecute
173 connect Box37.BoxChange Box40.In2
174 connect Box37.BoxChange Box41.In2
175 connect Box43.widget Box35.Widget2
176 connect Box44.Out Box45.In
177 connect Box44.Out Box46.In
178
179 # Complex input ports
180 input BoxExecute Box04.In1 " "
181 input VectorImate2 Box19.In " "
182 input VectorImage1 Box20.In " "
183 input windowcolorlevel Box44.In " "
184
185 # Complex output ports
186 output Widget Box03.Widget " "
187
188
189 endefine