]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs
07e26f333e3d285c506fd9ef05b74a52649e91d9
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleTensorsVisu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/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
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new MaskPoint Box01
21   set Box01.Ratio "1"
22
23 new ViewerNV Box03
24   set Box03.nTypeView "5"
25
26 new CommandButton Box04
27   set Box04.Label "Run"
28
29 new LayoutSplit Box05
30   set Box05.Proportion "10"
31
32 new FileSelector Box06
33
34 new LoadHola Box07
35
36 new StructuredPointsReader Box08
37   set Box08.In "/home/davila/Creatis/creaVtk/data/Tensors.vtk"
38
39 new TensorsVisu Box09
40   set Box09.Active "true"
41   set Box09.ScaleFactor "1000"
42
43
44 connect Box03.Widget Box05.Widget2
45
46 connect Box04.Widget Box05.Widget1
47
48 connect Box07.Out Box03.In
49
50 connect Box08.Out Box01.In
51
52 connect Box01.Out Box09.In
53
54 connect Box04.BoxChange Box09.BoxExecute
55
56 connect Box03.Renderer1 Box09.Renderer
57
58
59
60 # Complex input ports
61 exec Box05