]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleScreenShot.bbs
#3233 creaVtk Feature New Normal - GetCameraInfo SetCameraInfo ScreenShot
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleScreenShot.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleScreenShot.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaVtk
12 include vtk
13 include creaMaracasVisu
14 include wx
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new creaVtk:ScreenShot Box00
21   set Box00.FileName "ScreenShot.png"
22   set Box00.Scale "2 2"
23
24 new vtk:LoadHola Box01
25
26 new creaMaracasVisu:ViewerNV Box02
27
28 new wx:LayoutSplit Box03
29   set Box03.Orientation "H"
30
31 new wx:CommandButton Box04
32   set Box04.Label "ScreenShot"
33
34
35 connect Box01.Out Box02.In
36
37 connect Box02.Renderer1 Box00.vtkRenderer
38
39 connect Box02.Widget Box03.Widget2
40
41 connect Box04.Widget Box03.Widget1
42
43 connect Box04.BoxChange Box00.BoxExecute
44
45
46
47 # Complex input ports
48 exec Box03