]> Creatis software - creaVtk.git/commitdiff
#2501 creaVtk Bug New Normal - Clean events in Vectors and Tensors visu widgets...
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Tue, 13 Jan 2015 15:25:31 +0000 (16:25 +0100)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Tue, 13 Jan 2015 15:25:31 +0000 (16:25 +0100)
16 files changed:
bbtk_creaVtk_PKG/bbs/boxes/PlaneTensorVisu_Widget.bbg
bbtk_creaVtk_PKG/bbs/boxes/PlaneTensorVisu_Widget.bbs
bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Interface.bbg
bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Interface.bbs
bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg
bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg
bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs
bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbg
bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbs
bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg
bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg
bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs
bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx
lib/creaVtk/vtkTensorsVisu.cpp

index bb9fd4ba67c87979327bdeafb14525986e117e7b..47294a7eba7b8b0b0d9ab481c5c1113cb3427113 100644 (file)
@@ -13,11 +13,11 @@ PACKAGENAME:creaVtk
 COMPLEXOUTPUTS:2
 COMPLEX_PORT
 Widget
-31.744879:-80.833607:-900.000000
+120.194747:-74.244219:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 boxchange
--35.528815:-81.209254:-900.000000
+-89.764550:-76.393932:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:2
 COMPLEX_PORT
@@ -26,20 +26,22 @@ vtkImageData
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 renderer
--75.535506:88.482773:-900.000000
+-60.329225:88.736211:-900.000000
 FIN_COMPLEX_PORT
-BOXES:7
+BOXES:9
 BOX
 creaVtk:PlaneWidget:Box01
 ISEXEC:FALSE
--12.529743:11.732099:-900.000000
-33.045257:1.732099:-900.000000
+-67.018916:10.464909:-900.000000
+-21.443916:0.464909:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box02
 ISEXEC:FALSE
--67.511455:-19.324707:-900.000000
--21.936455:-29.324707:-900.000000
+-68.778645:-15.523137:-900.000000
+-23.203645:-25.523137:-900.000000
+PORT
+BoxProcessMode:"Reactive"
 FIN_BOX
 BOX
 vtk:ProbeFilter:Box03
@@ -70,13 +72,28 @@ FIN_BOX
 BOX
 creaVtk:TensorsVisu:Box07
 ISEXEC:FALSE
-6.511770:-45.519777:-900.000000
-52.086770:-55.519777:-900.000000
+37.431208:-46.533529:-900.000000
+83.006208:-56.533529:-900.000000
 FIN_BOX
-CONNECTIONS:20
-CONNECTION
-Box01:BoxChange:Box02:In1
-NumberOfControlPoints:0
+BOX
+vtk:UpdateRender:Box08
+ISEXEC:FALSE
+-129.253388:-47.012752:-900.000000
+-83.678388:-57.012752:-900.000000
+PORT
+Active:"true"
+PORT
+BoxProcessMode:"Reactive"
+FIN_BOX
+BOX
+std:ExecSystemCommand:Box09
+ISEXEC:FALSE
+-52.968545:-46.252438:-900.000000
+18.206455:-56.252438:-900.000000
+PORT
+In:"echo kkkkkkkkPlaneTensorVisu_widget"
+FIN_BOX
+CONNECTIONS:21
 CONNECTION
 Box01:Out:Box03:Input
 NumberOfControlPoints:0
@@ -105,24 +122,15 @@ CONNECTION
 Box06:widget:Widget:Widget
 NumberOfControlPoints:0
 CONNECTION
-Box02:BoxChange:boxchange:boxchange
-NumberOfControlPoints:0
-CONNECTION
 Box06:Ratio:Box01:Resolution
 NumberOfControlPoints:0
 CONNECTION
-Box06:boxChange:Box01:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box05:Out:Box07:Renderer
 NumberOfControlPoints:0
 CONNECTION
 Box06:AcitiveVector:Box07:Active
 NumberOfControlPoints:0
 CONNECTION
-Box02:BoxChange:Box07:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box03:Out:Box07:In
 NumberOfControlPoints:0
 CONNECTION
@@ -134,4 +142,19 @@ NumberOfControlPoints:0
 CONNECTION
 Box06:typeForm:Box07:TypeForm
 NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box08:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box08:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:boxchange:boxchange
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box07:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box09:BoxExecute
+NumberOfControlPoints:0
 APP_END
index f42f02427a7bb66345436f08a48664f519403680..9f8ba289224758461b8536beb189b79fc71b7d77 100644 (file)
@@ -19,6 +19,7 @@ category "<VOID>"
 new PlaneWidget Box01
 
 new MultipleInputs Box02
+  set Box02.BoxProcessMode "Reactive"
 
 new ProbeFilter Box03
 
