]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PlaneWidget_StreamLineVisu_Widget.bbs
index bfc8e5d4fd36d4af3e3fa455114062ef420d26ae..06ae9d88997218b7f431ebc22f6d70a230e07dac 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
 # ----------------------------------
 
 include std
@@ -30,8 +30,10 @@ new PlaneWidget_StreamLineVisu_Interface Box03
 
 new vtkImageDataPointerRelay Box04
 
+new StreamTracer Box05
+  set Box05.Active "true"
+
 
-connect Box01.Out Box00.Source
 connect Box02.Out Box00.Renderer
 connect Box02.Out Box01.Renderer
 connect Box03.ActivePlane Box01.Active
@@ -41,9 +43,12 @@ connect Box03.Resolution Box01.Resolution
 connect Box03.boxChange Box01.BoxExecute
 connect Box03.boxChange Box00.BoxExecute
 connect Box04.Out Box01.In
-connect Box04.Out Box00.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 " "
@@ -53,5 +58,6 @@ input In Box04.In " "
 output Widget Box03.widget " "
 output boxchange Box03.boxChange " "
 
+message    
 
 endefine