]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleTensorsVisu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.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 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 creaMaracasVisu:ViewerNV Box03
25   set Box03.nTypeView "5"
26
27 new wx:CommandButton Box04
28   set Box04.Label "Run"
29
30 new wx:LayoutSplit Box05
31   set Box05.Proportion "10"
32
33 new wx:FileSelector Box06
34
35 new vtk:LoadHola Box07
36
37 new vtk:StructuredPointsReader Box08
38   set Box08.In "/home/davila/Creatis/creaVtk/data/Tensors.vtk"
39
40 new creaVtk:TensorsVisu Box09
41   set Box09.Active "true"
42   set Box09.ScaleFactor "1000"
43
44 new std:Configuration Box10
45
46 new std:ConcatStrings Box11
47   set Box11.In3 "/creaVtk/Tensors.vtk"
48
49 new wx:OutputText Box12
50
51
52 connect Box03.Widget Box05.Widget2
53
54 connect Box04.Widget Box05.Widget1
55
56 connect Box07.Out Box03.In
57
58 connect Box08.Out Box01.In
59
60 connect Box01.Out Box09.In
61
62 connect Box04.BoxChange Box09.BoxExecute
63
64 connect Box03.Renderer1 Box09.Renderer
65
66 connect Box10.DataPath Box11.In1
67
68 connect Box11.Out Box08.In
69
70 connect Box11.Out Box12.In
71
72
73
74 # Complex input ports
75 exec Box05
76 exec Box12