]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
57a151f2a094bf93a8fdb9e163693e2b5c53f796
[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 "80"
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
89 connect Box01.Out Box00.Percent
90 connect Box01.Widget Box03.Widget2
91 connect Box01.BoxChange Box04.In2
92 connect Box04.BoxChange Box00.BoxExecute
93 connect Box00.BoxChange Box02.BoxExecute
94 connect Box00.Out Box02.In
95 connect Box08.Widget Box12.Widget1
96 connect Box10.Widget Box12.Widget2
97 connect Box12.Widget Box13.Widget2
98 connect Box11.Widget Box13.Widget1
99 connect Box04.BoxChange Box05.BoxExecute
100 connect Box04.BoxChange Box07.BoxExecute
101 connect Box04.BoxChange Box09.BoxExecute
102 connect Box01.Out Box05.Percent
103 connect Box01.Out Box07.Percent
104 connect Box01.Out Box09.Percent
105 connect Box17.Out Box00.In1
106 connect Box18.Out Box00.In2
107 connect Box13.Widget Box03.Widget1
108 connect Box19.Out Box18.In
109 connect Box20.Out Box17.In
110 connect Box05.BoxChange Box06.BoxExecute
111 connect Box07.BoxChange Box08.BoxExecute
112 connect Box05.Out Box06.In
113 connect Box07.Out Box08.In
114 connect Box20.Out Box22.In
115 connect Box22.Out Box05.In1
116 connect Box23.Out Box05.In2
117 connect Box20.Out Box24.In
118 connect Box19.Out Box25.In
119 connect Box25.Out Box07.In2
120 connect Box24.Out Box07.In1
121 connect Box19.Out Box23.In
122 connect Box06.Widget Box11.Widget1
123 connect Box02.Widget Box11.Widget2
124 connect Box09.BoxChange Box10.BoxExecute
125 connect Box09.Out Box10.In
126 connect Box27.Out Box09.In2
127 connect Box26.Out Box09.In1
128 connect Box19.Out Box27.In
129 connect Box20.Out Box26.In
130
131 # Complex input ports
132 input BoxExecute Box04.In1 " "
133 input VectorImate2 Box19.In " "
134 input VectorImage1 Box20.In " "
135
136 # Complex output ports
137 output Widget Box03.Widget " "
138
139
140 endefine