]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbs
#2878 CreaMiniTools Bug New Normal - Box ExecSystemCommand blocking / not blocking
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / exampleVolumeRendering2.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.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 vtk:VolumeRenderer Box03
25
26 new wx:LayoutSplit Box04
27   set Box04.Orientation "H"
28
29 new wx:LayoutTab Box05
30
31 new creaMaracasVisu:TransferFunctionView Box07
32
33 new wx:LayoutLine Box08
34   set Box08.Orientation "H"
35
36 new creaVtk:Actor Box11
37
38 new vtk:UpdateRender Box12
39   set Box12.Active "true"
40
41
42 connect Box00.Out Box01.In
43
44 connect Box00.Out Box03.In
45
46 connect Box01.Widget Box04.Widget2
47
48 connect Box05.Widget Box04.Widget1
49
50 connect Box08.Widget Box05.Widget1
51
52 connect Box00.Out Box07.In
53
54 connect Box07.ColorFunction Box03.ColorFunction1
55
56 connect Box07.OpacityFunction Box03.OpacityFunction
57
58 connect Box07.Widget Box08.Widget2
59
60 connect Box03.Out Box11.In
61
62 connect Box07.Active Box11.Active
63
64 connect Box01.Renderer1 Box12.Renderer
65
66 connect Box01.Renderer1 Box11.Renderer
67
68 connect Box11.BoxChange Box12.BoxExecute
69
70
71
72 # Complex input ports
73 exec Box04