]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/Getting3D1Point.bbs
2075 creaRigidRegistration Feature New Normal Registration 3D 1P
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / Getting3D1Point.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/Getting3D1Point.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaMaracasVisu
9 include vtk
10 include wx
11 include toolsbbtk
12 include wxvtk
13 include std
14 include PackRecalage
15
16 define Getting3D1Point PackRecalage
17
18 author "info-dev@creatis.insa-lyon.fr"
19 description "Recalage3D 1-point"
20
21 category "example"
22
23 new ViewerNV viewer
24   set viewer.nTypeView "6 1 2 0"
25
26 new vtkImageDataPointerRelay Box23
27
28 new LayoutTab Box16
29
30 new ImageVtkPropertiesWidget Box21
31
32 new IsoSurfaceWidget Box05
33   set Box05.Colour "1 1 0"
34   set Box05.Title "2. Surface"
35   set Box05.Vertical "V"
36
37 new ShowNPoints Box08
38   set Box08.Colour "0.32 0.12 0.12"
39   set Box08.Type "1"
40   set Box08.WinTitle "Point select"
41
42 new LayoutTab Box10
43
44 new LayoutSplit Box11
45
46 new LayoutLine Box12
47   set Box12.Orientation "H"
48
49 new LayoutTab Box13
50
51 new LayoutTab Box14
52
53 new LayoutLine Box17
54
55 new LayoutLine Box18
56   set Box18.WinTitle "3. Point selected"
57
58 new ConcatStrings Box19
59   set Box19.In2 " "
60   set Box19.In4 " "
61
62 new OutputText Box20
63
64 new ImageCenter Box22
65
66 new Filter3DPointVector Box24
67
68 new ConcatStrings Box26
69
70 new LayoutLine Box27
71   set Box27.WinTitle "1. Image Properties"
72
73 new ConcatStrings Box28
74   set Box28.In1 "Selected Point: "
75
76
77 connect Box23.Out viewer.In
78 connect Box23.Out Box21.in
79 connect viewer.Renderer1 Box05.vtkRenderer
80 connect Box23.Out Box05.In
81 connect Box05.BoxChange viewer.BoxExecute
82 connect viewer.BoxChange Box08.BoxExecute
83 connect viewer.Point Box08.In
84 connect viewer.Renderer1 Box08.Renderer
85 connect Box23.Out Box08.Image
86 connect Box05.Widget Box13.Widget1
87 connect Box13.Widget Box12.Widget2
88 connect viewer.Widget Box11.Widget2
89 connect Box12.Widget Box11.Widget1
90 connect Box11.Widget Box17.Widget1
91 connect Box17.Widget Box16.Widget1
92 connect Box18.Widget Box10.Widget1
93 connect Box08.lstPointsX Box19.In1
94 connect Box08.lstPointsY Box19.In3
95 connect Box08.lstPointsZ Box19.In5
96 connect Box08.BoxChange Box20.BoxExecute
97 connect Box23.Out Box22.In
98 connect Box19.Out Box24.In
99 connect Box22.Point Box24.Initial
100 connect Box24.Out Box26.In1
101 connect Box21.widget Box27.Widget1
102 connect Box27.Widget Box14.Widget1
103 connect Box10.Widget Box12.Widget3
104 connect Box14.Widget Box12.Widget1
105 connect Box08.Widget Box18.Widget1
106 connect Box20.Widget Box18.Widget2
107 connect Box19.Out Box28.In2
108 connect Box28.Out Box20.In
109
110 # Complex input ports
111 input Image Box23.In " "
112 input Title Box17.WinTitle " "
113
114 # Complex output ports
115 output Widget Box16.Widget " "
116 output Point Box26.Out " "
117 output BoxChange Box08.BoxChange " "
118
119
120 endefine