]> Creatis software - creaVtk.git/commitdiff
#3539 ImageSlabFilter box
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 16 Jun 2026 11:13:38 +0000 (13:13 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 16 Jun 2026 11:13:38 +0000 (13:13 +0200)
bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbg [new file with mode: 0644]
bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbs [new file with mode: 0644]

diff --git a/bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbg
new file mode 100644 (file)
index 0000000..a6a425c
--- /dev/null
@@ -0,0 +1,116 @@
+# ----------------------------------
+# - BBTKGEditor v 1.6 BBG BlackBox Diagram file
+# - /Users/davila/Creatis/C24/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+EXPORTFORMAT:0
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:ImageSlabFilter_Widget
+PACKAGENAME:creaVtk
+COMPLEXOUTPUTS:2
+COMPLEX_PORT
+outWidget
+-27.105975:-11.585622:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+OutImage
+35.321592:-13.058506:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:2
+COMPLEX_PORT
+ImageIn
+45.599027:57.959191:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+widgetOrientation
+-45.723354:58.648547:-900.000000
+FIN_COMPLEX_PORT
+BOXES:6
+BOX
+wx:LayoutLine:Box00
+ISEXEC:FALSE
+-28.978486:8.223456:-900.000000
+6.101514:5.723456:-900.000000
+FIN_BOX
+BOX
+creaVtk:ImageSlabFilter:Box01
+ISEXEC:FALSE
+33.515801:18.215839:-900.000000
+55.640801:15.715839:-900.000000
+FIN_BOX
+BOX
+wx:ComboBox:Box02
+ISEXEC:FALSE
+-23.937062:32.637337:-900.000000
+4.102938:30.137337:-900.000000
+PORT
+In:"Mean Sum Min Max"
+PORT
+Selection:"3"
+PORT
+Title:"Slab method"
+FIN_BOX
+BOX
+wx:Slider:Box03
+ISEXEC:FALSE
+6.053890:32.340392:-900.000000
+37.613890:29.840392:-900.000000
+PORT
+In:"0"
+PORT
+Label:"true"
+PORT
+Max:"15"
+PORT
+Min:"0"
+PORT
+Title:"Slab Size  (depth=2*Size+1)"
+FIN_BOX
+BOX
+std:MagicBox:Box04
+ISEXEC:FALSE
+39.977543:46.714691:-900.000000
+61.577543:44.214691:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box05
+ISEXEC:FALSE
+-50.821316:45.107070:-900.000000
+-29.221316:42.607070:-900.000000
+FIN_BOX
+CONNECTIONS:10
+CONNECTION
+Box02:Out:Box01:Type
+NumberOfControlPoints:0
+CONNECTION
+Box03:Out:Box01:Size
+NumberOfControlPoints:0
+CONNECTION
+Box03:Widget:Box00:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box00:Widget:outWidget:outWidget
+NumberOfControlPoints:0
+CONNECTION
+ImageIn:ImageIn:Box04:In
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box01:In
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:OutImage:OutImage
+NumberOfControlPoints:0
+CONNECTION
+Box02:Widget:Box00:Widget1
+NumberOfControlPoints:0
+CONNECTION
+widgetOrientation:widgetOrientation:Box05:In
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box00:Orientation
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbs
new file mode 100644 (file)
index 0000000..a707bd8
--- /dev/null
@@ -0,0 +1,56 @@
+# ----------------------------------
+# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C24/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/ImageSlabFilter_Widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include creaVtk
+include std
+
+define ImageSlabFilter_Widget creaVtk
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new wx:LayoutLine Box00
+
+new creaVtk:ImageSlabFilter Box01
+
+new wx:ComboBox Box02
+  set Box02.In "Mean Sum Min Max"
+  set Box02.Selection "3"
+  set Box02.Title "Slab method"
+
+new wx:Slider Box03
+  set Box03.In "0"
+  set Box03.Label "true"
+  set Box03.Max "15"
+  set Box03.Min "0"
+  set Box03.Title "Slab Size  (depth=2*Size+1)"
+
+new std:MagicBox Box04
+
+new std:MagicBox Box05
+
+
+connect Box02.Out Box01.Type
+connect Box03.Out Box01.Size
+connect Box03.Widget Box00.Widget2
+connect Box04.Out Box01.In
+connect Box02.Widget Box00.Widget1
+connect Box05.Out Box00.Orientation
+
+# Complex input ports
+input ImageIn Box04.In " "
+input widgetOrientation Box05.In " "
+
+# Complex output ports
+output outWidget Box00.Widget " "
+output OutImage Box01.Out " "
+
+
+endefine