]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleVoiMPR.bbs
#3489 Bug exampleVoiMPR
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleVoiMPR.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script
3 # - /Users/davila/Borrame/tmpMPR-VOI/exampleVoiMPR.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:VoiMPR-Widget Box00
21
22 new vtk:LoadHola Box01
23
24 new creaMaracasVisu:ViewerNV Box02
25
26 new wx:LayoutSplit Box03
27   set Box03.Orientation "H"
28
29 new wx:OutputText Box06
30   set Box06.Title "Voi"
31
32 new wx:LayoutSplit Box07
33
34 new wx:LayoutLine Box08
35
36 new wx:OutputText Box09
37   set Box09.Title "Index"
38
39 new wx:OutputText Box10
40   set Box10.Title "Size"
41
42
43 connect Box01.Out Box00.image
44
45 connect Box01.Out Box02.In
46
47 connect Box02.Point Box00.Point
48
49 connect Box02.Renderer2 Box00.RenderYZ
50
51 connect Box02.BoxChange Box00.execute
52
53 connect Box02.Renderer3 Box00.RenderXZ
54
55 connect Box02.Renderer4 Box00.RenderXY
56
57 connect Box02.Widget Box03.Widget2
58
59 connect Box00.Voi Box06.In
60
61 connect Box06.Widget Box08.Widget1
62
63 connect Box08.Widget Box07.Widget2
64
65 connect Box00.Widget Box07.Widget1
66
67 connect Box07.Widget Box03.Widget1
68
69 connect Box00.index Box09.In
70
71 connect Box00.boxchangeInterface Box08.BoxExecute
72
73 connect Box00.size Box10.In
74
75 connect Box10.Widget Box08.Widget3
76
77 connect Box09.Widget Box08.Widget2
78
79
80
81 # Complex input ports
82 exec Box03