]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbs
290032534200233edeeb0b2712819bedb2eb355f
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VectorsTensors_manualread_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include vtk
9 include wx
10 include std
11 include creaVtk
12
13 define VectorsTensors_manualread_Widget creaVtk
14
15 author "Author ??"
16 description "Description ??"
17
18 category "<VOID>"
19
20 new UpdateRender Box22
21   set Box22.Active "true"
22
23 new LayoutTab Box17
24   set Box17.WinTitle "VectorsTensors Analysis Manual"
25
26 new MultipleInputs Box23
27   set Box23.BoxProcessMode "Reactive"
28
29 new PlaneVectorVisu_Widget Box41
30
31 new LayoutLine Box14
32   set Box14.WinTitle "Vectors"
33
34 new VolumeVectorVisu_Widget Box18
35
36 new LayoutLine Box16
37   set Box16.WinTitle "Tensors"
38
39 new VolumeTensorVisu_Widget Box19
40
41 new PlaneTensorVisu_Widget Box21
42
43 new PlaneWidget_StreamLineVisu_Widget Box30
44
45 new MagicBox Box28
46
47 new FileSelector Box29
48   set Box29.BoxProcessMode "Manual"
49   set Box29.Title "Vectors (*.vtk)"
50
51 new StructuredPointsReader Box31
52
53 new LayoutSplit Box33
54   set Box33.Proportion "10"
55   set Box33.WinTitle "Vectors"
56
57 new CommandButton Box34
58   set Box34.Label "Read Vectors (*.vtk)"
59
60 new FileSelector Box35
61   set Box35.BoxProcessMode "Manual"
62   set Box35.Title "Tensors (*.vtk)"
63
64 new StructuredPointsReader Box36
65
66 new LayoutSplit Box37
67   set Box37.Proportion "10"
68   set Box37.WinTitle "Tensors"
69
70 new CommandButton Box38
71   set Box38.Label "Read Tensors (*.vtk)"
72
73 new LayoutTab Box39
74   set Box39.WinTitle "Field"
75
76
77 connect Box23.BoxChange Box22.BoxExecute
78 connect Box41.boxchange Box23.In1
79 connect Box41.Widget Box14.Widget1
80 connect Box18.Widget Box14.Widget2
81 connect Box18.boxchange Box23.In2
82 connect Box19.boxchange Box23.In3
83 connect Box19.Widget Box16.Widget2
84 connect Box21.boxchange Box23.In4
85 connect Box21.Widget Box16.Widget1
86 connect Box30.boxchange Box23.In5
87 connect Box28.Out Box22.Renderer
88 connect Box28.Out Box41.renderer
89 connect Box28.Out Box18.renderer
90 connect Box28.Out Box30.Renderer
91 connect Box28.Out Box21.renderer
92 connect Box28.Out Box19.renderer
93 connect Box29.Out Box31.In
94 connect Box34.Widget Box33.Widget1
95 connect Box34.BoxChange Box29.BoxExecute
96 connect Box31.Out Box41.vtkImageData
97 connect Box31.Out Box18.vtkImageData
98 connect Box31.Out Box30.In
99 connect Box35.Out Box36.In
100 connect Box38.Widget Box37.Widget1
101 connect Box38.BoxChange Box35.BoxExecute
102 connect Box36.Out Box21.vtkImageData
103 connect Box36.Out Box19.vtkImageData
104 connect Box16.Widget Box37.Widget2
105 connect Box37.Widget Box17.Widget2
106 connect Box30.Widget Box39.Widget2
107 connect Box33.Widget Box17.Widget1
108 connect Box14.Widget Box39.Widget1
109 connect Box39.Widget Box33.Widget2
110
111 # Complex input ports
112 input vtkRenderer Box28.In " "
113
114 # Complex output ports
115 output widget Box17.Widget " "
116
117
118 endefine