]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
2020 Feature Comparing Images in XY XZ YZ planes
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / CompareImagesTransparencyWidget_3Dp.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/All/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 TransparencyBox Box00
22
23 new 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 ViewerNV Box02
30   set Box02.nTypeView "-1"
31
32 new LayoutSplit Box03
33   set Box03.Proportion "90"
34   set Box03.WinTitle "Transparency"
35
36 new MultipleInputs Box04
37
38 new TransparencyBox Box05
39
40 new ViewerNV Box06
41   set Box06.nTypeView "-1"
42
43 new TransparencyBox Box07
44
45 new ViewerNV Box08
46   set Box08.nTypeView "-1"
47
48 new TransparencyBox Box09
49
50 new ViewerNV Box10
51   set Box10.nTypeView "-1"
52
53 new LayoutSplit Box11
54
55 new LayoutSplit Box12
56
57 new LayoutSplit Box13
58   set Box13.Orientation "H"
59
60 new GetVectorVtkImageDataElement Box17
61   set Box17.I "0"
62
63 new GetVectorVtkImageDataElement Box18
64   set Box18.I "0"
65
66 new MagicBox Box19
67
68 new MagicBox Box20
69
70 new GetVectorVtkImageDataElement Box22
71   set Box22.I "1"
72
73 new GetVectorVtkImageDataElement Box23
74   set Box23.I "1"
75
76 new GetVectorVtkImageDataElement Box24
77   set Box24.I "2"
78
79 new GetVectorVtkImageDataElement Box25
80   set Box25.I "2"
81
82 new GetVectorVtkImageDataElement Box26
83   set Box26.I "2"
84
85 new GetVectorVtkImageDataElement Box27
86   set Box27.I "2"
87
88 new LayoutTab Box28
89
90 new LayoutLine Box29
91   set Box29.WinTitle "Plane XY (rotation/slice Z)"
92
93 new LayoutTab Box30
94
95 new LayoutLine Box31
96   set Box31.WinTitle "Plane XZ  (rotation/slice Y)"
97
98 new LayoutTab Box32
99
100 new LayoutLine Box33
101   set Box33.WinTitle "Plane YZ  (rotation/slice X)"
102
103 new LayoutTab Box34
104
105 new LayoutLine Box35
106   set Box35.WinTitle "Plane YZ  (rotation/slice X)"
107
108
109 connect Box01.Out Box00.Percent
110 connect Box01.Widget Box03.Widget2
111 connect Box01.BoxChange Box04.In2
112 connect Box04.BoxChange Box00.BoxExecute
113 connect Box00.BoxChange Box02.BoxExecute
114 connect Box00.Out Box02.In
115 connect Box12.Widget Box13.Widget2
116 connect Box11.Widget Box13.Widget1
117 connect Box04.BoxChange Box05.BoxExecute
118 connect Box04.BoxChange Box07.BoxExecute
119 connect Box04.BoxChange Box09.BoxExecute
120 connect Box01.Out Box05.Percent
121 connect Box01.Out Box07.Percent
122 connect Box01.Out Box09.Percent
123 connect Box17.Out Box00.In1
124 connect Box18.Out Box00.In2
125 connect Box13.Widget Box03.Widget1
126 connect Box19.Out Box18.In
127 connect Box20.Out Box17.In
128 connect Box05.BoxChange Box06.BoxExecute
129 connect Box07.BoxChange Box08.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 Box09.BoxChange Box10.BoxExecute
141 connect Box09.Out Box10.In
142 connect Box27.Out Box09.In2
143 connect Box26.Out Box09.In1
144 connect Box19.Out Box27.In
145 connect Box20.Out Box26.In
146 connect Box29.Widget Box28.Widget1
147 connect Box31.Widget Box30.Widget1
148 connect Box33.Widget Box32.Widget1
149 connect Box35.Widget Box34.Widget1
150 connect Box02.Widget Box29.Widget1
151 connect Box28.Widget Box11.Widget2
152 connect Box06.Widget Box31.Widget1
153 connect Box30.Widget Box11.Widget1
154 connect Box08.Widget Box33.Widget1
155 connect Box32.Widget Box12.Widget1
156 connect Box10.Widget Box35.Widget1
157 connect Box34.Widget Box12.Widget2
158
159 # Complex input ports
160 input BoxExecute Box04.In1 " "
161 input VectorImate2 Box19.In " "
162 input VectorImage1 Box20.In " "
163
164 # Complex output ports
165 output Widget Box03.Widget " "
166
167
168 endefine