]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs
c68e7f53ee3d6715041e51a93c8a3c1176c5767e
[creaMiniTools.git] / bbtk_package_creaMiniToolsBase / bbs / boxes / registrationMenu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include std
10
11 define RegistrationMenu creaMiniToolsBase
12
13 author "Author ??"
14 description "Description ??"
15
16 category "<VOID>"
17
18 new wx:CommandButton Box00
19   set Box00.Label "Registration 2D"
20
21 new wx:CommandButton Box01
22   set Box01.Label "Registration 3D 1 Point"
23
24 new wx:CommandButton Box02
25   set Box02.Label "Registration 3D 2 Points"
26
27 new wx:CommandButton Box03
28   set Box03.Label "Registration 3D 3 Points"
29
30 new std:ExecSystemCommand Box04
31
32 new std:ExecSystemCommand Box05
33
34 new std:ExecSystemCommand Box06
35
36 new std:ExecSystemCommand Box07
37
38 new wx:CommandButton Box10
39   set Box10.Label "Registration 3D"
40
41 new std:ExecSystemCommand Box11
42
43 new wx:LayoutTab Box13
44   set Box13.WinTitle "1 Image"
45
46 new wx:LayoutTab Box14
47
48 new wx:LayoutLine Box15
49   set Box15.Orientation "H"
50   set Box15.WinTitle "Registration"
51
52 new wx:LayoutLine Box16
53   set Box16.WinTitle "1 Image"
54
55 new wx:LayoutLine Box17
56   set Box17.WinTitle "2 Images"
57
58 new std:Configuration Box18
59
60 new std:StringSelect Box19
61   set Box19.In0 "bbi PackRecalage/appli/Recalage2D.bbs &"
62   set Box19.In1 "start /b bbi PackRecalage/appli/Recalage2D.bbs &"
63
64 new std:StringSelect Box20
65   set Box20.In0 "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &"
66   set Box20.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &"
67
68 new std:StringSelect Box21
69   set Box21.In0 "bbi PackRecalage/appli/ExampleReSlice3D.bbs &"
70   set Box21.In1 "start /b bbi PackRecalage/appli/ExampleReSlice3D.bbs &"
71
72 new std:StringSelect Box22
73   set Box22.In0 "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &"
74   set Box22.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &"
75
76 new std:StringSelect Box23
77   set Box23.In0 "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &"
78   set Box23.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &"
79
80
81 connect Box00.BoxChange Box04.BoxExecute
82 connect Box01.BoxChange Box05.BoxExecute
83 connect Box02.BoxChange Box06.BoxExecute
84 connect Box03.BoxChange Box07.BoxExecute
85 connect Box10.BoxChange Box11.BoxExecute
86 connect Box14.Widget Box15.Widget1
87 connect Box13.Widget Box15.Widget2
88 connect Box16.Widget Box14.Widget1
89 connect Box02.Widget Box17.Widget2
90 connect Box03.Widget Box17.Widget3
91 connect Box17.Widget Box13.Widget1
92 connect Box10.Widget Box16.Widget2
93 connect Box01.Widget Box17.Widget1
94 connect Box00.Widget Box16.Widget1
95 connect Box18.SystemType Box19.In
96 connect Box18.SystemType Box20.In
97 connect Box18.SystemType Box21.In
98 connect Box18.SystemType Box22.In
99 connect Box18.SystemType Box23.In
100 connect Box19.Out Box04.In
101 connect Box21.Out Box11.In
102 connect Box20.Out Box05.In
103 connect Box22.Out Box06.In
104 connect Box23.Out Box07.In
105
106 # Complex input ports
107
108 # Complex output ports
109 output widget Box15.Widget " "
110
111 message    
112
113 endefine