From: Eduardo DAVILA Date: Wed, 23 Aug 2017 16:42:37 +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=eff29b10423eaa0e5ea516f5f3cdcf2d2110fbb9;p=creaVtk.git #3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7 --- diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbg b/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbg new file mode 100644 index 0000000..10e8dfc --- /dev/null +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbg @@ -0,0 +1,81 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:FALSE +COMPLEXINPUTS:0 +BOXES:6 +BOX +creaMaracasVisu:ViewerNV:Box00 +ISEXEC:FALSE +-8.566544:0.601161:-900.000000 +55.153456:-9.398839:-900.000000 +PORT +nTypeView:"0" +FIN_BOX +BOX +wx:LayoutSplit:Box01 +ISEXEC:TRUE +-32.913565:-26.150504:-900.000000 +6.166435:-36.150504:-900.000000 +PORT +Proportion:"90" +FIN_BOX +BOX +wx:Slider:Box02 +ISEXEC:FALSE +-66.879162:48.994622:-900.000000 +-15.479162:38.994622:-900.000000 +PORT +Max:"100" +PORT +ReactiveOnTrack:"true" +FIN_BOX +BOX +creaVtk:ReadMHDPlane:Box03 +ISEXEC:FALSE +14.878735:35.468499:-900.000000 +56.228735:25.468499:-900.000000 +FIN_BOX +BOX +std:Configuration:Box04 +ISEXEC:FALSE +13.676413:79.052673:-900.000000 +53.101413:69.052673:-900.000000 +FIN_BOX +BOX +std:ConcatStrings:Box05 +ISEXEC:FALSE +17.884540:64.023647:-900.000000 +57.609540:54.023647:-900.000000 +PORT +In2:"/vtk/hola.mhd" +FIN_BOX +CONNECTIONS:7 +CONNECTION +Box02:Out:Box03:Slice +NumberOfControlPoints:0 +CONNECTION +Box04:DataPath:Box05:In1 +NumberOfControlPoints:0 +CONNECTION +Box05:Out:Box03:FileName +NumberOfControlPoints:0 +CONNECTION +Box03:Out:Box00:In +NumberOfControlPoints:0 +CONNECTION +Box02:BoxChange:Box00:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box02:Widget:Box01:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box00:Widget:Box01:Widget1 +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs new file mode 100644 index 0000000..ad2f2f2 --- /dev/null +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs @@ -0,0 +1,55 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs +# ---------------------------------- + +# BBTK GEditor Script +# ---------------------- + +include std +include itkvtk +include creaMaracasVisu +include wx +include creaVtk +include std + +author "Author ??" +description "Description ??" +category "" + +new creaMaracasVisu:ViewerNV Box00 + set Box00.nTypeView "0" + +new wx:LayoutSplit Box01 + set Box01.Proportion "90" + +new wx:Slider Box02 + set Box02.Max "100" + set Box02.ReactiveOnTrack "true" + +new creaVtk:ReadMHDPlane Box03 + +new std:Configuration Box04 + +new std:ConcatStrings Box05 + set Box05.In2 "/vtk/hola.mhd" + + +connect Box02.Out Box03.Slice + +connect Box04.DataPath Box05.In1 + +connect Box05.Out Box03.FileName + +connect Box03.Out Box00.In + +connect Box02.BoxChange Box00.BoxExecute + +connect Box02.Widget Box01.Widget2 + +connect Box00.Widget Box01.Widget1 + + + +# Complex input ports +exec Box01 diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbg b/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbg new file mode 100644 index 0000000..1ef5815 --- /dev/null +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbg @@ -0,0 +1,79 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:FALSE +COMPLEXINPUTS:0 +BOXES:7 +BOX +creaMaracasVisu:ViewerNV:Box08 +ISEXEC:FALSE +-15.472539:38.268312:-900.000000 +48.247461:28.268312:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box11 +ISEXEC:FALSE +-24.882195:-44.560996:-900.000000 +32.677805:-54.560996:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box12 +ISEXEC:FALSE +-96.127109:-41.150430:-900.000000 +-38.567109:-51.150430:-900.000000 +FIN_BOX +BOX +wx:LayoutSplit:Box14 +ISEXEC:TRUE +-68.058386:-81.387986:-900.000000 +-28.978386:-91.387986:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +creaVtk:ScalarBarActor:Box16 +ISEXEC:FALSE +-72.813427:0.996827:-900.000000 +-31.988427:-9.003173:-900.000000 +FIN_BOX +BOX +vtk:LoadHola:Box17 +ISEXEC:FALSE +-11.470404:66.518676:-900.000000 +24.079596:56.518676:-900.000000 +FIN_BOX +BOX +creaVtk:ScalarsToColors:Box18 +ISEXEC:FALSE +-74.307159:39.659436:-900.000000 +-32.782159:29.659436:-900.000000 +FIN_BOX +CONNECTIONS:7 +CONNECTION +Box08:Widget:Box11:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box12:Widget:Box14:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box14:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box17:Out:Box08:In +NumberOfControlPoints:0 +CONNECTION +Box08:Renderer1:Box16:Renderer +NumberOfControlPoints:0 +CONNECTION +Box18:LookupTable:Box16:LookupTable +NumberOfControlPoints:0 +CONNECTION +Box16:BoxChange:Box12:BoxExecute +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbs new file mode 100644 index 0000000..1bf1fa4 --- /dev/null +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbs @@ -0,0 +1,53 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleScalarsBarActor_ScalarsToColors.bbs +# ---------------------------------- + +# BBTK GEditor Script +# ---------------------- + +include std +include itkvtk +include creaMaracasVisu +include wx +include creaVtk +include vtk + +author "Author ??" +description "Description ??" +category "" + +new creaMaracasVisu:ViewerNV Box08 + +new wx:LayoutLine Box11 + +new wx:LayoutLine Box12 + +new wx:LayoutSplit Box14 + set Box14.Orientation "H" + +new creaVtk:ScalarBarActor Box16 + +new vtk:LoadHola Box17 + +new creaVtk:ScalarsToColors Box18 + + +connect Box08.Widget Box11.Widget1 + +connect Box12.Widget Box14.Widget1 + +connect Box11.Widget Box14.Widget2 + +connect Box17.Out Box08.In + +connect Box08.Renderer1 Box16.Renderer + +connect Box18.LookupTable Box16.LookupTable + +connect Box16.BoxChange Box12.BoxExecute + + + +# Complex input ports +exec Box14