]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
aa3674404c87e5a873588dd7d4bd92354afba845
[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:HelpViewerNV Box36
98
99 new creaMaracasVisu:wxVtkBaseView_Info Box37
100   set Box37.InteractionType "12"
101
102 new std:GetVectorDoubleElement Box38
103   set Box38.I "0"
104
105 new std:GetVectorDoubleElement Box39
106   set Box39.I "1"
107
108 new std:MultipleInputs Box40
109
110 new std:MultipleInputs Box41
111
112
113 connect Box01.Out Box00.Percent
114 connect Box01.Widget Box03.Widget2
115 connect Box01.BoxChange Box04.In2
116 connect Box04.BoxChange Box00.BoxExecute
117 connect Box00.Out Box02.In
118 connect Box12.Widget Box13.Widget2
119 connect Box11.Widget Box13.Widget1
120 connect Box04.BoxChange Box05.BoxExecute
121 connect Box04.BoxChange Box07.BoxExecute
122 connect Box01.Out Box05.Percent
123 connect Box01.Out Box07.Percent
124 connect Box17.Out Box00.In1
125 connect Box18.Out Box00.In2
126 connect Box13.Widget Box03.Widget1
127 connect Box19.Out Box18.In
128 connect Box20.Out Box17.In
129 connect Box05.BoxChange Box06.BoxExecute
130 connect Box05.Out Box06.In
131 connect Box07.Out Box08.In
132 connect Box20.Out Box22.In
133 connect Box22.Out Box05.In1
134 connect Box23.Out Box05.In2
135 connect Box20.Out Box24.In
136 connect Box19.Out Box25.In
137 connect Box25.Out Box07.In2
138 connect Box24.Out Box07.In1
139 connect Box19.Out Box23.In
140 connect Box29.Widget Box28.Widget1
141 connect Box31.Widget Box30.Widget1
142 connect Box33.Widget Box32.Widget1
143 connect Box35.Widget Box34.Widget1
144 connect Box02.Widget Box29.Widget1
145 connect Box28.Widget Box11.Widget2
146 connect Box06.Widget Box31.Widget1
147 connect Box30.Widget Box11.Widget1
148 connect Box08.Widget Box33.Widget1
149 connect Box32.Widget Box12.Widget1
150 connect Box34.Widget Box12.Widget2
151 connect Box36.widget Box35.Widget1
152 connect Box37.WindowColorLevel Box38.In
153 connect Box37.WindowColorLevel Box39.In
154 connect Box38.Out Box02.WindowLevel
155 connect Box39.Out Box02.ColorLevel
156 connect Box06.wxVtkBaseView1 Box37.wxVtkBaseView
157 connect Box38.Out Box08.WindowLevel
158 connect Box39.Out Box08.ColorLevel
159 connect Box00.BoxChange Box40.In1
160 connect Box40.BoxChange Box02.BoxExecute
161 connect Box07.BoxChange Box41.In1
162 connect Box41.BoxChange Box08.BoxExecute
163 connect Box37.BoxChange Box11.BoxExecute
164 connect Box37.BoxChange Box40.In2
165 connect Box37.BoxChange Box41.In2
166
167 # Complex input ports
168 input BoxExecute Box04.In1 " "
169 input VectorImate2 Box19.In " "
170 input VectorImage1 Box20.In " "
171
172 # Complex output ports
173 output Widget Box03.Widget " "
174
175
176 endefine