@@ -31,8 +32,14 @@ new PlaneVectorViso_Interface Box06
 
 new TensorsVisu Box07
 
+new UpdateRender Box08
+  set Box08.Active "true"
+  set Box08.BoxProcessMode "Reactive"
+
+new ExecSystemCommand Box09
+  set Box09.In "echo kkkkkkkkPlaneTensorVisu_widget"
+
 
-connect Box01.BoxChange Box02.In1
 connect Box01.Out Box03.Input
 connect Box04.Out Box03.Source
 connect Box04.Out Box01.In
@@ -40,14 +47,16 @@ connect Box05.Out Box01.Renderer
 connect Box06.ActivePlaneControl Box01.Active
 connect Box06.boxChange Box02.In2
 connect Box06.Ratio Box01.Resolution
-connect Box06.boxChange Box01.BoxExecute
 connect Box05.Out Box07.Renderer
 connect Box06.AcitiveVector Box07.Active
-connect Box02.BoxChange Box07.BoxExecute
 connect Box03.Out Box07.In
 connect Box06.Opacity Box07.Opacity
 connect Box06.ScaleFactor Box07.ScaleFactor
 connect Box06.typeForm Box07.TypeForm
+connect Box05.Out Box08.Renderer
+connect Box02.Out Box08.BoxExecute
+connect Box02.Out Box07.BoxExecute
+connect Box02.Out Box09.BoxExecute
 
 # Complex input ports
 input vtkImageData Box04.In " "
@@ -55,7 +64,7 @@ input renderer Box05.In " "
 
 # Complex output ports
 output Widget Box06.widget " "
-output boxchange Box02.BoxChange " "
+output boxchange Box02.Out " "
 
 message    
 
index bec1430c6a80bb4b27a74b4ae26c43302f9d1c8d..be41cc420b31caddc5fdcee8a7035f41d3e50094 100644 (file)
@@ -37,7 +37,7 @@ ScaleFactor
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 Ratio
--91.228359:-50.583288:-900.000000
+68.944467:-60.974247:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 typeForm
@@ -48,7 +48,7 @@ COMPLEX_PORT
 typeFormsStr
 107.913964:117.907952:-900.000000
 FIN_COMPLEX_PORT
-BOXES:14
+BOXES:17
 BOX
 wx:Slider:Box00
 ISEXEC:FALSE
@@ -82,22 +82,24 @@ FIN_BOX
 BOX
 std:MultipleInputs:Box02
 ISEXEC:FALSE
--69.982503:10.428689:-900.000000
--24.407503:0.428689:-900.000000
+-34.247743:16.511201:-900.000000
+11.327257:6.511201:-900.000000
+PORT
+BoxProcessMode:"Reactive"
 FIN_BOX
 BOX
 wx:LayoutLine:Box03
 ISEXEC:FALSE
-10.915772:-15.519850:-900.000000
-68.475772:-25.519850:-900.000000
+20.799855:-14.759536:-900.000000
+78.359855:-24.759536:-900.000000
 PORT
 WinTitle:"Plane flield"
 FIN_BOX
 BOX
 wx:LayoutTab:Box04
 ISEXEC:FALSE
-1.361291:-37.866975:-900.000000
-58.921291:-47.866975:-900.000000
+10.485060:-37.613537:-900.000000
+68.045060:-47.613537:-900.000000
 FIN_BOX
 BOX
 wx:CheckBox:Box05
@@ -174,8 +176,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box11
 ISEXEC:FALSE
-25.048980:15.194635:-900.000000
-82.608980:5.194635:-900.000000
+47.351525:19.503081:-900.000000
+104.911525:9.503081:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
@@ -192,12 +194,34 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box13
 ISEXEC:FALSE
-94.792811:8.332966:-900.000000
-152.352811:-1.667034:-900.000000
+124.445059:13.148288:-900.000000
+182.005059:3.148288:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
-CONNECTIONS:27
+BOX
+std:ExecSystemCommand:Box14
+ISEXEC:FALSE
+-51.447917:-22.175826:-900.000000
+19.727083:-32.175826:-900.000000
+PORT
+In:"echo mmmmmmmmm"
+FIN_BOX
+BOX
+std:SharedMemory:Box15
+ISEXEC:FALSE
+-76.284843:36.368355:-900.000000
+-30.709843:26.368355:-900.000000
+FIN_BOX
+BOX
+std:ExecSystemCommand:Box16
+ISEXEC:FALSE
+-138.145322:-19.663050:-900.000000
+-66.970322:-29.663050:-900.000000
+PORT
+In:"echo m2m2m2m2m2m2m2m2m"
+FIN_BOX
+CONNECTIONS:36
 CONNECTION
 Box00:BoxChange:Box02:In1
 NumberOfControlPoints:0
