]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleVectorsVisu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaVtk
13 include creaMaracasVisu
14 include wx
15 include std
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new vtk:MaskPoint Box01
22   set Box01.Ratio "1"
23
24 new creaVtk:VectorsVisu Box02
25   set Box02.ScaleFactor "100"
26
27 new creaMaracasVisu:ViewerNV Box03
28   set Box03.nTypeView "5"
29
30 new wx:CommandButton Box04
31   set Box04.Label "Run"
32
33 new wx:LayoutSplit Box05
34   set Box05.Proportion "10"
35
36 new wx:FileSelector Box06
37
38 new vtk:LoadHola Box07
39
40 new vtk:StructuredPointsReader Box08
41   set Box08.In "/home/davila/Creatis/creaVtk/data/Vectors.vtk"
42
43 new std:ConcatStrings Box09
44   set Box09.In2 "/creaVtk/Vectors.vtk"
45
46 new std:Configuration Box10
47
48
49 connect Box01.Out Box02.In
50
51 connect Box03.Renderer1 Box02.Renderer
52
53 connect Box04.BoxChange Box02.BoxExecute
54
55 connect Box03.Widget Box05.Widget2
56
57 connect Box04.Widget Box05.Widget1
58
59 connect Box07.Out Box03.In
60
61 connect Box08.Out Box01.In
62
63 connect Box10.DataPath Box09.In1
64
65 connect Box09.Out Box08.In
66
67
68
69 # Complex input ports
70 exec Box05