1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs
4 # ----------------------------------
13 define VectorsTensors_Widget creaVtk
16 description "Description ??"
20 new vtk:UpdateRender Box22
21 set Box22.Active "true"
23 new wx:LayoutTab Box17
24 set Box17.WinTitle "VectorsTensors Analysis"
26 new std:MultipleInputs Box23
27 set Box23.BoxProcessMode "Reactive"
29 new creaVtk:PlaneVectorVisu_Widget Box41
31 new wx:LayoutLine Box14
32 set Box14.WinTitle "Field"
34 new creaVtk:VolumeVectorVisu_Widget Box18
36 new wx:LayoutLine Box16
37 set Box16.WinTitle "Tensors"
39 new creaVtk:VolumeTensorVisu_Widget Box19
41 new creaVtk:PlaneTensorVisu_Widget Box21
43 new creaVtk:PlaneWidget_StreamLineVisu_Widget Box30
45 new vtk:vtkImageDataPointerRelay Box26
47 new vtk:vtkImageDataPointerRelay Box27
49 new std:MagicBox Box28
51 new wx:LayoutTab Box29
52 set Box29.WinTitle "Vectors"
55 connect Box23.BoxChange Box22.BoxExecute
56 connect Box41.boxchange Box23.In1
57 connect Box41.Widget Box14.Widget1
58 connect Box18.Widget Box14.Widget2
59 connect Box18.boxchange Box23.In2
60 connect Box19.boxchange Box23.In3
61 connect Box19.Widget Box16.Widget2
62 connect Box21.boxchange Box23.In4
63 connect Box21.Widget Box16.Widget1
64 connect Box30.boxchange Box23.In5
65 connect Box26.Out Box18.vtkImageData
66 connect Box26.Out Box30.In
67 connect Box27.Out Box21.vtkImageData
68 connect Box27.Out Box19.vtkImageData
69 connect Box28.Out Box22.Renderer
70 connect Box28.Out Box41.renderer
71 connect Box28.Out Box18.renderer
72 connect Box28.Out Box30.Renderer
73 connect Box28.Out Box21.renderer
74 connect Box28.Out Box19.renderer
75 connect Box26.Out Box41.vtkImageData
76 connect Box14.Widget Box29.Widget1
77 connect Box30.Widget Box29.Widget2
78 connect Box29.Widget Box17.Widget1
79 connect Box16.Widget Box17.Widget2
80 connect Box41.boxchange Box14.BoxExecute
81 connect Box18.boxchange Box29.BoxExecute
84 input vtkImageData_vectors Box26.In " "
85 input vtkImageData_tensors Box27.In " "
86 input vtkRenderer Box28.In " "
88 # Complex output ports
89 output widget Box17.Widget " "