@@ -205,9 +229,6 @@ CONNECTION
 Box01:BoxChange:Box02:In2
 NumberOfControlPoints:0
 CONNECTION
-Box02:BoxChange:boxChange:boxChange
-NumberOfControlPoints:0
-CONNECTION
 Box03:Widget:Box04:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -279,4 +300,34 @@ NumberOfControlPoints:0
 CONNECTION
 Box12:BoxChange:Box02:In6
 NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box14:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box16:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box00:BoxChange:Box15:In
+NumberOfControlPoints:0
+CONNECTION
+Box01:BoxChange:Box15:In1
+NumberOfControlPoints:0
+CONNECTION
+Box05:BoxChange:Box15:In2
+NumberOfControlPoints:0
+CONNECTION
+Box06:BoxChange:Box15:In3
+NumberOfControlPoints:0
+CONNECTION
+Box08:BoxChange:Box15:In4
+NumberOfControlPoints:0
+CONNECTION
+Box12:BoxChange:Box15:In5
+NumberOfControlPoints:0
+CONNECTION
+Box15:BoxChange:boxChange:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box15:BoxChange:Box04:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 2a016acab7cf112193103f69e3e1afa0fd913a5a..0d274c563f468eea410d1846fcbf4ca2f048b1d8 100644 (file)
@@ -29,6 +29,7 @@ new CheckBox Box01
   set Box01.Title "Plane control"
 
 new MultipleInputs Box02
+  set Box02.BoxProcessMode "Reactive"
 
 new LayoutLine Box03
   set Box03.WinTitle "Plane flield"
@@ -75,6 +76,14 @@ new ComboBox Box12
 new LayoutLine Box13
   set Box13.Orientation "H"
 
+new ExecSystemCommand Box14
+  set Box14.In "echo mmmmmmmmm"
+
+new SharedMemory Box15
+
+new ExecSystemCommand Box16
+  set Box16.In "echo m2m2m2m2m2m2m2m2m"
+
 
 connect Box00.BoxChange Box02.In1
 connect Box01.BoxChange Box02.In2
@@ -94,12 +103,20 @@ connect Box08.Widget Box13.Widget1
 connect Box12.Widget Box13.Widget2
 connect Box13.Widget Box03.Widget3
 connect Box12.BoxChange Box02.In6
+connect Box02.Out Box14.BoxExecute
+connect Box15.Out Box16.BoxExecute
+connect Box00.BoxChange Box15.In
+connect Box01.BoxChange Box15.In1
+connect Box05.BoxChange Box15.In2
+connect Box06.BoxChange Box15.In3
+connect Box08.BoxChange Box15.In4
+connect Box12.BoxChange Box15.In5
+connect Box15.BoxChange Box04.BoxExecute
 
 # Complex input ports
 input typeFormsStr Box12.In " "
 
 # Complex output ports
-output boxChange Box02.BoxChange " "
 output widget Box04.Widget " "
 output ActivePlaneControl Box01.Out " "
 output AcitiveVector Box05.Out " "
@@ -107,6 +124,7 @@ output Opacity Box07.Out " "
 output ScaleFactor Box09.Out " "
 output Ratio Box00.Out " "
 output typeForm Box12.Out " "
+output boxChange Box15.BoxChange " "
 
 message    
 
index 1cdd5fcf643e34bd1a08898f089aec2bb897ee15..c1e54119776e54764924783612ee232a908c6380 100644 (file)
@@ -13,11 +13,11 @@ PACKAGENAME:creaVtk
 COMPLEXOUTPUTS:2
 COMPLEX_PORT
 Widget
-31.744879:-80.833607:-900.000000
+86.258910:-108.178434:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 boxchange
--35.528815:-81.209254:-900.000000
+-75.932205:-101.708611:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:2
 COMPLEX_PORT
@@ -26,34 +26,26 @@ vtkImageData
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 renderer
--75.535506:88.482773:-900.000000
+-52.117833:88.203991:-900.000000
 FIN_COMPLEX_PORT
-BOXES:7
+BOXES:10
 BOX
 creaVtk:VectorsVisu:Box00
 ISEXEC:FALSE
--22.480697:-47.087073:-900.000000
-23.094303:-57.087073:-900.000000
+-2.817636:-56.941435:-900.000000
+42.757364:-66.941435:-900.000000
 FIN_BOX
 BOX
 creaVtk:PlaneWidget:Box01
 ISEXEC:FALSE
