]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleRender_Tools-ResetCamera.bbs
#3519 Render_Tool box
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleRender_Tools-ResetCamera.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script
3 # - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleRender_Tools-ResetCamera.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include vtk
13 include wx
14 include std
15 include creaVtk
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new creaMaracasVisu:ViewerNV Box00
22   set Box00.nTypeView "7"
23
24 new vtk:LoadHola Box01
25
26 new vtk:SphereSource Box02
27
28 new vtk:PolyDataToActor Box03
29
30 new wx:LayoutSplit Box04
31   set Box04.Orientation "H"
32   set Box04.Proportion "10"
33
34 new wx:LayoutLine Box05
35
36 new vtk:UpdateRender Box07
37   set Box07.Active "true"
38
39 new std:MultipleInputs Box10
40
41 new creaVtk:Render_Tools Box11
42   set Box11.Type "20"
43
44 new wx:OutputText Box13
45   set Box13.In "Test"
46
47
48 connect Box01.Out Box00.In
49
50 connect Box02.Out Box03.In
51
52 connect Box00.Renderer1 Box03.Renderer
53
54 connect Box00.Widget Box04.Widget2
55
56 connect Box05.Widget Box04.Widget1
57
58 connect Box03.BoxChange Box11.BoxExecute
59
60 connect Box00.Renderer1 Box11.Renderer
61
62 connect Box11.BoxChange Box07.BoxExecute
63
64 connect Box07.BoxChange Box10.In1
65
66 connect Box13.Widget Box05.Widget1
67
68
69
70 # Complex input ports
71 exec Box04
72 exec Box10