]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbs
1ea7e577f94473756bbdce4c49741da89930e98f
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleVectorsTensorsVisu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.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 std
15 include creaVtk
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new ProbeFilter Box02
22   set Box02.BoxProcessMode "Reactive"
23
24 new ViewerNV Box03
25   set Box03.nTypeView "5"
26
27 new LayoutSplit Box05
28   set Box05.Orientation "H"
29
30 new LoadHola Box09
31
32 new StructuredPointsReader Box10
33   set Box10.In "/home/davila/Creatis/creaVtk/data/Vectors.vtk"
34
35 new UpdateRender Box22
36   set Box22.Active "true"
37
38 new LayoutLine Box15
39   set Box15.WinTitle "Plane"
40
41 new LayoutTab Box17
42
43 new LayoutLine Box19
44   set Box19.WinTitle "Volume"
45
46 new MaskPoint Box20
47   set Box20.BoxProcessMode "Reactive"
48
49 new MultipleInputs Box23
50   set Box23.BoxProcessMode "Reactive"
51
52 new MaskPoints_Interface Box26
53
54 new VectorsVisu_Widget Box28
55
56 new VectorsVisu_Widget Box29
57
58 new PlaneWidget_Widget Box30
59
60 new StructuredPointsReader Box31
61   set Box31.In "/home/davila/Creatis/creaVtk/data/Tensors.vtk"
62
63 new ProbeFilter Box32
64   set Box32.BoxProcessMode "Reactive"
65
66 new TensorsVisu_Wideget Box33
67
68 new LayoutTab Box36
69
70 new TensorsVisu_Wideget Box37
71
72 new MaskPoint Box38
73
74 new LayoutTab Box39
75
76
77 connect Box03.Widget Box05.Widget2
78
79 connect Box09.Out Box03.In
80
81 connect Box03.Renderer1 Box22.Renderer
82
83 connect Box10.Out Box02.Source
84
85 connect Box15.Widget Box17.Widget1
86
87 connect Box19.Widget Box17.Widget2
88
89 connect Box10.Out Box20.In
90
91 connect Box23.BoxChange Box22.BoxExecute
92
93 connect Box26.widget Box19.Widget1
94
95 connect Box26.Ratio Box20.Ratio
96
97 connect Box28.BoxChange Box23.In2
98
99 connect Box26.boxChange Box28.boxExecute
100
101 connect Box03.Renderer1 Box28.renderer
102
103 connect Box20.Out Box28.vtkDataObject
104
105 connect Box29.BoxChange Box23.In1
106
107 connect Box03.Renderer1 Box29.renderer
108
109 connect Box02.Out Box29.vtkDataObject
110
111 connect Box10.Out Box30.vtkImageData
112
113 connect Box03.Renderer1 Box30.renderer
114
115 connect Box30.vtkDataSet Box02.Input
116
117 connect Box30.Widget Box15.Widget1
118
119 connect Box30.BoxChange Box29.boxExecute
120
121 connect Box31.Out Box32.Source
122
123 connect Box30.vtkDataSet Box32.Input
124
125 connect Box30.BoxChange Box33.boxExecute
126
127 connect Box03.Renderer1 Box33.renderer
128
129 connect Box32.Out Box33.vtkDataObject
130
131 connect Box33.BoxChange Box23.In3
132
133 connect Box17.Widget Box05.Widget1
134
135 connect Box29.Widget Box36.Widget1
136
137 connect Box36.Widget Box15.Widget2
138
139 connect Box33.Widget Box36.Widget2
140
141 connect Box38.Out Box37.vtkDataObject
142
143 connect Box03.Renderer1 Box37.renderer
144
145 connect Box26.boxChange Box37.boxExecute
146
147 connect Box26.Ratio Box38.Ratio
148
149 connect Box31.Out Box38.In
150
151 connect Box37.BoxChange Box23.In4
152
153 connect Box37.Widget Box39.Widget2
154
155 connect Box28.Widget Box39.Widget1
156
157 connect Box39.Widget Box19.Widget2
158
159
160
161 # Complex input ports
162 exec Box05