--12.529743:11.732099:-900.000000
-33.045257:1.732099:-900.000000
-FIN_BOX
-BOX
-std:MultipleInputs:Box02
-ISEXEC:FALSE
--67.511455:-19.324707:-900.000000
--21.936455:-29.324707:-900.000000
-PORT
-BoxProcessMode:"Reactive"
+-66.409855:2.022991:-900.000000
+-20.834855:-7.977009:-900.000000
 FIN_BOX
 BOX
 vtk:ProbeFilter:Box03
 ISEXEC:FALSE
--6.518907:-18.136428:-900.000000
-39.056093:-28.136428:-900.000000
+-29.657798:-23.712064:-900.000000
+15.917202:-33.712064:-900.000000
 FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box04
@@ -64,24 +56,50 @@ FIN_BOX
 BOX
 std:MagicBox:Box05
 ISEXEC:FALSE
--69.430784:62.258658:-900.000000
--23.855784:52.258658:-900.000000
+-63.018802:49.434694:-900.000000
+-17.443802:39.434694:-900.000000
 FIN_BOX
 BOX
 creaVtk:PlaneVectorViso_Interface:Box06
 ISEXEC:FALSE
-54.274543:36.839315:-900.000000
-125.449543:26.839315:-900.000000
+53.843860:42.438188:-900.000000
+125.018860:32.438188:-900.000000
 PORT
 typeFormsStr:"Line Arrow"
 FIN_BOX
-CONNECTIONS:20
-CONNECTION
-Box01:BoxChange:Box02:In1
-NumberOfControlPoints:0
-CONNECTION
-Box02:BoxChange:Box00:BoxExecute
-NumberOfControlPoints:0
+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
+-83.750679:-81.617843:-900.000000
+PORT
+Active:"true"
+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
+CONNECTIONS:22
 CONNECTION
 Box03:Out:Box00:In
 NumberOfControlPoints:0
@@ -119,21 +137,33 @@ CONNECTION
 Box06:ScaleFactor:Box00:ScaleFactor
 NumberOfControlPoints:0
 CONNECTION
-Box06:boxChange:Box02:In2
+Box06:widget:Widget:Widget
 NumberOfControlPoints:0
 CONNECTION
-Box06:widget:Widget:Widget
+Box06:Ratio:Box01:Resolution
+NumberOfControlPoints:0
+CONNECTION
+Box06:typeForm:Box00:TypeForm
 NumberOfControlPoints:0
 CONNECTION
-Box02:BoxChange:boxchange:boxchange
+Box06:boxChange:Box11:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box06:Ratio:Box01:Resolution
+Box05:Out:Box13:Renderer
 NumberOfControlPoints:0
 CONNECTION
-Box06:boxChange:Box01:BoxExecute
+Box15:Out:Box14:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box06:typeForm:Box00:TypeForm
+Box15:Out:Box00:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box06:boxChange:Box15:In1
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:boxchange:boxchange
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box13:BoxExecute
 NumberOfControlPoints:0
 APP_END
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    
 
index 4d5719ee6c8c25ce4612bd90c9c2af61758afa2d..0f222d6ffef1db51063952278be48ab060fd2e0b 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg
 # ----------------------------------
 
 APP_START
@@ -32,8 +32,8 @@ BOXES:14
 BOX
 vtk:UpdateRender:Box22
 ISEXEC:FALSE
-168.162416:-18.581651:-900.000000
-213.737416:-28.581651:-900.000000
+112.874685:-20.808003:-900.000000
+158.449685:-30.808003:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -125,7 +125,7 @@ ISEXEC:FALSE
 PORT
 WinTitle:"Vectors"
 FIN_BOX
-CONNECTIONS:29
+CONNECTIONS:31
 CONNECTION
 Box23:BoxChange:Box22:BoxExecute
 NumberOfControlPoints:0
@@ -213,4 +213,10 @@ NumberOfControlPoints:0
 CONNECTION
 Box16:Widget:Box17:Widget2
 NumberOfControlPoints:0
+CONNECTION
+Box41:boxchange:Box14:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box18:boxchange:Box29:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 2664aefa1ccdccc27a63ab75aeed2d4ebf6994a3..ed1605e6669495a3d3d4b9be7734695a16216bee 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs
 # ----------------------------------
 
 include std
@@ -77,6 +77,8 @@ connect Box14.Widget Box29.Widget1
 connect Box30.Widget Box29.Widget2
 connect Box29.Widget Box17.Widget1
 connect Box16.Widget Box17.Widget2
+connect Box41.boxchange Box14.BoxExecute
+connect Box18.boxchange Box29.BoxExecute
 
 # Complex input ports
 input vtkImageData_vectors Box26.In " "
@@ -86,5 +88,6 @@ input vtkRenderer Box28.In " "
 # Complex output ports
 output widget Box17.Widget " "
 
+message    
 
 endefine
index 9c73c413680386a07ec1b8e4fbbb83886bb6797b..26a803421493b95d45c07c15f076b8aea1c3ee7c 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbg
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbg
 # ----------------------------------
 
 APP_START
