]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
#2501 creaVtk Bug New Normal - Clean events in Vectors and Tensors visu widgets...
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PlaneVectorVisu_Widget.bbs
index efc73d1e2fb4244394f926b3da0096a408a8bd33..318f17de51670032773f173278b54e5669a507b1 100644 (file)
@@ -1,13 +1,13 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
 # ----------------------------------
 
 include std
 include itkvtk
 include creaVtk
-include std
 include vtk
+include std
 
 define PlaneVectorVisu_Widget creaVtk
 
@@ -20,9 +20,6 @@ new VectorsVisu Box00
 
 new PlaneWidget Box01
 
-new MultipleInputs Box02
-  set Box02.BoxProcessMode "Reactive"
-
 new ProbeFilter Box03
 
 new vtkImageDataPointerRelay Box04
@@ -30,10 +27,21 @@ new vtkImageDataPointerRelay Box04
 new MagicBox Box05
 
 new PlaneVectorViso_Interface Box06
+  set Box06.typeFormsStr "Line Arrow"
+
+new ExecSystemCommand Box11
+  set Box11.In "echo pppppppp"
+
+new UpdateRender Box13
+  set Box13.Active "true"
+  set Box13.BoxProcessMode "Reactive"
+
+new ExecSystemCommand Box14
+  set Box14.In "echo ccccccccccccccccc"
+
+new SharedMemory Box15
 
 
-connect Box01.BoxChange Box02.In1
-connect Box02.BoxChange Box00.BoxExecute
 connect Box03.Out Box00.In
 connect Box01.Out Box03.Input
 connect Box04.Out Box03.Source
@@ -44,9 +52,14 @@ connect Box06.AcitiveVector Box00.Active
 connect Box06.ActivePlaneControl Box01.Active
 connect Box06.Opacity Box00.Opacity
 connect Box06.ScaleFactor Box00.ScaleFactor
-connect Box06.boxChange Box02.In2
 connect Box06.Ratio Box01.Resolution
-connect Box06.boxChange Box01.BoxExecute
+connect Box06.typeForm Box00.TypeForm
+connect Box06.boxChange Box11.BoxExecute
+connect Box05.Out Box13.Renderer
+connect Box15.Out Box14.BoxExecute
+connect Box15.Out Box00.BoxExecute
+connect Box06.boxChange Box15.In1
+connect Box15.Out Box13.BoxExecute
 
 # Complex input ports
 input vtkImageData Box04.In " "
@@ -54,7 +67,8 @@ input renderer Box05.In " "
 
 # Complex output ports
 output Widget Box06.widget " "
-output boxchange Box02.BoxChange " "
+output boxchange Box15.Out " "
 
+message    
 
 endefine