]> 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 bbeaa56d4248b7a9e8eaf3b7628fb25900208d91..318f17de51670032773f173278b54e5669a507b1 100644 (file)
@@ -6,8 +6,8 @@
 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
@@ -32,9 +29,19 @@ 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
@@ -45,10 +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 " "
@@ -56,7 +67,7 @@ input renderer Box05.In " "
 
 # Complex output ports
 output Widget Box06.widget " "
-output boxchange Box02.BoxChange " "
+output boxchange Box15.Out " "
 
 message