# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs # ---------------------------------- include std include itkvtk include creaVtk include std include vtk define PlaneWidget_StreamLineVisu_Widget creaVtk author "Author ??" description "Description ??" category "" new StreamLineVisu Box00 set Box00.Active "true" set Box00.ScaleFactor "5" new PlaneWidget Box01 set Box01.Active "true" set Box01.Resolution "10" new MagicBox Box02 new PlaneWidget_StreamLineVisu_Interface Box03 new vtkImageDataPointerRelay Box04 new StreamTracer Box05 set Box05.Active "true" connect Box02.Out Box00.Renderer connect Box02.Out Box01.Renderer connect Box03.ActivePlane Box01.Active connect Box03.ActiveStreamLine Box00.Active connect Box03.Opacity Box00.Opacity connect Box03.Resolution Box01.Resolution connect Box03.boxChange Box01.BoxExecute connect Box03.boxChange Box00.BoxExecute connect Box04.Out Box01.In connect Box03.TypeStreamLine Box00.TypeForm connect Box03.ScaleFactor Box00.ScaleFactor connect Box01.Out Box05.Source connect Box04.Out Box05.In connect Box05.Out Box00.PolyData connect Box03.boxChange Box05.BoxExecute # Complex input ports input Renderer Box02.In " " input In Box04.In " " # Complex output ports output Widget Box03.widget " " output boxchange Box03.boxChange " " message endefine