]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs
#2913 creaVtk Feature New Normal - new box MHDFileInfo
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / examplePlaneWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.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
24 new wx:LayoutSplit Box02
25   set Box02.Orientation "H"
26
27 new wx:LayoutLine Box03
28
29 new wx:OutputText Box04
30   set Box04.Title "Center"
31
32 new wx:OutputText Box05
33   set Box05.Title "normal"
34
35 new creaVtk:PlaneWidget Box06
36   set Box06.Active "true"
37
38
39 connect Box00.Out Box01.In
40
41 connect Box01.Widget Box02.Widget2
42
43 connect Box03.Widget Box02.Widget1
44
45 connect Box05.Widget Box03.Widget2
46
47 connect Box04.Widget Box03.Widget1
48
49 connect Box01.Renderer1 Box06.Renderer
50
51 connect Box00.Out Box06.In
52
53 connect Box06.Center Box04.In
54
55 connect Box06.Normal Box05.In
56
57 connect Box06.BoxChange Box04.BoxExecute
58
59 connect Box06.BoxChange Box05.BoxExecute
60
61
62
63 # Complex input ports
64 exec Box02