From: Eduardo DAVILA Date: Mon, 21 Aug 2017 14:28:31 +0000 (+0200) Subject: #3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b96d51834755b248c7faf57e9864804b826e00ac;p=creaVtk.git #3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7 --- diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbg b/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbg index 22a99c2..53b9fec 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbg +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbg +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbg # ---------------------------------- APP_START @@ -9,12 +9,12 @@ DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE COMPLEXINPUTS:0 -BOXES:12 +BOXES:14 BOX creaMaracasVisu:ViewerNV:Box03 ISEXEC:FALSE 27.598176:-3.687687:-900.000000 -88.238176:-13.687687:-900.000000 +91.318176:-13.687687:-900.000000 PORT nTypeView:"5" FIN_BOX @@ -22,7 +22,7 @@ BOX wx:LayoutSplit:Box05 ISEXEC:TRUE 20.586047:-67.968368:-900.000000 -66.161047:-77.968368:-900.000000 +59.666047:-77.968368:-900.000000 PORT Proportion:"10" FIN_BOX @@ -30,19 +30,19 @@ BOX wx:FileSelector:Box06 ISEXEC:FALSE -79.676950:57.942181:-900.000000 --34.101950:47.942181:-900.000000 +-42.301950:47.942181:-900.000000 FIN_BOX BOX vtk:LoadHola:Box07 ISEXEC:FALSE 68.757525:22.245082:-900.000000 -114.332525:12.245082:-900.000000 +104.307525:12.245082:-900.000000 FIN_BOX BOX vtk:StructuredPointsReader:Box08 ISEXEC:FALSE -77.857785:27.419739:-900.000000 --6.682785:17.419739:-900.000000 +-29.157785:17.419739:-900.000000 PORT In:"/home/davila/Creatis/creaVtk/data/Tensors.vtk" FIN_BOX @@ -50,17 +50,17 @@ BOX creaVtk:TensorsVisu:Box09 ISEXEC:FALSE -44.769242:-85.189889:-900.000000 -0.805758:-95.189889:-900.000000 +-7.494242:-95.189889:-900.000000 PORT Active:"true" PORT -ScaleFactor:"1000" +ScaleFactor:"1" FIN_BOX BOX creaVtk:PlaneWidget:Box10 ISEXEC:FALSE --29.723943:-18.957230:-900.000000 -15.851057:-28.957230:-900.000000 +-27.619879:-20.159552:-900.000000 +10.905121:-30.159552:-900.000000 PORT Resolution:"30" FIN_BOX @@ -68,33 +68,47 @@ BOX wx:CheckBox:Box11 ISEXEC:FALSE -24.728663:7.325304:-900.000000 -20.846337:-2.674696:-900.000000 +11.596337:-2.674696:-900.000000 FIN_BOX BOX vtk:ProbeFilter:Box12 ISEXEC:FALSE -77.064820:-49.613778:-900.000000 --31.489820:-59.613778:-900.000000 +-40.664820:-59.613778:-900.000000 FIN_BOX BOX std:MagicBox:Box13 ISEXEC:FALSE -82.283365:-10.718419:-900.000000 --36.708365:-20.718419:-900.000000 +-46.208365:-20.718419:-900.000000 FIN_BOX BOX std:MagicBox:Box14 ISEXEC:FALSE -84.428272:-63.543396:-900.000000 --38.853272:-73.543396:-900.000000 +-48.353272:-73.543396:-900.000000 FIN_BOX BOX std:MagicBox:Box15 ISEXEC:FALSE -29.807925:-37.290341:-900.000000 -15.767075:-47.290341:-900.000000 +6.267075:-47.290341:-900.000000 FIN_BOX -CONNECTIONS:15 +BOX +std:Configuration:Box16 +ISEXEC:FALSE +-26.300794:65.827130:-900.000000 +13.124206:55.827130:-900.000000 +FIN_BOX +BOX +std:ConcatStrings:Box17 +ISEXEC:FALSE +-30.208341:45.688237:-900.000000 +9.516659:35.688237:-900.000000 +PORT +In2:"/creaVtk/Tensors.vtk" +FIN_BOX +CONNECTIONS:17 CONNECTION Box03:Widget:Box05:Widget2 NumberOfControlPoints:0 @@ -105,9 +119,6 @@ CONNECTION Box03:Renderer1:Box09:Renderer NumberOfControlPoints:0 CONNECTION -Box07:Out:Box10:In -NumberOfControlPoints:0 -CONNECTION Box03:Renderer1:Box10:Renderer NumberOfControlPoints:0 CONNECTION @@ -140,4 +151,13 @@ NumberOfControlPoints:0 CONNECTION Box15:Out:Box12:Input NumberOfControlPoints:0 +CONNECTION +Box17:Out:Box08:In +NumberOfControlPoints:0 +CONNECTION +Box16:DataPath:Box17:In1 +NumberOfControlPoints:0 +CONNECTION +Box08:Out:Box10:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbs index 6a7ba04..56cb810 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbs +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleProbeFilter_tensors.bbs # ---------------------------------- # BBTK GEditor Script @@ -18,35 +18,40 @@ author "Author ??" description "Description ??" category "" -new ViewerNV Box03 +new creaMaracasVisu:ViewerNV Box03 set Box03.nTypeView "5" -new LayoutSplit Box05 +new wx:LayoutSplit Box05 set Box05.Proportion "10" -new FileSelector Box06 +new wx:FileSelector Box06 -new LoadHola Box07 +new vtk:LoadHola Box07 -new StructuredPointsReader Box08 +new vtk:StructuredPointsReader Box08 set Box08.In "/home/davila/Creatis/creaVtk/data/Tensors.vtk" -new TensorsVisu Box09 +new creaVtk:TensorsVisu Box09 set Box09.Active "true" - set Box09.ScaleFactor "1000" + set Box09.ScaleFactor "1" -new PlaneWidget Box10 +new creaVtk:PlaneWidget Box10 set Box10.Resolution "30" -new CheckBox Box11 +new wx:CheckBox Box11 -new ProbeFilter Box12 +new vtk:ProbeFilter Box12 -new MagicBox Box13 +new std:MagicBox Box13 -new MagicBox Box14 +new std:MagicBox Box14 -new MagicBox Box15 +new std:MagicBox Box15 + +new std:Configuration Box16 + +new std:ConcatStrings Box17 + set Box17.In2 "/creaVtk/Tensors.vtk" connect Box03.Widget Box05.Widget2 @@ -55,8 +60,6 @@ connect Box07.Out Box03.In connect Box03.Renderer1 Box09.Renderer -connect Box07.Out Box10.In - connect Box03.Renderer1 Box10.Renderer connect Box10.BoxChange Box09.BoxExecute @@ -79,6 +82,12 @@ connect Box10.Out Box15.In connect Box15.Out Box12.Input +connect Box17.Out Box08.In + +connect Box16.DataPath Box17.In1 + +connect Box08.Out Box10.In + # Complex input ports diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbg b/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbg index dd01e2b..54479cc 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbg +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbg +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbg # ---------------------------------- APP_START @@ -9,7 +9,7 @@ DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE COMPLEXINPUTS:0 -BOXES:11 +BOXES:10 BOX vtk:MaskPoint:Box01 ISEXEC:FALSE @@ -45,8 +45,8 @@ FIN_BOX BOX wx:FileSelector:Box06 ISEXEC:FALSE --78.601104:56.059450:-900.000000 --41.226104:46.059450:-900.000000 +-79.676950:57.942181:-900.000000 +-42.301950:47.942181:-900.000000 FIN_BOX BOX vtk:LoadHola:Box07 @@ -70,29 +70,23 @@ ISEXEC:FALSE PORT Active:"true" PORT -ScaleFactor:"1000" +ScaleFactor:"1" FIN_BOX BOX std:Configuration:Box10 ISEXEC:FALSE --22.323806:72.216167:-900.000000 -17.101194:62.216167:-900.000000 +-21.942377:61.919584:-900.000000 +17.482623:51.919584:-900.000000 FIN_BOX BOX std:ConcatStrings:Box11 ISEXEC:FALSE --29.585767:55.002630:-900.000000 -10.139233:45.002630:-900.000000 +-22.844118:39.376046:-900.000000 +16.880882:29.376046:-900.000000 PORT -In3:"/creaVtk/Tensors.vtk" +In2:"/creaVtk/Tensors.vtk" FIN_BOX -BOX -wx:OutputText:Box12 -ISEXEC:TRUE --12.103268:34.561555:-900.000000 -24.671732:24.561555:-900.000000 -FIN_BOX -CONNECTIONS:10 +CONNECTIONS:9 CONNECTION Box03:Widget:Box05:Widget2 NumberOfControlPoints:0 @@ -120,7 +114,4 @@ NumberOfControlPoints:0 CONNECTION Box11:Out:Box08:In NumberOfControlPoints:0 -CONNECTION -Box11:Out:Box12:In -NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs index 3118f90..9579c58 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs # ---------------------------------- # BBTK GEditor Script @@ -39,14 +39,12 @@ new vtk:StructuredPointsReader Box08 new creaVtk:TensorsVisu Box09 set Box09.Active "true" - set Box09.ScaleFactor "1000" + set Box09.ScaleFactor "1" new std:Configuration Box10 new std:ConcatStrings Box11 - set Box11.In3 "/creaVtk/Tensors.vtk" - -new wx:OutputText Box12 + set Box11.In2 "/creaVtk/Tensors.vtk" connect Box03.Widget Box05.Widget2 @@ -67,10 +65,7 @@ connect Box10.DataPath Box11.In1 connect Box11.Out Box08.In -connect Box11.Out Box12.In - # Complex input ports exec Box05 -exec Box12 diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbg b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbg index f8f2435..ea59ce2 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbg +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbg +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbg # ---------------------------------- APP_START @@ -9,12 +9,12 @@ DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE COMPLEXINPUTS:0 -BOXES:22 +BOXES:25 BOX vtk:ProbeFilter:Box02 ISEXEC:FALSE -72.827186:46.485275:-900.000000 --27.252186:36.485275:-900.000000 +-36.427186:36.485275:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX @@ -22,7 +22,7 @@ BOX creaMaracasVisu:ViewerNV:Box03 ISEXEC:FALSE 100.754389:107.101567:-900.000000 -161.394389:97.101567:-900.000000 +164.474389:97.101567:-900.000000 PORT nTypeView:"5" FIN_BOX @@ -30,7 +30,7 @@ BOX wx:LayoutSplit:Box05 ISEXEC:TRUE 93.773391:-155.982170:-900.000000 -139.348391:-165.982170:-900.000000 +132.853391:-165.982170:-900.000000 PORT Orientation:"H" FIN_BOX @@ -38,13 +38,13 @@ BOX vtk:LoadHola:Box09 ISEXEC:FALSE 153.098742:161.145048:-900.000000 -198.673742:151.145048:-900.000000 +188.648742:151.145048:-900.000000 FIN_BOX BOX vtk:StructuredPointsReader:Box10 ISEXEC:FALSE 77.275714:159.302494:-900.000000 -148.450714:149.302494:-900.000000 +125.975714:149.302494:-900.000000 PORT In:"/home/davila/Creatis/creaVtk/data/Vectors.vtk" FIN_BOX @@ -52,7 +52,7 @@ BOX vtk:UpdateRender:Box22 ISEXEC:FALSE 57.580543:-82.265335:-900.000000 -103.155543:-92.265335:-900.000000 +97.905543:-92.265335:-900.000000 PORT Active:"true" FIN_BOX @@ -82,7 +82,7 @@ BOX vtk:MaskPoint:Box20 ISEXEC:FALSE 202.746122:43.877665:-900.000000 -248.321122:33.877665:-900.000000 +238.896122:33.877665:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX @@ -90,7 +90,7 @@ BOX std:MultipleInputs:Box23 ISEXEC:FALSE 77.740897:-58.895166:-900.000000 -123.315897:-68.895166:-900.000000 +117.440897:-68.895166:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX @@ -98,31 +98,31 @@ BOX vtk:MaskPoints_Interface:Box26 ISEXEC:FALSE 196.880728:81.972510:-900.000000 -268.055728:71.972510:-900.000000 +243.605728:71.972510:-900.000000 FIN_BOX BOX creaVtk:VectorsVisu_Widget:Box28 ISEXEC:FALSE 192.922416:25.437003:-900.000000 -238.497416:15.437003:-900.000000 +238.347416:15.437003:-900.000000 FIN_BOX BOX creaVtk:VectorsVisu_Widget:Box29 ISEXEC:FALSE -70.109941:26.627454:-900.000000 --24.534941:16.627454:-900.000000 +-24.684941:16.627454:-900.000000 FIN_BOX BOX creaVtk:PlaneWidget_Widget:Box30 ISEXEC:FALSE -122.569978:109.259211:-900.000000 --51.394978:99.259211:-900.000000 +-76.244978:99.259211:-900.000000 FIN_BOX BOX vtk:StructuredPointsReader:Box31 ISEXEC:FALSE -26.958110:153.790191:-900.000000 -44.216890:143.790191:-900.000000 +21.741890:143.790191:-900.000000 PORT In:"/home/davila/Creatis/creaVtk/data/Tensors.vtk" FIN_BOX @@ -130,7 +130,7 @@ BOX vtk:ProbeFilter:Box32 ISEXEC:FALSE -1.580734:47.184663:-900.000000 -43.994266:37.184663:-900.000000 +34.819266:37.184663:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX @@ -138,7 +138,7 @@ BOX creaVtk:TensorsVisu_Wideget:Box33 ISEXEC:FALSE -3.481701:19.788307:-900.000000 -67.693299:9.788307:-900.000000 +42.868299:9.788307:-900.000000 FIN_BOX BOX wx:LayoutTab:Box36 @@ -150,13 +150,13 @@ BOX creaVtk:TensorsVisu_Wideget:Box37 ISEXEC:FALSE 201.537958:-19.000913:-900.000000 -272.712958:-29.000913:-900.000000 +247.887958:-29.000913:-900.000000 FIN_BOX BOX vtk:MaskPoint:Box38 ISEXEC:FALSE 211.630192:-3.346943:-900.000000 -257.205192:-13.346943:-900.000000 +247.780192:-13.346943:-900.000000 FIN_BOX BOX wx:LayoutTab:Box39 @@ -164,7 +164,29 @@ ISEXEC:FALSE 161.271124:-70.566315:-900.000000 218.831124:-80.566315:-900.000000 FIN_BOX -CONNECTIONS:41 +BOX +std:Configuration:Box40 +ISEXEC:FALSE +-6.709461:207.169332:-900.000000 +32.715539:197.169332:-900.000000 +FIN_BOX +BOX +std:ConcatStrings:Box41 +ISEXEC:FALSE +-20.599223:183.862782:-900.000000 +19.125777:173.862782:-900.000000 +PORT +In2:"/creaVtk/Tensors.vtk" +FIN_BOX +BOX +std:ConcatStrings:Box42 +ISEXEC:FALSE +30.947016:185.735466:-900.000000 +70.672016:175.735466:-900.000000 +PORT +In2:"/creaVtk/Vectors.vtk" +FIN_BOX +CONNECTIONS:45 CONNECTION Box03:Widget:Box05:Widget2 NumberOfControlPoints:0 @@ -288,4 +310,16 @@ NumberOfControlPoints:0 CONNECTION Box39:Widget:Box19:Widget2 NumberOfControlPoints:0 +CONNECTION +Box40:DataPath:Box41:In1 +NumberOfControlPoints:0 +CONNECTION +Box40:DataPath:Box42:In1 +NumberOfControlPoints:0 +CONNECTION +Box41:Out:Box31:In +NumberOfControlPoints:0 +CONNECTION +Box42:Out:Box10:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbs index 1ea7e57..37abe99 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbs +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsTensorsVisu.bbs # ---------------------------------- # BBTK GEditor Script @@ -18,60 +18,68 @@ author "Author ??" description "Description ??" category "" -new ProbeFilter Box02 +new vtk:ProbeFilter Box02 set Box02.BoxProcessMode "Reactive" -new ViewerNV Box03 +new creaMaracasVisu:ViewerNV Box03 set Box03.nTypeView "5" -new LayoutSplit Box05 +new wx:LayoutSplit Box05 set Box05.Orientation "H" -new LoadHola Box09 +new vtk:LoadHola Box09 -new StructuredPointsReader Box10 +new vtk:StructuredPointsReader Box10 set Box10.In "/home/davila/Creatis/creaVtk/data/Vectors.vtk" -new UpdateRender Box22 +new vtk:UpdateRender Box22 set Box22.Active "true" -new LayoutLine Box15 +new wx:LayoutLine Box15 set Box15.WinTitle "Plane" -new LayoutTab Box17 +new wx:LayoutTab Box17 -new LayoutLine Box19 +new wx:LayoutLine Box19 set Box19.WinTitle "Volume" -new MaskPoint Box20 +new vtk:MaskPoint Box20 set Box20.BoxProcessMode "Reactive" -new MultipleInputs Box23 +new std:MultipleInputs Box23 set Box23.BoxProcessMode "Reactive" -new MaskPoints_Interface Box26 +new vtk:MaskPoints_Interface Box26 -new VectorsVisu_Widget Box28 +new creaVtk:VectorsVisu_Widget Box28 -new VectorsVisu_Widget Box29 +new creaVtk:VectorsVisu_Widget Box29 -new PlaneWidget_Widget Box30 +new creaVtk:PlaneWidget_Widget Box30 -new StructuredPointsReader Box31 +new vtk:StructuredPointsReader Box31 set Box31.In "/home/davila/Creatis/creaVtk/data/Tensors.vtk" -new ProbeFilter Box32 +new vtk:ProbeFilter Box32 set Box32.BoxProcessMode "Reactive" -new TensorsVisu_Wideget Box33 +new creaVtk:TensorsVisu_Wideget Box33 -new LayoutTab Box36 +new wx:LayoutTab Box36 -new TensorsVisu_Wideget Box37 +new creaVtk:TensorsVisu_Wideget Box37 -new MaskPoint Box38 +new vtk:MaskPoint Box38 -new LayoutTab Box39 +new wx:LayoutTab Box39 + +new std:Configuration Box40 + +new std:ConcatStrings Box41 + set Box41.In2 "/creaVtk/Tensors.vtk" + +new std:ConcatStrings Box42 + set Box42.In2 "/creaVtk/Vectors.vtk" connect Box03.Widget Box05.Widget2 @@ -156,6 +164,14 @@ connect Box28.Widget Box39.Widget1 connect Box39.Widget Box19.Widget2 +connect Box40.DataPath Box41.In1 + +connect Box40.DataPath Box42.In1 + +connect Box41.Out Box31.In + +connect Box42.Out Box10.In + # Complex input ports diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbg b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbg index f85616b..6fd4c3b 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbg +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbg +# - /tmpEED/creaTools2/ci/bin/../share/bbtk/bbs/creaVtk/appli/exampleVectorsVisu.bbg # ---------------------------------- APP_START @@ -16,7 +16,7 @@ ISEXEC:FALSE -87.126923:-1.070619:-900.000000 -50.976923:-11.070619:-900.000000 PORT -Ratio:"1" +Ratio:"30" FIN_BOX BOX creaVtk:VectorsVisu:Box02 @@ -24,7 +24,9 @@ ISEXEC:FALSE -38.604946:-35.505673:-900.000000 -0.979946:-45.505673:-900.000000 PORT -ScaleFactor:"100" +Active:"true" +PORT +ScaleFactor:"1" FIN_BOX BOX creaMaracasVisu:ViewerNV:Box03 @@ -46,7 +48,7 @@ BOX wx:LayoutSplit:Box05 ISEXEC:TRUE 20.586047:-67.968368:-900.000000 -59.666047:-77.968368:-900.000000 +57.261047:-77.968368:-900.000000 PORT Proportion:"10" FIN_BOX @@ -65,8 +67,8 @@ FIN_BOX BOX vtk:StructuredPointsReader:Box08 ISEXEC:FALSE --77.679349:22.958827:-900.000000 --28.979349:12.958827:-900.000000 +-65.776361:20.644357:-900.000000 +-17.076361:10.644357:-900.000000 PORT In:"/home/davila/Creatis/creaVtk/data/Vectors.vtk" FIN_BOX diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbs index 0b0627a..c9a9ad2 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsVisu.bbs +# - /tmpEED/creaTools2/ci/bin/../share/bbtk/bbs/creaVtk/appli/exampleVectorsVisu.bbs # ---------------------------------- # BBTK GEditor Script @@ -19,10 +19,11 @@ description "Description ??" category "" new vtk:MaskPoint Box01 - set Box01.Ratio "1" + set Box01.Ratio "30" new creaVtk:VectorsVisu Box02 - set Box02.ScaleFactor "100" + set Box02.Active "true" + set Box02.ScaleFactor "1" new creaMaracasVisu:ViewerNV Box03 set Box03.nTypeView "5" diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx index 15c8e5c..bab4780 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx @@ -30,19 +30,14 @@ void TensorsVisu::Process() // (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() ); tensorsvisu.SetOpacity( bbGetInputOpacity() ); tensorsvisu.SetRenderer( bbGetInputRenderer() ); tensorsvisu.SetTypeForm( bbGetInputTypeForm() ); -printf("EED TensorsVisu::Process() 1\n"); tensorsvisu.Process(); -printf("EED TensorsVisu::Process() 2\n"); bbSetOutputOut( tensorsvisu.GetProp3D() ); -printf("EED TensorsVisu::Process() End\n"); } //===== diff --git a/lib/creaVtk/vtkVectorsVisu.cpp b/lib/creaVtk/vtkVectorsVisu.cpp index 45276a5..184bd0f 100644 --- a/lib/creaVtk/vtkVectorsVisu.cpp +++ b/lib/creaVtk/vtkVectorsVisu.cpp @@ -100,8 +100,6 @@ printf("EED vtkVectorsVisu::Process sizeDa %d \n", sizeDa ); for (i=0;iGetArrayName(i) ); - data->GetArray(i)->Print(std::cout); - printf("EED -------------------------------------------\n"); } //EED _pdm->SetScalarRange( range );