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