1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script
3 # - /home/pechan/Documents/courses/development/creatis/dev/src/minitools/examples/bbg/recalage/recalage3D3PointsExample.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 Transform3D3PointsBox transform
35 new ReSlicerBox reslice1
36 set reslice1.Origin "0,0,0"
39 set viewer3.nTypeView "5"
41 new CommandButton butExec
42 set butExec.Label "Execute"
45 set tab1.Orientation "H"
48 set hello.Orientation "V"
51 set tab2.Orientation "H"
54 set main.Orientation "H"
57 set Box16.WinTitle Options
61 new ImagesChooserDialogBox Box18
63 new ImagesChooserDialogBox Box19
65 new MetaImageWriter Box20
67 new FileSelector Box21
68 set Box21.OpenSave "Save"
69 set Box21.Title "Save Image"
71 new CommandButton Box22
72 set Box22.Label "Save Image"
75 connect viewer.Renderer1 showNpoints.Renderer
76 connect viewer.Point showNpoints.In
77 connect viewer.BoxChange showNpoints.BoxExecute
78 connect viewer2.Renderer1 showNpoints2.Renderer
79 connect viewer2.Point showNpoints2.In
80 connect viewer2.BoxChange showNpoints2.BoxExecute
81 connect showNpoints.lstPointsX transform.InX1
82 connect showNpoints2.lstPointsX transform.InX2
83 connect showNpoints.lstPointsY transform.InY1
84 connect showNpoints2.lstPointsY transform.InY2
85 connect showNpoints.lstPointsZ transform.InZ1
86 connect showNpoints2.lstPointsZ transform.InZ2
87 connect showNpoints.lstLabels transform.Labels1
88 connect showNpoints2.lstLabels transform.Labels2
89 connect transform.Out reslice1.Transform
90 connect reslice1.Out viewer3.In
91 connect showNpoints.Widget hello.Widget1
92 connect butExec.Widget hello.Widget2
93 connect hello.Widget tab1.Widget1
94 connect viewer.Widget tab1.Widget2
95 connect showNpoints2.Widget tab2.Widget1
96 connect viewer2.Widget tab2.Widget2
97 connect butExec.BoxChange transform.BoxExecute
98 connect butExec.BoxChange reslice1.BoxExecute
99 connect butExec.BoxChange viewer3.BoxExecute
100 connect tab1.Widget main.Widget1
101 connect tab2.Widget main.Widget2
102 connect main.Widget Box17.Widget1
103 connect Box16.Widget Box17.Widget2
104 connect Box18.Out showNpoints.Image
105 connect Box18.Out viewer.In
106 connect Box19.Out showNpoints2.Image
107 connect Box19.Out viewer2.In
108 connect Box19.Out reslice1.In
109 connect reslice1.Out Box20.In
110 connect Box21.Out Box20.Filename
111 connect Box22.BoxChange Box20.BoxExecute
112 connect Box22.Widget Box16.Widget1