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