@@ -20,15 +20,7 @@ COMPLEX_PORT
 vtkRenderer
 128.559783:196.754875:-900.000000
 FIN_COMPLEX_PORT
-BOXES:20
-BOX
-vtk:UpdateRender:Box22
-ISEXEC:FALSE
-181.315672:-15.628879:-900.000000
-226.890672:-25.628879:-900.000000
-PORT
-Active:"true"
-FIN_BOX
+BOXES:22
 BOX
 wx:LayoutTab:Box17
 ISEXEC:FALSE
@@ -40,22 +32,22 @@ FIN_BOX
 BOX
 std:MultipleInputs:Box23
 ISEXEC:FALSE
-127.509061:7.614027:-900.000000
-173.084061:-2.385973:-900.000000
+-129.106090:26.730084:-900.000000
+-83.531090:16.730084:-900.000000
 PORT
 BoxProcessMode:"Reactive"
 FIN_BOX
 BOX
 creaVtk:PlaneVectorVisu_Widget:Box41
 ISEXEC:FALSE
--290.289955:71.849699:-900.000000
--219.114955:61.849699:-900.000000
+-304.120321:76.909589:-900.000000
+-232.945321:66.909589:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box14
 ISEXEC:FALSE
--196.999010:22.014741:-900.000000
--139.439010:12.014741:-900.000000
+-215.889266:25.050675:-900.000000
+-158.329266:15.050675:-900.000000
 PORT
 WinTitle:"Vectors"
 FIN_BOX
@@ -94,8 +86,8 @@ FIN_BOX
 BOX
 std:MagicBox:Box28
 ISEXEC:FALSE
-123.517825:137.982960:-900.000000
-169.092825:127.982960:-900.000000
+65.835079:144.729480:-900.000000
+111.410079:134.729480:-900.000000
 FIN_BOX
 BOX
 wx:FileSelector:Box29
@@ -116,8 +108,8 @@ FIN_BOX
 BOX
 wx:LayoutSplit:Box33
 ISEXEC:FALSE
--183.697264:-49.102380:-900.000000
--138.122264:-59.102380:-900.000000
+-207.984736:-49.102380:-900.000000
+-162.409736:-59.102380:-900.000000
 PORT
 Proportion:"10"
 PORT
@@ -168,15 +160,40 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box39
 ISEXEC:FALSE
--152.256574:-21.900106:-900.000000
--94.696574:-31.900106:-900.000000
+-184.302544:-15.153586:-900.000000
+-126.742544:-25.153586:-900.000000
 PORT
 WinTitle:"Field"
 FIN_BOX
-CONNECTIONS:35
-CONNECTION
-Box23:BoxChange:Box22:BoxExecute
-NumberOfControlPoints:0
+BOX
+std:ExecSystemCommand:Box40
+ISEXEC:FALSE
+-323.301029:21.959844:-900.000000
+-252.126029:11.959844:-900.000000
+PORT
+BoxProcessMode:"Reactive"
+PORT
+In:"echo 000000000000000000"
+FIN_BOX
+BOX
+vtk:UpdateRender:Box42
+ISEXEC:FALSE
+81.692928:-68.365590:-900.000000
+127.267928:-78.365590:-900.000000
+PORT
+Active:"true"
+PORT
+BoxProcessMode:"Reactive"
+FIN_BOX
+BOX
+std:MultipleInputs:Box43
+ISEXEC:FALSE
+37.084054:-44.559557:-900.000000
+82.659054:-54.559557:-900.000000
+PORT
+BoxProcessMode:"Reactive"
+FIN_BOX
+CONNECTIONS:38
 CONNECTION
 Box41:boxchange:Box23:In1
 NumberOfControlPoints:0
@@ -190,30 +207,18 @@ CONNECTION
 Box18:boxchange:Box23:In2
 NumberOfControlPoints:0
 CONNECTION
-Box19:boxchange:Box23:In3
-NumberOfControlPoints:0
-CONNECTION
 Box19:Widget:Box16:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box21:boxchange:Box23:In4
-NumberOfControlPoints:0
-CONNECTION
 Box21:Widget:Box16:Widget1
 NumberOfControlPoints:0
 CONNECTION
-Box30:boxchange:Box23:In5
-NumberOfControlPoints:0
-CONNECTION
 Box17:Widget:widget:widget
 NumberOfControlPoints:0
 CONNECTION
 vtkRenderer:vtkRenderer:Box28:In
 NumberOfControlPoints:0
 CONNECTION
-Box28:Out:Box22:Renderer
-NumberOfControlPoints:0
-CONNECTION
 Box28:Out:Box41:renderer
 NumberOfControlPoints:0
 CONNECTION
