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