]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleSetCameraInfo.bbs
#3233 creaVtk Feature New Normal - GetCameraInfo SetCameraInfo ScreenShot
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleSetCameraInfo.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleSetCameraInfo.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13 include wx
14 include creaVtk
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new vtk:LoadHola Box00
21
22 new creaMaracasVisu:ViewerNV Box01
23   set Box01.nTypeView "5"
24
25 new creaMaracasVisu:ViewerNV Box02
26   set Box02.nTypeView "5"
27
28 new wx:LayoutLine Box03
29   set Box03.Orientation "H"
30
31 new wx:LayoutSplit Box04
32   set Box04.Orientation "H"
33
34 new wx:LayoutLine Box05
35
36 new wx:CommandButton Box06
37   set Box06.Label "Refresh"
38
39 new creaVtk:GetCameraInfo Box07
40
41 new creaVtk:SetCameraInfo Box09
42
43 new vtk:UpdateRender Box10
44   set Box10.Active "true"
45
46
47 connect Box00.Out Box01.In
48
49 connect Box00.Out Box02.In
50
51 connect Box01.Widget Box03.Widget1
52
53 connect Box02.Widget Box03.Widget2
54
55 connect Box03.Widget Box04.Widget2
56
57 connect Box05.Widget Box04.Widget1
58
59 connect Box06.Widget Box05.Widget1
60
61 connect Box01.Renderer1 Box07.vtkRenderer
62
63 connect Box02.Renderer1 Box09.vtkRenderer
64
65 connect Box07.ViewUp Box09.ViewUp
66
67 connect Box07.Position Box09.Position
68
69 connect Box07.FocalPoint Box09.FocalPoint
70
71 connect Box06.BoxChange Box07.BoxExecute
72
73 connect Box02.Renderer1 Box10.Renderer
74
75 connect Box07.BoxChange Box09.BoxExecute
76
77 connect Box09.BoxChange Box10.BoxExecute
78
79
80
81 # Complex input ports
82 exec Box04