@@ -279,4 +284,28 @@ NumberOfControlPoints:0
 CONNECTION
 Box39:Widget:Box33:Widget2
 NumberOfControlPoints:0
+CONNECTION
+Box41:boxchange:Box40:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box43:BoxChange:Box42:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box28:Out:Box42:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box19:boxchange:Box43:In2
+NumberOfControlPoints:0
+CONNECTION
+Box21:boxchange:Box43:In1
+NumberOfControlPoints:0
+CONNECTION
+Box30:boxchange:Box23:In3
+NumberOfControlPoints:0
+CONNECTION
+Box41:boxchange:Box17:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box18:boxchange:Box14:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 290032534200233edeeb0b2712819bedb2eb355f..518c22c7ad30c53e271ff8bdba544755a661ced5 100644 (file)
@@ -1,14 +1,14 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbs
 # ----------------------------------
 
 include std
 include itkvtk
-include vtk
 include wx
 include std
 include creaVtk
+include vtk
 
 define VectorsTensors_manualread_Widget creaVtk
 
@@ -17,9 +17,6 @@ description "Description ??"
 
 category "<VOID>"
 
-new UpdateRender Box22
-  set Box22.Active "true"
-
 new LayoutTab Box17
   set Box17.WinTitle "VectorsTensors Analysis Manual"
 
@@ -73,18 +70,24 @@ new CommandButton Box38
 new LayoutTab Box39
   set Box39.WinTitle "Field"
 
+new ExecSystemCommand Box40
+  set Box40.BoxProcessMode "Reactive"
+  set Box40.In "echo 000000000000000000"
+
+new UpdateRender Box42
+  set Box42.Active "true"
+  set Box42.BoxProcessMode "Reactive"
+
+new MultipleInputs Box43
+  set Box43.BoxProcessMode "Reactive"
+
 
-connect Box23.BoxChange Box22.BoxExecute
 connect Box41.boxchange Box23.In1
 connect Box41.Widget Box14.Widget1
 connect Box18.Widget Box14.Widget2
 connect Box18.boxchange Box23.In2
-connect Box19.boxchange Box23.In3
 connect Box19.Widget Box16.Widget2
-connect Box21.boxchange Box23.In4
 connect Box21.Widget Box16.Widget1
-connect Box30.boxchange Box23.In5
-connect Box28.Out Box22.Renderer
 connect Box28.Out Box41.renderer
 connect Box28.Out Box18.renderer
 connect Box28.Out Box30.Renderer
@@ -107,6 +110,14 @@ connect Box30.Widget Box39.Widget2
 connect Box33.Widget Box17.Widget1
 connect Box14.Widget Box39.Widget1
 connect Box39.Widget Box33.Widget2
+connect Box41.boxchange Box40.BoxExecute
+connect Box43.BoxChange Box42.BoxExecute
+connect Box28.Out Box42.Renderer
+connect Box19.boxchange Box43.In2
+connect Box21.boxchange Box43.In1
+connect Box30.boxchange Box23.In3
+connect Box41.boxchange Box17.BoxExecute
+connect Box18.boxchange Box14.BoxExecute
 
 # Complex input ports
 input vtkRenderer Box28.In " "
@@ -114,5 +125,6 @@ input vtkRenderer Box28.In " "
 # Complex output ports
 output widget Box17.Widget " "
 
+message    
 
 endefine
index c48d51db480c95a203d7d4066dfed7727b6b5318..db07e897e19b4772e912519ee4ca6aed4d247f9c 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg
 # ----------------------------------
 
 APP_START
@@ -17,7 +17,7 @@ boxChange
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 widget
-5.487815:-55.801788:-900.000000
+-7.184086:-56.055226:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 AcitiveVector
@@ -25,11 +25,11 @@ AcitiveVector
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 Opacity
-136.144207:-52.806072:-900.000000
+102.436951:-54.580138:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 ScaleFactor
-170.388604:-54.927407:-900.000000
+161.011397:-55.687721:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 Ratio
@@ -66,22 +66,22 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box03
 ISEXEC:FALSE
-21.964932:17.280930:-900.000000
-79.524932:7.280930:-900.000000
+-4.139184:17.027492:-900.000000
+53.420816:7.027492:-900.000000
 PORT
 WinTitle:"Volume flield"
 FIN_BOX
 BOX
 wx:LayoutTab:Box04
 ISEXEC:FALSE
-1.964247:-8.020677:-900.000000
-47.539247:-18.020677:-900.000000
+-10.200778:-7.513801:-900.000000
+47.359222:-17.513801:-900.000000
 FIN_BOX
 BOX
 wx:CheckBox:Box05
 ISEXEC:FALSE
