]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu2.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleVectorsTensorsVisu2.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu2.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include wx
13 include vtk
14 include creaVtk
15 include std
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new creaMaracasVisu:ViewerNV Box03
22   set Box03.nTypeView "5"
23
24 new wx:LayoutSplit Box05
25   set Box05.Orientation "H"
26
27 new vtk:LoadHola Box09
28
29 new vtk:StructuredPointsReader Box10
30   set Box10.In "/home/davila/Creatis/creaVtk/data/Vectors.vtk"
31
32 new vtk:StructuredPointsReader Box31
33   set Box31.In "/home/davila/tmp/tmpDTI-Cardiac/Data/tensorOriginal3D.vtk"
34
35 new creaVtk:VectorsTensors_Widget Box26
36
37 new creaVtk:VectorsTensors_manualread_Widget Box12
38
39 new wx:LayoutTab Box13
40
41 new std:Configuration Box14
42
43 new std:ConcatStrings Box15
44   set Box15.In2 "/creaVtk/Vectors.vtk"
45
46 new std:ConcatStrings Box16
47   set Box16.In2 "/creaVtk/Tensors.vtk"
48
49
50 connect Box03.Widget Box05.Widget2
51
52 connect Box09.Out Box03.In
53
54 connect Box10.Out Box26.vtkImageData_vectors
55
56 connect Box31.Out Box26.vtkImageData_tensors
57
58 connect Box03.Renderer1 Box26.vtkRenderer
59
60 connect Box03.Renderer1 Box12.vtkRenderer
61
62 connect Box12.widget Box13.Widget2
63
64 connect Box26.widget Box13.Widget1
65
66 connect Box13.Widget Box05.Widget1
67
68 connect Box14.DataPath Box15.In1
69
70 connect Box15.Out Box10.In
71
72 connect Box14.DataPath Box16.In1
73
74 connect Box16.Out Box31.In
75
76
77
78 # Complex input ports
79 exec Box05