From 36ca7d0ecb018705b27c0a034ade4567abc048b7 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 15 Mar 2018 10:21:51 +0100 Subject: [PATCH] #3182 creaVtk Feature New Normal - Clean PlaneVecterVisu_Widget --- .../bbs/boxes/PlaneVectorVisu_Widget.bbg | 48 ++++++++----------- .../bbs/boxes/PlaneVectorVisu_Widget.bbs | 28 +++++------ 2 files changed, 33 insertions(+), 43 deletions(-) diff --git a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg index c1e5411..30c568c 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg # ---------------------------------- APP_START @@ -19,7 +19,7 @@ COMPLEX_PORT boxchange -75.932205:-101.708611:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:2 +COMPLEXINPUTS:3 COMPLEX_PORT vtkImageData 38.028121:89.676762:-900.000000 @@ -28,12 +28,16 @@ COMPLEX_PORT renderer -52.117833:88.203991:-900.000000 FIN_COMPLEX_PORT -BOXES:10 +COMPLEX_PORT +boxexecute +-104.232070:88.823851:-900.000000 +FIN_COMPLEX_PORT +BOXES:9 BOX creaVtk:VectorsVisu:Box00 ISEXEC:FALSE --2.817636:-56.941435:-900.000000 -42.757364:-66.941435:-900.000000 +-4.465574:-69.418679:-900.000000 +41.109426:-79.418679:-900.000000 FIN_BOX BOX creaVtk:PlaneWidget:Box01 @@ -68,14 +72,6 @@ PORT typeFormsStr:"Line Arrow" FIN_BOX BOX -std:ExecSystemCommand:Box11 -ISEXEC:FALSE -90.911957:-18.902735:-900.000000 -162.086957:-28.902735:-900.000000 -PORT -In:"echo pppppppp" -FIN_BOX -BOX vtk:UpdateRender:Box13 ISEXEC:FALSE -129.325679:-71.617843:-900.000000 @@ -86,19 +82,17 @@ PORT BoxProcessMode:"Reactive" FIN_BOX BOX -std:ExecSystemCommand:Box14 -ISEXEC:FALSE --68.601930:-72.048687:-900.000000 -2.573070:-82.048687:-900.000000 -PORT -In:"echo ccccccccccccccccc" -FIN_BOX -BOX std:SharedMemory:Box15 ISEXEC:FALSE -79.072661:-36.761184:-900.000000 -33.497661:-46.761184:-900.000000 FIN_BOX +BOX +std:MagicBox:Box11 +ISEXEC:FALSE +-116.304953:49.494646:-900.000000 +-70.729953:39.494646:-900.000000 +FIN_BOX CONNECTIONS:22 CONNECTION Box03:Out:Box00:In @@ -146,15 +140,9 @@ CONNECTION Box06:typeForm:Box00:TypeForm NumberOfControlPoints:0 CONNECTION -Box06:boxChange:Box11:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box05:Out:Box13:Renderer NumberOfControlPoints:0 CONNECTION -Box15:Out:Box14:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box15:Out:Box00:BoxExecute NumberOfControlPoints:0 CONNECTION @@ -166,4 +154,10 @@ NumberOfControlPoints:0 CONNECTION Box15:Out:Box13:BoxExecute NumberOfControlPoints:0 +CONNECTION +boxexecute:boxexecute:Box11:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box15:In2 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs index 9cfe787..05e401e 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs # ---------------------------------- include std @@ -16,30 +16,26 @@ description "Description ??" category "" -new VectorsVisu Box00 +new creaVtk:VectorsVisu Box00 -new PlaneWidget Box01 +new creaVtk:PlaneWidget Box01 -new ProbeFilter Box03 +new vtk:ProbeFilter Box03 -new vtkImageDataPointerRelay Box04 +new vtk:vtkImageDataPointerRelay Box04 -new MagicBox Box05 +new std:MagicBox Box05 -new PlaneVectorViso_Interface Box06 +new creaVtk:PlaneVectorViso_Interface Box06 set Box06.typeFormsStr "Line Arrow" -new ExecSystemCommand Box11 - set Box11.In "echo pppppppp" - -new UpdateRender Box13 +new vtk:UpdateRender Box13 set Box13.Active "true" set Box13.BoxProcessMode "Reactive" -new ExecSystemCommand Box14 - set Box14.In "echo ccccccccccccccccc" +new std:SharedMemory Box15 -new SharedMemory Box15 +new std:MagicBox Box11 connect Box03.Out Box00.In @@ -54,16 +50,16 @@ connect Box06.Opacity Box00.Opacity connect Box06.ScaleFactor Box00.ScaleFactor connect Box06.Ratio Box01.Resolution 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 +connect Box11.Out Box15.In2 # Complex input ports input vtkImageData Box04.In " " input renderer Box05.In " " +input boxexecute Box11.BoxExecute " " # Complex output ports output Widget Box06.widget " " -- 2.47.1