-76.189077:62.984731:-900.000000
-121.764077:52.984731:-900.000000
+40.200879:64.505359:-900.000000
+85.775879:54.505359:-900.000000
 PORT
 ReactiveOnKeystroke:"true"
 PORT
@@ -90,8 +90,8 @@ FIN_BOX
 BOX
 wx:Slider:Box06
 ISEXEC:FALSE
-133.231853:60.872036:-900.000000
-166.006853:50.872036:-900.000000
+100.791787:62.899540:-900.000000
+152.191787:52.899540:-900.000000
 PORT
 In:"100"
 PORT
@@ -108,16 +108,16 @@ FIN_BOX
 BOX
 std:Div:Box07
 ISEXEC:FALSE
-117.650724:22.843519:-900.000000
-150.425724:12.843519:-900.000000
+97.629121:16.000693:-900.000000
+130.404121:6.000693:-900.000000
 PORT
 In2:"100.0"
 FIN_BOX
 BOX
 wx:Slider:Box08
 ISEXEC:FALSE
-191.649098:61.508736:-900.000000
-224.424098:51.508736:-900.000000
+159.209032:61.762174:-900.000000
+210.609032:51.762174:-900.000000
 PORT
 ChangeResolution:"true"
 PORT
@@ -136,12 +136,12 @@ FIN_BOX
 BOX
 std:Div:Box09
 ISEXEC:FALSE
-173.149288:17.893679:-900.000000
-205.924288:7.893679:-900.000000
+158.956759:16.879927:-900.000000
+191.731759:6.879927:-900.000000
 PORT
 In2:"100.0"
 FIN_BOX
-CONNECTIONS:17
+CONNECTIONS:18
 CONNECTION
 Box00:BoxChange:Box02:In1
 NumberOfControlPoints:0
@@ -193,4 +193,7 @@ NumberOfControlPoints:0
 CONNECTION
 Box00:Out:Ratio:Ratio
 NumberOfControlPoints:0
+CONNECTION
+Box02:BoxChange:Box04:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 44ef4bf0ec988e38b6c7ed7fe95bc19ca4947e41..d23cdd35e61b5975b5b7c6e29416c9e5aeb524f7 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
 # ----------------------------------
 
 include std
@@ -70,6 +70,7 @@ connect Box08.Out Box09.In1
 connect Box06.BoxChange Box02.In4
 connect Box08.BoxChange Box02.In5
 connect Box08.Widget Box03.Widget5
+connect Box02.BoxChange Box04.BoxExecute
 
 # Complex input ports
 
@@ -81,5 +82,6 @@ output Opacity Box07.Out " "
 output ScaleFactor Box09.Out " "
 output Ratio Box00.Out " "
 
+message    
 
 endefine
index d84f6879702720e2f250834be60814a202548223..5e247407a58e9fcd237933551703c058bbde9ad6 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg
 # ----------------------------------
 
 APP_START
@@ -13,48 +13,59 @@ PACKAGENAME:creaVtk
 COMPLEXOUTPUTS:2
 COMPLEX_PORT
 Widget
-34.266253:-81.393912:-900.000000
+116.887046:-78.859532:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 boxchange
--35.528815:-81.209254:-900.000000
+73.449532:-77.914560:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:2
 COMPLEX_PORT
 vtkImageData
-38.028121:89.676762:-900.000000
+-28.119201:88.409572:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 renderer
--75.535506:88.482773:-900.000000
+-102.399936:88.482773:-900.000000
 FIN_COMPLEX_PORT
-BOXES:3
+BOXES:5
 BOX
 creaVtk:VectorsVisu:Box00
 ISEXEC:FALSE
--22.644917:-20.976158:-900.000000
-22.930083:-30.976158:-900.000000
+-34.809942:-4.756125:-900.000000
+10.765058:-14.756125:-900.000000
 FIN_BOX
 BOX
 vtk:MaskPoint:Box07
 ISEXEC:FALSE
-0.328439:16.093520:-900.000000
-45.903439:6.093520:-900.000000
+-33.632255:27.751669:-900.000000
+11.942745:17.751669:-900.000000
 FIN_BOX
 BOX
 creaVtk:VolumeVectorVisu_Interface:Box02
 ISEXEC:FALSE
-24.720743:38.374235:-900.000000
-95.895743:28.374235:-900.000000
+46.516412:57.888962:-900.000000
+117.691412:47.888962:-900.000000
 FIN_BOX
-CONNECTIONS:11
+BOX
+vtk:UpdateRender:Box03
+ISEXEC:FALSE
+-16.726909:-47.773066:-900.000000
+28.848091:-57.773066:-900.000000
+PORT
+Active:"true"
+FIN_BOX
+BOX
+std:MagicBox:Box04
+ISEXEC:FALSE
+-109.738661:31.553033:-900.000000
+-64.163661:21.553033:-900.000000
+FIN_BOX
+CONNECTIONS:14
 CONNECTION
 Box07:Out:Box00:In
 NumberOfControlPoints:0
 CONNECTION
