]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs
b1c499b245a80817c394df503bec26478d488f29
[creaMiniTools.git] / bbtk_package_creaMiniToolsBase / bbs / boxes / registrationMenu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/All5/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 CommandButton Box00
19   set Box00.Label "Registration 2D"
20
21 new CommandButton Box01
22   set Box01.Label "Registration 3D 1 Point"
23
24 new CommandButton Box02
25   set Box02.Label "Registration 3D 2 Points"
26
27 new CommandButton Box03
28   set Box03.Label "Registration 3D 3 Points"
29
30 new ExecSystemCommand Box04
31   set Box04.In "bbi PackRecalage/appli/Recalage2D.bbs &"
32
33 new ExecSystemCommand Box05
34   set Box05.In "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &"
35
36 new ExecSystemCommand Box06
37   set Box06.In "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &"
38
39 new ExecSystemCommand Box07
40   set Box07.In "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &"
41
42 new CommandButton Box10
43   set Box10.Label "Registration 3D"
44
45 new ExecSystemCommand Box11
46   set Box11.In "bbi PackRecalage/appli/ExampleReSlice3D.bbs &"
47
48 new LayoutTab Box13
49   set Box13.WinTitle "1 Image"
50
51 new LayoutTab Box14
52
53 new LayoutLine Box15
54   set Box15.Orientation "H"
55   set Box15.WinTitle "Registration"
56
57 new LayoutLine Box16
58   set Box16.WinTitle "1 Image"
59
60 new LayoutLine Box17
61   set Box17.WinTitle "2 Images"
62
63
64 connect Box00.BoxChange Box04.BoxExecute
65 connect Box01.BoxChange Box05.BoxExecute
66 connect Box02.BoxChange Box06.BoxExecute
67 connect Box03.BoxChange Box07.BoxExecute
68 connect Box10.BoxChange Box11.BoxExecute
69 connect Box14.Widget Box15.Widget1
70 connect Box13.Widget Box15.Widget2
71 connect Box16.Widget Box14.Widget1
72 connect Box02.Widget Box17.Widget2
73 connect Box03.Widget Box17.Widget3
74 connect Box17.Widget Box13.Widget1
75 connect Box10.Widget Box16.Widget2
76 connect Box01.Widget Box17.Widget1
77 connect Box00.Widget Box16.Widget1
78
79 # Complex input ports
80
81 # Complex output ports
82 output widget Box15.Widget " "
83
84
85 endefine