1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleSetCameraInfo.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
17 description "Description ??"
20 new vtk:LoadHola Box00
22 new creaMaracasVisu:ViewerNV Box01
23 set Box01.nTypeView "5"
25 new creaMaracasVisu:ViewerNV Box02
26 set Box02.nTypeView "5"
28 new wx:LayoutLine Box03
29 set Box03.Orientation "H"
31 new wx:LayoutSplit Box04
32 set Box04.Orientation "H"
34 new wx:LayoutLine Box05
36 new wx:CommandButton Box06
37 set Box06.Label "Refresh"
39 new creaVtk:GetCameraInfo Box07
41 new creaVtk:SetCameraInfo Box09
43 new vtk:UpdateRender Box10
44 set Box10.Active "true"
47 connect Box00.Out Box01.In
49 connect Box00.Out Box02.In
51 connect Box01.Widget Box03.Widget1
53 connect Box02.Widget Box03.Widget2
55 connect Box03.Widget Box04.Widget2
57 connect Box05.Widget Box04.Widget1
59 connect Box06.Widget Box05.Widget1
61 connect Box01.Renderer1 Box07.vtkRenderer
63 connect Box02.Renderer1 Box09.vtkRenderer
65 connect Box07.ViewUp Box09.ViewUp
67 connect Box07.Position Box09.Position
69 connect Box07.FocalPoint Box09.FocalPoint
71 connect Box06.BoxChange Box07.BoxExecute
73 connect Box02.Renderer1 Box10.Renderer
75 connect Box07.BoxChange Box09.BoxExecute
77 connect Box09.BoxChange Box10.BoxExecute