-renderer:renderer:Box00:Renderer
-NumberOfControlPoints:0
-CONNECTION
 vtkImageData:vtkImageData:Box07:In
 NumberOfControlPoints:0
 CONNECTION
@@ -81,4 +92,16 @@ NumberOfControlPoints:0
 CONNECTION
 Box02:boxChange:Box00:BoxExecute
 NumberOfControlPoints:0
+CONNECTION
+renderer:renderer:Box04:In
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box00:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box03:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box02:boxChange:Box03:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 255787c115c06d382d75427b2b77787fd6d2139c..3c1e1d49f859f96110e3a5c78079ba13cacdc98c 100644 (file)
@@ -1,12 +1,13 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs
 # ----------------------------------
 
 include std
 include itkvtk
 include creaVtk
 include vtk
+include std
 
 define VolumeVectorVisu_Widget creaVtk
 
@@ -21,6 +22,11 @@ new MaskPoint Box07
 
 new VolumeVectorVisu_Interface Box02
 
+new UpdateRender Box03
+  set Box03.Active "true"
+
+new MagicBox Box04
+
 
 connect Box07.Out Box00.In
 connect Box02.AcitiveVector Box00.Active
@@ -29,14 +35,18 @@ connect Box02.Ratio Box07.Ratio
 connect Box02.ScaleFactor Box00.ScaleFactor
 connect Box02.boxChange Box07.BoxExecute
 connect Box02.boxChange Box00.BoxExecute
+connect Box04.Out Box00.Renderer
+connect Box04.Out Box03.Renderer
+connect Box02.boxChange Box03.BoxExecute
 
 # Complex input ports
-input renderer Box00.Renderer " "
 input vtkImageData Box07.In " "
+input renderer Box04.In " "
 
 # Complex output ports
 output boxchange Box02.boxChange " "
 output Widget Box02.widget " "
 
+message    
 
 endefine
index 3f61eca110f4d0a60bef06124f17410a59fdea40..d05e1a75a642f175fa8382711b62d676ad2d01a8 100644 (file)
@@ -3,6 +3,9 @@
 //===== 
 #include "bbcreaVtkTensorsVisu.h"
 #include "bbcreaVtkPackage.h"
+
+
+
 namespace bbcreaVtk
 {
 
@@ -26,6 +29,9 @@ void TensorsVisu::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
+
+printf("EED TensorsVisu::Process() Start\n");
+
      tensorsvisu.SetActive( bbGetInputActive() );
      tensorsvisu.SetDataObject( bbGetInputIn() );
      tensorsvisu.SetScaleFactor( bbGetInputScaleFactor() );
@@ -34,6 +40,8 @@ void TensorsVisu::Process()
      tensorsvisu.SetTypeForm( bbGetInputTypeForm() );
      tensorsvisu.Process();
      bbSetOutputOut( tensorsvisu.GetProp3D() );
+printf("EED TensorsVisu::Process() End\n");
+
 }
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
index 046b0a5bbd5c35bf1bf1342175c7b54da34b7d7b..7f6fe1584f133499c230ca9d2ca550bebccbcc73 100644 (file)
@@ -52,10 +52,8 @@ void vtkTensorsVisu::Process()
 {
 printf("EED vtkTensorsVisu::Process Start\n");
 
-
   if (_active==true)
   {
-
        if(GetTypeForm()==2)                                                            // source superquadratic
        {
                superquadratic->SetThetaResolution(20);
@@ -148,10 +146,9 @@ printf("EED vtkTensorsVisu::Process Start\n");
 //EED  _pdm->Update(); 
 
 
-
-                       tg->Print( std::cout );
-               printf("EED vtkTensorsVisu::Process  ------------------------------------------\n");
-                       pd->Print( std::cout );
+//EED1                 tg->Print( std::cout );
+//EED1         printf("EED vtkTensorsVisu::Process  ------------------------------------------\n");
+//EED1                 pd->Print( std::cout );
 
 
        tg->Update();
@@ -159,8 +156,8 @@ printf("EED vtkTensorsVisu::Process Start\n");
                        vtkPointData    *pointdata      = pd->GetPointData();
 
 
-               printf("EED vtkTensorsVisu::Process  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx\n");
-                       pointdata->Print( std::cout );
+//EED1         printf("EED vtkTensorsVisu::Process  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx\n");
+//EED1                 pointdata->Print( std::cout );
                        
 
                        int aa = pd->GetNumberOfPieces ();