]> 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
13 define CompareImagesSwitcherWidget_3Dp PackRecalage
14
15 author "info-dev@creatis.insa-lyon.fr"
16 description "creatisRecalage"
17
18 category "example"
19
20 new ImageSwitcherBox switch
21
22 new CheckBox checkS
23   set checkS.In "false"
24   set checkS.Title "On"
25
26 new Slider sdrT
27   set sdrT.In "500"
28   set sdrT.Max "1000"
29   set sdrT.Min "0"
30   set sdrT.ReactiveOnTrack "True"
31
32 new LayoutSplit switchWindow
33   set switchWindow.Proportion "80"
34
35 new LayoutLine Box47
36   set Box47.Orientation H
37
38 new LayoutLine Box48
39
40 new ViewerNV Box49
41   set Box49.nTypeView 0
42
43 new ViewerNV Box09
44   set Box09.nTypeView 0
45
46 new LayoutSplit Box10
47   set Box10.Orientation "H"
48
49 new LayoutSplit Box11
50
51 new LayoutSplit Box12
52
53 new ViewerNV Box13
54   set Box13.nTypeView 0
55
56 new ViewerNV Box14
57   set Box14.nTypeView 0
58
59 new vtkImageDataPointerRelay Box16
60
61 new vtkImageDataPointerRelay Box17
62
63
64 connect checkS.Out switch.On
65 connect sdrT.Out switch.Time
66 connect sdrT.BoxChange switch.BoxExecute
67 connect checkS.Widget Box47.Widget2
68 connect switch.Widget Box47.Widget1
69 connect sdrT.Widget Box48.Widget2
70 connect Box47.Widget Box48.Widget1
71 connect Box48.Widget switchWindow.Widget2
72 connect switch.Out Box49.In
73 connect switch.BoxChange Box49.BoxExecute
74 connect Box12.Widget Box10.Widget1
75 connect Box11.Widget Box10.Widget2
76 connect Box10.Widget switchWindow.Widget1
77 connect Box49.Widget Box12.Widget1
78 connect Box09.Widget Box12.Widget2
79 connect Box13.Widget Box11.Widget1
80 connect Box14.Widget Box11.Widget2
81 connect Box16.Out switch.In1
82 connect Box17.Out switch.In2
83 connect switch.Out Box09.In
84 connect switch.Out Box14.In
85 connect switch.Out Box13.In
86 connect switch.BoxChange Box14.BoxExecute
87 connect switch.BoxChange Box09.BoxExecute
88 connect switch.BoxChange Box13.BoxExecute
89
90 # Complex input ports
91 input Image1 Box16.In " "
92 input Image2 Box17.In " "
93
94 # Complex output ports
95 output Widget switchWindow.Widget " "
96
97
98 endefine