]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbs
2020 Feature Comparing Images in XY XZ YZ planes
[creaRigidRegistration.git] / PackRecalage / bbs / appli / ExampleRecalage3D1Point.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include wx
13 include vtk
14 include creaImageIO
15 include PackRecalage
16
17 author "info-dev@creatis.insa-lyon.fr"
18 description "Recalage3D 1-point"
19 category "example"
20
21 new ViewerNV viewer
22   set viewer.nTypeView "6 1 2 0"
23
24 new ViewerNV viewer2
25   set viewer2.nTypeView "6 1 2 0"
26
27 new LayoutSplit imagesLayout
28   set imagesLayout.Orientation "H"
29   set imagesLayout.Proportion "50"
30   set imagesLayout.WinTitle "Input Images"
31
32 new LayoutSplit resultLayout
33   set resultLayout.Proportion "80"
34   set resultLayout.WinTitle "Registration"
35
36 new vtkImageDataPointerRelay Box22
37
38 new vtkImageDataPointerRelay Box23
39
40 new ImagesChooserDialogBox Box24
41
42 new ImagesChooserDialogBox Box25
43
44 new Recalage3D1PointWidget Box52
45
46 new CompareImagesWidget3D Box20
47
48 new CompareImages_3DwithPlanes_Widget Box11
49   set Box11.WinTitle "3D Planes"
50
51 new LayoutSplit Box12
52   set Box12.Orientation "H"
53
54 new LayoutTab Box13
55
56 new CompareImagesWidget Box14
57   set Box14.WinTitle "2D+t"
58
59 new LayoutTab Box15
60   set Box15.WinHeight "800"
61   set Box15.WinWidth "1200"
62
63 new LayoutTab Box16
64
65 new LayoutTab Box17
66
67 new LayoutLine Box18
68   set Box18.WinTitle "Move Image"
69
70 new LayoutLine Box19
71   set Box19.WinTitle "Fix Image"
72
73
74 connect Box22.Out viewer2.In
75
76 connect Box23.Out viewer.In
77
78 connect Box22.Out Box52.Image1
79
80 connect Box23.Out Box52.Image2
81
82 connect Box52.Out Box20.Image2
83
84 connect Box52.BoxChange Box20.BoxExecute
85
86 connect Box52.Widget resultLayout.Widget2
87
88 connect Box23.Out Box11.In1
89
90 connect Box52.Out Box11.In2
91
92 connect Box20.Widget Box12.Widget1
93
94 connect Box11.Widget Box13.Widget1
95
96 connect Box13.Widget Box12.Widget2
97
98 connect Box12.Widget resultLayout.Widget1
99
100 connect Box23.Out Box20.Image1
101
102 connect Box52.Out Box14.In2
103
104 connect Box23.Out Box14.In1
105
106 connect Box52.BoxChange Box13.BoxExecute
107
108 connect imagesLayout.Widget Box15.Widget1
109
110 connect resultLayout.Widget Box15.Widget2
111
112 connect Box16.Widget imagesLayout.Widget1
113
114 connect Box17.Widget imagesLayout.Widget2
115
116 connect viewer2.Widget Box18.Widget1
117
118 connect Box18.Widget Box17.Widget1
119
120 connect viewer.Widget Box19.Widget1
121
122 connect Box19.Widget Box16.Widget1
123
124 connect Box20.Point Box11.Point
125
126 connect Box20.BoxChange Box11.BoxExecute
127
128 connect Box24.Out Box22.In
129
130 connect Box25.Out Box23.In
131
132
133
134 # Complex input ports
135 exec Box15