From 61407dcf54de258acdded2cd0effca9fca9e59f2 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 26 Mar 2014 10:04:44 +0100 Subject: [PATCH] 2345 creaMaracasVisu Feature New Normal Ruler01XY --- bbtk/bbs/appli/exampleRuler01_XY.bbg | 87 ++++++++++++++++++++++++++++ bbtk/bbs/appli/exampleRuler01_XY.bbs | 58 +++++++++++++++++++ 2 files changed, 145 insertions(+) create mode 100644 bbtk/bbs/appli/exampleRuler01_XY.bbg create mode 100644 bbtk/bbs/appli/exampleRuler01_XY.bbs diff --git a/bbtk/bbs/appli/exampleRuler01_XY.bbg b/bbtk/bbs/appli/exampleRuler01_XY.bbg new file mode 100644 index 0000000..0617387 --- /dev/null +++ b/bbtk/bbs/appli/exampleRuler01_XY.bbg @@ -0,0 +1,87 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleRuler01_XY.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:FALSE +COMPLEXINPUTS:0 +BOXES:7 +BOX +creaMaracasVisu:ViewerNV:Box01 +ISEXEC:FALSE +50.383173:32.032968:-900.000000 +111.023173:22.032968:-900.000000 +FIN_BOX +BOX +vtk:LoadHola:Box02 +ISEXEC:FALSE +22.231304:70.181477:-900.000000 +67.806304:60.181477:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box04 +ISEXEC:FALSE +-17.670654:-30.060089:-900.000000 +39.889346:-40.060089:-900.000000 +FIN_BOX +BOX +wx:LayoutSplit:Box05 +ISEXEC:TRUE +78.616470:-67.713286:-900.000000 +124.191470:-77.713286:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +itk:ImageReader:Box06 +ISEXEC:FALSE +-35.424377:73.221521:-900.000000 +10.150623:63.221521:-900.000000 +PORT +In:"/tmpEED/tmpIulia/coeur_t1_VGpost_z1_pag0001_USHORT_spc-tmpEED.mhd" +FIN_BOX +BOX +vtk:vtkImageDataPointerRelay:Box07 +ISEXEC:FALSE +-2.184398:50.126177:-900.000000 +68.990602:40.126177:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:Ruler01_XY_Widget:Box09 +ISEXEC:FALSE +39.925354:-6.480031:-900.000000 +85.500354:-16.480031:-900.000000 +FIN_BOX +CONNECTIONS:9 +CONNECTION +Box04:Widget:Box05:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box01:Widget:Box05:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box07:Out:Box01:In +NumberOfControlPoints:0 +CONNECTION +Box07:Out:Box09:Image +NumberOfControlPoints:0 +CONNECTION +Box01:BoxChange:Box09:BoxExecuteRulerInterface +NumberOfControlPoints:0 +CONNECTION +Box01:Point:Box09:Point +NumberOfControlPoints:0 +CONNECTION +Box01:Renderer4:Box09:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +Box09:Widget:Box04:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box02:Out:Box07:In +NumberOfControlPoints:0 +APP_END diff --git a/bbtk/bbs/appli/exampleRuler01_XY.bbs b/bbtk/bbs/appli/exampleRuler01_XY.bbs new file mode 100644 index 0000000..6b99239 --- /dev/null +++ b/bbtk/bbs/appli/exampleRuler01_XY.bbs @@ -0,0 +1,58 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleRuler01_XY.bbs +# ---------------------------------- + +# BBTK GEditor Script +# ---------------------- + +include std +include itkvtk +include creaMaracasVisu +include vtk +include wx +include itk + +author "Author ??" +description "Description ??" +category "" + +new ViewerNV Box01 + +new LoadHola Box02 + +new LayoutTab Box04 + +new LayoutSplit Box05 + set Box05.Orientation "H" + +new ImageReader Box06 + set Box06.In "/tmpEED/tmpIulia/coeur_t1_VGpost_z1_pag0001_USHORT_spc-tmpEED.mhd" + +new vtkImageDataPointerRelay Box07 + +new Ruler01_XY_Widget Box09 + + +connect Box04.Widget Box05.Widget1 + +connect Box01.Widget Box05.Widget2 + +connect Box07.Out Box01.In + +connect Box07.Out Box09.Image + +connect Box01.BoxChange Box09.BoxExecuteRulerInterface + +connect Box01.Point Box09.Point + +connect Box01.Renderer4 Box09.vtkRenderer + +connect Box09.Widget Box04.Widget1 + +connect Box02.Out Box07.In + + + +# Complex input ports +exec Box05 -- 2.47.1