]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
2020 Feature Comparing Images in XY XZ YZ planes
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / CompareImagesSwitcherWidget_3Dp.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include PackRecalage
9 include wx
10 include creaMaracasVisu
11 include vtk
12 include std
13
14 define CompareImagesSwitcherWidget_3Dp PackRecalage
15
16 author "info-dev@creatis.insa-lyon.fr"
17 description "creatisRecalage"
18
19 category "example"
20
21 new ImageSwitcherBox switch
22
23 new CheckBox checkS
24   set checkS.In "true"
25   set checkS.Title "On"
26
27 new Slider sdrT
28   set sdrT.In "500"
29   set sdrT.Max "1000"
30   set sdrT.Min "0"
31   set sdrT.ReactiveOnTrack "True"
32
33 new LayoutSplit switchWindow
34   set switchWindow.Proportion "80"
35
36 new LayoutLine Box47
37   set Box47.Orientation H
38
39 new LayoutLine Box48
40
41 new ViewerNV Box49
42   set Box49.nTypeView 0
43
44 new LayoutSplit Box10
45   set Box10.Orientation "H"
46
47 new LayoutSplit Box12
48
49 new ImageSwitcherFilter Box17
50
51 new GetVectorVtkImageDataElement Box19
52   set Box19.I "1"
53
54 new GetVectorVtkImageDataElement Box21
55   set Box21.I "1"
56
57 new MagicBox Box22
58
59 new MagicBox Box23
60
61 new ViewerNV Box24
62   set Box24.nTypeView 0
63
64 new ImageSwitcherFilter Box25
65
66 new GetVectorVtkImageDataElement Box26
67   set Box26.I "0"
68
69 new GetVectorVtkImageDataElement Box27
70   set Box27.I "0"
71
72 new ViewerNV Box28
73   set Box28.nTypeView 0
74
75 new LayoutSplit Box29
76
77 new ImageSwitcherFilter Box30
78
79 new GetVectorVtkImageDataElement Box31
80   set Box31.I "2"
81
82 new GetVectorVtkImageDataElement Box32
83   set Box32.I "2"
84
85 new ViewerNV Box33
86   set Box33.nTypeView 0
87
88 new ImageSwitcherFilter Box34
89
90 new GetVectorVtkImageDataElement Box35
91   set Box35.I "2"
92
93 new GetVectorVtkImageDataElement Box36
94   set Box36.I "2"
95
96
97 connect checkS.Out switch.On
98 connect sdrT.Out switch.Time
99 connect sdrT.BoxChange switch.BoxExecute
100 connect checkS.Widget Box47.Widget2
101 connect switch.Widget Box47.Widget1
102 connect sdrT.Widget Box48.Widget2
103 connect Box47.Widget Box48.Widget1
104 connect Box48.Widget switchWindow.Widget2
105 connect Box12.Widget Box10.Widget1
106 connect Box10.Widget switchWindow.Widget1
107 connect Box49.Widget Box12.Widget1
108 connect Box17.Out Box49.In
109 connect switch.BoxChange Box17.BoxExecute
110 connect Box17.BoxChange Box49.BoxExecute
111 connect Box22.Out Box19.In
112 connect Box23.Out Box21.In
113 connect Box19.Out Box17.In1
114 connect Box21.Out Box17.In2
115 connect Box25.Out Box24.In
116 connect Box25.BoxChange Box24.BoxExecute
117 connect Box26.Out Box25.In1
118 connect Box27.Out Box25.In2
119 connect Box24.Widget Box12.Widget2
120 connect Box28.Widget Box29.Widget1
121 connect Box30.Out Box28.In
122 connect Box30.BoxChange Box28.BoxExecute
123 connect Box31.Out Box30.In1
124 connect Box32.Out Box30.In2
125 connect Box34.Out Box33.In
126 connect Box34.BoxChange Box33.BoxExecute
127 connect Box35.Out Box34.In1
128 connect Box36.Out Box34.In2
129 connect Box33.Widget Box29.Widget2
130 connect switch.BoxChange Box30.BoxExecute
131 connect switch.BoxChange Box34.BoxExecute
132 connect Box29.Widget Box10.Widget2
133 connect Box22.Out Box26.In
134 connect Box23.Out Box27.In
135 connect switch.BoxChange Box25.BoxExecute
136 connect Box22.Out Box31.In
137 connect Box23.Out Box32.In
138 connect Box22.Out Box35.In
139 connect Box23.Out Box36.In
140
141 # Complex input ports
142 input ImageVector1 Box22.In " "
143 input ImageVector2 Box23.In " "
144
145 # Complex output ports
146 output Widget switchWindow.Widget " "
147
148
149 endefine