1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
4 # ----------------------------------
12 define PlaneWidget_StreamLineVisu_Widget creaVtk
15 description "Description ??"
19 new creaVtk:StreamLineVisu Box00
20 set Box00.Active "true"
21 set Box00.ScaleFactor "5"
23 new creaVtk:PlaneWidget Box01
24 set Box01.Active "true"
25 set Box01.Resolution "10"
27 new std:MagicBox Box02
29 new creaVtk:PlaneWidget_StreamLineVisu_Interface Box03
31 new vtk:vtkImageDataPointerRelay Box04
33 new creaVtk:StreamTracer Box05
34 set Box05.Active "true"
36 new std:MultipleInputs Box06
39 connect Box02.Out Box00.Renderer
40 connect Box02.Out Box01.Renderer
41 connect Box03.ActivePlane Box01.Active
42 connect Box03.ActiveStreamLine Box00.Active
43 connect Box03.Opacity Box00.Opacity
44 connect Box03.Resolution Box01.Resolution
45 connect Box03.boxChange Box01.BoxExecute
46 connect Box04.Out Box01.In
47 connect Box03.TypeStreamLine Box00.TypeForm
48 connect Box03.ScaleFactor Box00.ScaleFactor
49 connect Box01.Out Box05.Source
50 connect Box04.Out Box05.In
51 connect Box05.Out Box00.PolyData
52 connect Box03.boxChange Box05.BoxExecute
53 connect Box03.boxChange Box06.In1
54 connect Box01.BoxChange Box06.In2
55 connect Box06.BoxChange Box00.BoxExecute
58 input Renderer Box02.In " "
61 # Complex output ports
62 output Widget Box03.widget " "
63 output boxchange Box03.boxChange " "