1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
4 # ----------------------------------
12 define PlaneWidget_StreamLineVisu_Widget creaVtk
15 description "Description ??"
19 new StreamLineVisu Box00
20 set Box00.Active "true"
21 set Box00.ScaleFactor "5"
24 set Box01.Active "true"
25 set Box01.Resolution "10"
29 new PlaneWidget_StreamLineVisu_Interface Box03
31 new vtkImageDataPointerRelay Box04
33 new StreamTracer Box05
34 set Box05.Active "true"
37 connect Box02.Out Box00.Renderer
38 connect Box02.Out Box01.Renderer
39 connect Box03.ActivePlane Box01.Active
40 connect Box03.ActiveStreamLine Box00.Active
41 connect Box03.Opacity Box00.Opacity
42 connect Box03.Resolution Box01.Resolution
43 connect Box03.boxChange Box01.BoxExecute
44 connect Box03.boxChange Box00.BoxExecute
45 connect Box04.Out Box01.In
46 connect Box03.TypeStreamLine Box00.TypeForm
47 connect Box03.ScaleFactor Box00.ScaleFactor
48 connect Box01.Out Box05.Source
49 connect Box04.Out Box05.In
50 connect Box05.Out Box00.PolyData
51 connect Box03.boxChange Box05.BoxExecute
54 input Renderer Box02.In " "
57 # Complex output ports
58 output Widget Box03.widget " "
59 output boxchange Box03.boxChange " "