1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script
3 # - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/recalage/recalage3D2PointsExample.bbs
4 # ----------------------------------
7 # ----------------------
11 include creaMaracasVisu
18 description "Description ??"
22 set viewer.nTypeView "5"
24 new ShowNPoints showNpoints
25 set showNpoints.Radio "10"
28 set viewer2.nTypeView "5"
30 new ShowNPoints showNpoints2
31 set showNpoints2.Radio "10"
33 new Transform3D2PointsBox transform
35 new ReSlicerBox reslice1
36 set reslice1.Origin "0,0,0"
39 set viewer3.nTypeView "5 0"
41 new CommandButton butExec
42 set butExec.Label "Execute"
50 set tab1.Orientation "H"
53 set hello.Orientation "V"
55 new LayoutSplit hello2
58 set tab2.Orientation "H"
61 set main.Orientation "H"
63 new CommandButton Box18
64 set Box18.Label "Save"
66 new MetaImageWriter Box19
68 new FileSelector Box20
69 set Box20.OpenSave "Save"
70 set Box20.Title "Save Image"
75 set Box22.WinTitle "Options"
77 new ImagesChooserDialogBox Box23
79 new ImagesChooserDialogBox Box24
82 connect viewer.Renderer1 showNpoints.Renderer
83 connect viewer.Point showNpoints.In
84 connect viewer.BoxChange showNpoints.BoxExecute
85 connect viewer2.Renderer1 showNpoints2.Renderer
86 connect viewer2.Point showNpoints2.In
87 connect viewer2.BoxChange showNpoints2.BoxExecute
88 connect showNpoints.lstPointsX transform.InX1
89 connect showNpoints2.lstPointsX transform.InX2
90 connect showNpoints.lstPointsY transform.InY1
91 connect showNpoints2.lstPointsY transform.InY2
92 connect showNpoints.lstPointsZ transform.InZ1
93 connect showNpoints2.lstPointsZ transform.InZ2
94 connect showNpoints.lstLabels transform.Labels1
95 connect showNpoints2.lstLabels transform.Labels2
96 connect transform.Out reslice1.Transform
97 connect reslice1.Out viewer3.In
98 connect angle.Out transform.SecondAngle
99 connect showNpoints.Widget hello.Widget1
100 connect butExec.Widget hello2.Widget1
101 connect angle.Widget hello2.Widget2
102 connect hello2.Widget hello.Widget2
103 connect hello.Widget tab1.Widget1
104 connect viewer.Widget tab1.Widget2
105 connect showNpoints2.Widget tab2.Widget1
106 connect viewer2.Widget tab2.Widget2
107 connect butExec.BoxChange transform.BoxExecute
108 connect butExec.BoxChange reslice1.BoxExecute
109 connect butExec.BoxChange viewer3.BoxExecute
110 connect tab1.Widget main.Widget1
111 connect tab2.Widget main.Widget2
112 connect Box18.BoxChange Box19.BoxExecute
113 connect reslice1.Out Box19.In
114 connect Box20.Out Box19.Filename
115 connect main.Widget Box21.Widget1
116 connect Box22.Widget Box21.Widget2
117 connect Box18.Widget Box22.Widget1
118 connect Box23.Out viewer.In
119 connect Box23.Out showNpoints.Image
120 connect Box24.Out viewer2.In
121 connect Box24.Out showNpoints2.Image
122 connect Box24.Out reslice1.In