]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbs
2020 Feature Comparing Images in XY XZ YZ planes
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / CompareImagesSwitcherWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include PackRecalage
9 include wx
10 include creaMaracasVisu
11
12 define CompareImagesSwitcherWidget PackRecalage
13
14 author "info-dev@creatis.insa-lyon.fr"
15 description "creatisRecalage"
16
17 category "example"
18
19 new ImageSwitcherBox switch
20
21 new CheckBox checkS
22   set checkS.In "false"
23   set checkS.Title "On"
24
25 new Slider sdrT
26   set sdrT.In "500"
27   set sdrT.Max "1000"
28   set sdrT.Min "0"
29   set sdrT.ReactiveOnTrack "True"
30
31 new LayoutSplit switchWindow
32   set switchWindow.Proportion "80"
33
34 new LayoutLine Box47
35   set Box47.Orientation H
36
37 new LayoutLine Box48
38
39 new ViewerNV Box49
40   set Box49.nTypeView 0
41
42
43 connect checkS.Out switch.On
44 connect sdrT.Out switch.Time
45 connect sdrT.BoxChange switch.BoxExecute
46 connect checkS.Widget Box47.Widget2
47 connect switch.Widget Box47.Widget1
48 connect sdrT.Widget Box48.Widget2
49 connect Box47.Widget Box48.Widget1
50 connect Box48.Widget switchWindow.Widget2
51 connect Box49.Widget switchWindow.Widget1
52 connect switch.Out Box49.In
53 connect switch.BoxChange Box49.BoxExecute
54
55 # Complex input ports
56 input Image1 switch.In1 " "
57 input Image2 switch.In2 " "
58
59 # Complex output ports
60 output Widget switchWindow.Widget " "
61
62
63 endefine