From d1bf78e17d5ff7fcf239842e0639d18caa0b700f Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 21 Apr 2021 20:18:34 +0200 Subject: [PATCH] #3458 box HausdorffDistancePointSetFilter --- .../bbs/boxes/CompareImagesByRGB-Widget.bbg | 65 ++++++++++++------- .../bbs/boxes/CompareImagesByRGB-Widget.bbs | 21 ++++-- 2 files changed, 56 insertions(+), 30 deletions(-) diff --git a/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbg index 311dc79..01e4a79 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbg +# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbg # ---------------------------------- APP_START @@ -24,12 +24,12 @@ COMPLEX_PORT Image2 30.013598:159.944870:-900.000000 FIN_COMPLEX_PORT -BOXES:19 +BOXES:20 BOX creaMaracasVisu:ViewerNV:Box00 ISEXEC:FALSE --40.530599:-56.614429:-900.000000 -23.189401:-66.614429:-900.000000 +-43.426794:-66.268413:-900.000000 +20.293206:-76.268413:-900.000000 PORT nTypeView:"1 2 0" FIN_BOX @@ -56,8 +56,8 @@ FIN_BOX BOX creaMaracasVisu:SetwxVtkBaseViewLookupTable:Box06 ISEXEC:FALSE --4.167113:-82.518808:-900.000000 -52.682887:-92.518808:-900.000000 +-12.855698:-115.985952:-900.000000 +43.994302:-125.985952:-900.000000 FIN_BOX BOX wx:LayoutSplit:Box07 @@ -65,7 +65,7 @@ ISEXEC:FALSE -141.202294:-144.516735:-900.000000 -102.122294:-154.516735:-900.000000 PORT -Proportion:"90" +Proportion:"50" FIN_BOX BOX creaVtk:ScalarsToColors:Box10 @@ -170,12 +170,6 @@ PORT Min:"0" FIN_BOX BOX -wx:LayoutCenter:Box28 -ISEXEC:FALSE --292.546520:-51.671504:-900.000000 --253.246520:-61.671504:-900.000000 -FIN_BOX -BOX vtk:vtkImageDataPointerRelay:Box29 ISEXEC:FALSE -48.945155:121.673754:-900.000000 @@ -187,7 +181,23 @@ ISEXEC:FALSE 24.733746:117.421238:-900.000000 76.908746:107.421238:-900.000000 FIN_BOX -CONNECTIONS:29 +BOX +wx:LayoutLine:Box31 +ISEXEC:FALSE +-308.385679:-23.643024:-900.000000 +-250.825679:-33.643024:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +wx:CheckBox:Box32 +ISEXEC:FALSE +-323.671153:15.952937:-900.000000 +-287.346153:5.952937:-900.000000 +PORT +Title:"Interpolation" +FIN_BOX +CONNECTIONS:32 CONNECTION Box02:Out:Box00:In NumberOfControlPoints:0 @@ -240,15 +250,6 @@ CONNECTION Box26:Out:Box18:In NumberOfControlPoints:0 CONNECTION -Box00:Widget:Box07:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box26:Widget:Box28:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box28:Widget:Box07:Widget2 -NumberOfControlPoints:0 -CONNECTION Box00:wxVtkBaseView1:Box06:BaseView1 NumberOfControlPoints:0 CONNECTION @@ -275,4 +276,22 @@ NumberOfControlPoints:0 CONNECTION Box26:BoxChange:Box06:BoxExecute NumberOfControlPoints:0 +CONNECTION +Box26:Widget:Box31:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box32:Widget:Box31:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box32:Out:Box00:Interpolate +NumberOfControlPoints:0 +CONNECTION +Box32:BoxChange:Box00:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box00:Widget:Box07:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box31:Widget:Box07:Widget2 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs index 0d15ef6..47680a9 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs +# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs # ---------------------------------- include std @@ -33,7 +33,7 @@ new vtk:RescaleSlopeIntercept Box05 new creaMaracasVisu:SetwxVtkBaseViewLookupTable Box06 new wx:LayoutSplit Box07 - set Box07.Proportion "90" + set Box07.Proportion "50" new creaVtk:ScalarsToColors Box10 set Box10.Type "3" @@ -75,12 +75,16 @@ new wx:Slider Box26 set Box26.Max "7" set Box26.Min "0" -new wx:LayoutCenter Box28 - new vtk:vtkImageDataPointerRelay Box29 new vtk:vtkImageDataPointerRelay Box30 +new wx:LayoutLine Box31 + set Box31.Orientation "H" + +new wx:CheckBox Box32 + set Box32.Title "Interpolation" + connect Box02.Out Box00.In connect Box10.LookupTable Box06.ScalarToColors @@ -99,15 +103,18 @@ connect Box23.Out Box02.In0 connect Box24.Out Box02.In1 connect Box25.Out Box02.In2 connect Box26.Out Box18.In -connect Box00.Widget Box07.Widget1 -connect Box26.Widget Box28.Widget2 -connect Box28.Widget Box07.Widget2 connect Box00.wxVtkBaseView1 Box06.BaseView1 connect Box00.wxVtkBaseView2 Box06.BaseView2 connect Box00.wxVtkBaseView3 Box06.BaseView3 connect Box29.Out Box05.In connect Box30.Out Box13.In connect Box26.BoxChange Box06.BoxExecute +connect Box26.Widget Box31.Widget1 +connect Box32.Widget Box31.Widget2 +connect Box32.Out Box00.Interpolate +connect Box32.BoxChange Box00.BoxExecute +connect Box00.Widget Box07.Widget1 +connect Box31.Widget Box07.Widget2 # Complex input ports input Image1 Box29.In " " -- 2.47.1