]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs
3150 creaVtk Feature New Normal - PointPicker box
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleTensorsVisu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/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 "1"
43
44 new std:Configuration Box10
45
46 new std:ConcatStrings Box11
47   set Box11.In2 "/creaVtk/Tensors.vtk"
48
49
50 connect Box03.Widget Box05.Widget2
51
52 connect Box04.Widget Box05.Widget1
53
54 connect Box07.Out Box03.In
55
56 connect Box08.Out Box01.In
57
58 connect Box01.Out Box09.In
59
60 connect Box04.BoxChange Box09.BoxExecute
61
62 connect Box03.Renderer1 Box09.Renderer
63
64 connect Box10.DataPath Box11.In1
65
66 connect Box11.Out Box08.In
67
68
69
70 # Complex input ports
71 exec Box05