1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
4 # ----------------------------------
12 define PlaneVectorVisu_Widget creaVtk
15 description "Description ??"
19 new creaVtk:VectorsVisu Box00
21 new creaVtk:PlaneWidget Box01
23 new vtk:ProbeFilter Box03
25 new vtk:vtkImageDataPointerRelay Box04
27 new std:MagicBox Box05
29 new creaVtk:PlaneVectorViso_Interface Box06
30 set Box06.typeFormsStr "Line Arrow"
32 new vtk:UpdateRender Box13
33 set Box13.Active "true"
34 set Box13.BoxProcessMode "Reactive"
36 new std:SharedMemory Box15
39 connect Box03.Out Box00.In
40 connect Box01.Out Box03.Input
41 connect Box04.Out Box03.Source
42 connect Box04.Out Box01.In
43 connect Box05.Out Box01.Renderer
44 connect Box05.Out Box00.Renderer
45 connect Box06.AcitiveVector Box00.Active
46 connect Box06.ActivePlaneControl Box01.Active
47 connect Box06.Opacity Box00.Opacity
48 connect Box06.ScaleFactor Box00.ScaleFactor
49 connect Box06.Ratio Box01.Resolution
50 connect Box06.typeForm Box00.TypeForm
51 connect Box05.Out Box13.Renderer
52 connect Box15.Out Box00.BoxExecute
53 connect Box06.boxChange Box15.In1
54 connect Box15.Out Box13.BoxExecute
55 connect Box01.BoxChange Box15.In2
58 input vtkImageData Box04.In " "
59 input renderer Box05.In " "
61 # Complex output ports
62 output Widget Box06.widget " "
63 output boxchange Box15.Out " "