]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget_Base.bbs
#3483 PlaneWidget_Base Box
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / examplePlaneWidget_Base.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script
3 # - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget_Base.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 include std
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new vtk:LoadHola Box00
22
23 new creaMaracasVisu:ViewerNV Box01
24
25 new wx:LayoutSplit Box02
26   set Box02.Orientation "H"
27
28 new wx:LayoutLine Box03
29
30 new wx:OutputText Box04
31   set Box04.Title "Center"
32
33 new wx:OutputText Box05
34   set Box05.Title "normal"
35
36 new creaVtk:PlaneWidget Box06
37   set Box06.Active "true"
38
39 new creaVtk:PlaneWidget_Base Box07
40   set Box07.Param "3"
41   set Box07.Type "1"
42
43 new wx:CommandButton Box08
44
45 new std:MultipleInputs Box09
46
47 new vtk:UpdateRender Box10
48   set Box10.Active "true"
49
50
51 connect Box00.Out Box01.In
52
53 connect Box01.Widget Box02.Widget2
54
55 connect Box03.Widget Box02.Widget1
56
57 connect Box05.Widget Box03.Widget2
58
59 connect Box04.Widget Box03.Widget1
60
61 connect Box01.Renderer1 Box06.Renderer
62
63 connect Box00.Out Box06.In
64
65 connect Box06.Center Box04.In
66
67 connect Box06.Normal Box05.In
68
69 connect Box08.Widget Box03.Widget4
70
71 connect Box08.BoxChange Box07.BoxExecute
72
73 connect Box06.BoxChange Box09.In1
74
75 connect Box09.BoxChange Box04.BoxExecute
76
77 connect Box09.BoxChange Box05.BoxExecute
78
79 connect Box01.Renderer1 Box10.Renderer
80
81 connect Box09.BoxChange Box10.BoxExecute
82
83 connect Box06.Base Box07.In
84
85 connect Box08.BoxChange Box03.BoxExecute
86
87 connect Box08.BoxChange Box09.In2
88
89
90
91 # Complex input ports
92 exec Box02