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 # ----------------------------------
8 include creaMaracasVisu
16 define Getting3D1Point PackRecalage
18 author "info-dev@creatis.insa-lyon.fr"
19 description "Recalage3D 1-point"
24 set viewer.nTypeView "6 1 2 0"
26 new vtkImageDataPointerRelay Box23
30 new ImageVtkPropertiesWidget Box21
32 new IsoSurfaceWidget Box05
33 set Box05.Colour "1 1 0"
34 set Box05.Title "2. Surface"
35 set Box05.Vertical "V"
38 set Box08.Colour "0.32 0.12 0.12"
40 set Box08.WinTitle "Point select"
47 set Box12.Orientation "H"
56 set Box18.WinTitle "3. Point selected"
58 new ConcatStrings Box19
66 new Filter3DPointVector Box24
68 new ConcatStrings Box26
71 set Box27.WinTitle "1. Image Properties"
73 new ConcatStrings Box28
74 set Box28.In1 "Selected Point: "
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
110 # Complex input ports
111 input Image Box23.In " "
112 input Title Box17.WinTitle " "
114 # Complex output ports
115 output Widget Box16.Widget " "
116 output Point Box26.Out " "
117 output BoxChange Box08.BoxChange " "