]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/bbs/appli/demo02.bbs
bugs wt xtk
[creaWT.git] / wt / bbtk_wt_PKG / bbs / appli / demo02.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demo02.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include wt
13
14 author "Author ??"
15 description "Description ??"
16 category "<VOID>"
17
18 new PolyDataWriter Box05
19   set Box05.BoxProcessMode "Reactive"
20   set Box05.Filename "/home/davila/tempWT/tt.vtk"
21
22 new AppendPolyData Box07
23
24 new SphereSource Box08
25   set Box08.CenterX "0"
26   set Box08.CenterY "0"
27   set Box08.CenterZ "0"
28   set Box08.PhiResolution "20"
29   set Box08.Radius "20"
30   set Box08.ThetaResolution "20"
31
32 new SphereSource Box11
33   set Box11.CenterX "30"
34   set Box11.CenterY "0"
35   set Box11.CenterZ "0"
36   set Box11.PhiResolution "20"
37   set Box11.Radius "20"
38   set Box11.ThetaResolution "20"
39
40 new SphereSource Box12
41   set Box12.CenterX "40"
42   set Box12.CenterY "0"
43   set Box12.CenterZ "0"
44   set Box12.PhiResolution "20"
45   set Box12.Radius "20"
46   set Box12.ThetaResolution "20"
47
48 new configServerWT Box14
49   set Box14.DocRoot "/home/davila/tempWT"
50
51 new ViewerNVWeb Box16
52   set Box16.ImagePath "hola.nii"
53
54 new AddObjectToViewerWeb Box17
55   set Box17.Mesh "tt.vtk"
56
57 new LayoutLine Box18
58
59 new CommandButton Box19
60
61 new LayoutSplit Box20
62   set Box20.Orientation "h"
63
64 new SphereSource Box22
65   set Box22.CenterX "0"
66   set Box22.CenterY "0"
67   set Box22.CenterZ "0"
68   set Box22.PhiResolution "20"
69   set Box22.Radius "20"
70   set Box22.ThetaResolution "20"
71
72 new MarchingCubes Box23
73
74
75 connect Box08.Out Box07.In1
76
77 connect Box11.Out Box07.In2
78
79 connect Box12.Out Box07.In3
80
81 connect Box16.viewer1 Box17.Viewer3D
82
83 connect Box17.Widget Box18.Widget2
84
85 connect Box16.Widget Box20.Widget2
86
87 connect Box19.Widget Box18.Widget1
88
89 connect Box18.Widget Box20.Widget1
90
91 connect Box19.BoxChange Box05.BoxExecute
92
93 connect Box11.Out Box05.In
94
95 connect Box19.BoxChange Box17.BoxExecute
96
97
98
99 # Complex input ports
100 exec Box14
101 exec Box20