1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/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
38 new std:MagicBox Box11
41 connect Box03.Out Box00.In
42 connect Box01.Out Box03.Input
43 connect Box04.Out Box03.Source
44 connect Box04.Out Box01.In
45 connect Box05.Out Box01.Renderer
46 connect Box05.Out Box00.Renderer
47 connect Box06.AcitiveVector Box00.Active
48 connect Box06.ActivePlaneControl Box01.Active
49 connect Box06.Opacity Box00.Opacity
50 connect Box06.ScaleFactor Box00.ScaleFactor
51 connect Box06.Ratio Box01.Resolution
52 connect Box06.typeForm Box00.TypeForm
53 connect Box05.Out Box13.Renderer
54 connect Box15.Out Box00.BoxExecute
55 connect Box06.boxChange Box15.In1
56 connect Box15.Out Box13.BoxExecute
57 connect Box11.Out Box15.In2
60 input vtkImageData Box04.In " "
61 input renderer Box05.In " "
62 input boxexecute Box11.BoxExecute " "
64 # Complex output ports
65 output Widget Box06.widget " "
66 output boxchange Box15.Out " "