]> Creatis software - creaMiniTools.git/commitdiff
#3387 CreaMiniTools Feature New Normal - new box ImageFillByPlane ImageFillByPlane2
authorEduardo DAVILA <davila@localhost.localdomain>
Thu, 16 Apr 2020 08:43:39 +0000 (10:43 +0200)
committerEduardo DAVILA <davila@localhost.localdomain>
Thu, 16 Apr 2020 08:43:39 +0000 (10:43 +0200)
bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbg [new file with mode: 0644]
bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbs [new file with mode: 0644]
bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbg [new file with mode: 0644]
bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbs [new file with mode: 0644]

diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbg b/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbg
new file mode 100644 (file)
index 0000000..c56d8e0
--- /dev/null
@@ -0,0 +1,446 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/C10/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:ImageFillByPlane
+PACKAGENAME:creaMiniTools
+COMPLEXOUTPUTS:0
+COMPLEXINPUTS:8
+COMPLEX_PORT
+dimsize
+-319.236100:64.317644:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+point
+-213.662070:68.027843:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+filename
+-71.035413:61.149299:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+typeReadMHDPlane
+-31.778785:62.415642:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+boxexecute
+4.945156:60.938242:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+image
+31.960470:59.671899:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+dir
+-365.316216:65.149791:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+widthSlice
+-144.504160:63.975840:-900.000000
+FIN_COMPLEX_PORT
+BOXES:30
+BOX
+creaVtk:ReadMHDPlane:Box00
+ISEXEC:FALSE
+-162.339580:-229.094576:-900.000000
+-120.989580:-239.094576:-900.000000
+PORT
+DirectionPlane:"XY"
+PORT
+Type:"1"
+PORT
+Width:"10"
+FIN_BOX
+BOX
+std:GetVectorIntElement:Box01
+ISEXEC:FALSE
+-208.414402:-133.693928:-900.000000
+-161.964402:-143.693928:-900.000000
+PORT
+I:"2"
+FIN_BOX
+BOX
+std:ConcatStrings:Box02
+ISEXEC:FALSE
+-228.610015:-223.861464:-900.000000
+-188.885015:-233.861464:-900.000000
+PORT
+In1:"0 0 "
+FIN_BOX
+BOX
+vtk:InversCrop:Box03
+ISEXEC:FALSE
+-183.303691:-289.723958:-900.000000
+-146.503691:-299.723958:-900.000000
+PORT
+Active:"false"
+PORT
+Type:"1"
+FIN_BOX
+BOX
+std:CreateArithmeticSuiteVector:Box04
+ISEXEC:FALSE
+-336.228371:-108.201784:-900.000000
+-282.253371:-118.201784:-900.000000
+PORT
+Delta:"0"
+PORT
+FirstValue:"1"
+FIN_BOX
+BOX
+std:GetVectorIntElement:Box05
+ISEXEC:FALSE
+-330.376084:-71.855156:-900.000000
+-283.926084:-81.855156:-900.000000
+PORT
+I:"2"
+FIN_BOX
+BOX
+std:GetVectorIntPointer:Box06
+ISEXEC:FALSE
+-343.213946:-127.686060:-900.000000
+-297.913946:-137.686060:-900.000000
+FIN_BOX
+BOX
+std:SetElementVectorVectorInt:Box07
+ISEXEC:FALSE
+-308.276495:-316.190964:-900.000000
+-255.976495:-326.190964:-900.000000
+PORT
+Value:"0"
+FIN_BOX
+BOX
+std:GetVectorIntElement:Box08
+ISEXEC:FALSE
+-306.935606:-201.247447:-900.000000
+-260.485606:-211.247447:-900.000000
+PORT
+I:"2"
+FIN_BOX
+BOX
+std:SetElementVectorVectorInt:Box09
+ISEXEC:FALSE
+-328.771733:-146.837297:-900.000000
+-276.471733:-156.837297:-900.000000
+PORT
+I:"-1"
+PORT
+Value:"0"
+FIN_BOX
+BOX
+std:Div:Box10
+ISEXEC:FALSE
+-318.300475:-91.557171:-900.000000
+-288.975475:-101.557171:-900.000000
+PORT
+In2:"10"
+FIN_BOX
+BOX
+std:Div:Box11
+ISEXEC:FALSE
+-250.119241:-153.221626:-900.000000
+-220.794241:-163.221626:-900.000000
+PORT
+In2:"10"
+FIN_BOX
+BOX
+std:ConcatStrings:Box12
+ISEXEC:FALSE
+-157.923732:-13.609056:-900.000000
+-118.198732:-23.609056:-900.000000
+PORT
+In1:"10"
+FIN_BOX
+BOX
+std:GetVectorIntElement:Box13
+ISEXEC:FALSE
+-202.149553:-182.515414:-900.000000
+-155.699553:-192.515414:-900.000000
+PORT
+I:"0"
+FIN_BOX
+BOX
+std:MathOperation:Box14
+ISEXEC:FALSE
+-219.035641:-199.996854:-900.000000
+-177.985641:-209.996854:-900.000000
+PORT
+Type:"2"
+FIN_BOX
+BOX
+std:ConcatStrings:Box15
+ISEXEC:FALSE
+-197.251992:-165.149911:-900.000000
+-157.526992:-175.149911:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box16
+ISEXEC:FALSE
+-376.636553:15.263559:-900.000000
+-340.561553:5.263559:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box20
+ISEXEC:FALSE
+28.139530:-11.165933:-900.000000
+80.314530:-21.165933:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box21
+ISEXEC:FALSE
+-106.165389:-13.149109:-900.000000
+-66.440389:-23.149109:-900.000000
+PORT
+In1:"10"
+FIN_BOX
+BOX
+std:MagicBox:Box22
+ISEXEC:FALSE
+-7.837376:-29.888800:-900.000000
+28.237624:-39.888800:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box23
+ISEXEC:FALSE
+-434.076013:-20.362786:-900.000000
+-391.916013:-30.362786:-900.000000
+PORT
+In0:"XY"
+PORT
+In1:"YZ"
+PORT
+In2:"ZX"
+FIN_BOX
+BOX
+std:StringSelect:Box24
+ISEXEC:FALSE
+-483.066471:-20.884869:-900.000000
+-440.906471:-30.884869:-900.000000
+PORT
+In0:"0 0 XX"
+PORT
+In1:"XX 0 0"
+PORT
+In2:"0 XX 0"
+FIN_BOX
+BOX
+std:ReplaceCleanString:Box26
+ISEXEC:FALSE
+-220.214537:-245.591563:-900.000000
+-174.664537:-255.591563:-900.000000
+PORT
+Search:"XX"
+FIN_BOX
+BOX
+std:StringSelect:Box27
+ISEXEC:FALSE
+-381.458092:-20.701019:-900.000000
+-339.298092:-30.701019:-900.000000
+PORT
+In0:"2"
+PORT
+In1:"0"
+PORT
+In2:"1"
+FIN_BOX
+BOX
+vtk:ImageVtkProperties:Box29
+ISEXEC:FALSE
+-288.086632:-44.545500:-900.000000
+-242.736632:-54.545500:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box30
+ISEXEC:FALSE
+-307.126272:16.586028:-900.000000
+-271.051272:6.586028:-900.000000
+FIN_BOX
+BOX
+std:GetDoubleVectorSize:Box31
+ISEXEC:FALSE
+-309.463744:-15.813391:-900.000000
+-262.438744:-25.813391:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box32
+ISEXEC:FALSE
+-308.719142:2.072373:-900.000000
+-268.994142:-7.927627:-900.000000
+FIN_BOX
+BOX
+std:Div:Box33
+ISEXEC:FALSE
+-310.434250:-30.514688:-900.000000
+-281.109250:-40.514688:-900.000000
+PORT
+In2:"3"
+FIN_BOX
+BOX
+std:MathOperation:Box34
+ISEXEC:FALSE
+-310.701540:-228.253330:-900.000000
+-269.651540:-238.253330:-900.000000
+PORT
+Type:"2"
+FIN_BOX
+CONNECTIONS:51
+CONNECTION
+Box06:PVec:Box07:PVec
+NumberOfControlPoints:0
+CONNECTION
+Box04:ArithmeticSuiteVector:Box06:In
+NumberOfControlPoints:0
+CONNECTION
+Box06:PVec:Box09:PVec
+NumberOfControlPoints:0
+CONNECTION
+Box09:Vec:Box08:In
+NumberOfControlPoints:0
+CONNECTION
+Box03:BoxChange:Box07:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box01:BoxChange:Box08:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box01:BoxChange:Box09:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box10:In1
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box04:Size
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:Box11:In1
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box08:I
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box10:In2
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box11:In2
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box00:Width
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box07:I
+NumberOfControlPoints:0
+CONNECTION
+Box13:Out:Box14:In1
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box14:In2
+NumberOfControlPoints:0
+CONNECTION
+Box14:Out:Box02:In2
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box15:In1
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box13:In
+NumberOfControlPoints:0
+CONNECTION
+Box14:Out:Box00:Slice
+NumberOfControlPoints:0
+CONNECTION
+point:point:Box01:In
+NumberOfControlPoints:0
+CONNECTION
+typeReadMHDPlane:typeReadMHDPlane:Box00:Type
+NumberOfControlPoints:0
+CONNECTION
+dir:dir:Box16:In
+NumberOfControlPoints:0
+CONNECTION
+widthSlice:widthSlice:Box12:In1
+NumberOfControlPoints:0
+CONNECTION
+image:image:Box20:In
+NumberOfControlPoints:0
+CONNECTION
+Box20:Out:Box03:ImageFix
+NumberOfControlPoints:0
+CONNECTION
+filename:filename:Box21:In1
+NumberOfControlPoints:0
+CONNECTION
+Box21:Out:Box00:FileName
+NumberOfControlPoints:0
+CONNECTION
+boxexecute:boxexecute:Box22:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box22:BoxChange:Box03:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box23:In
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box00:DirectionPlane
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box24:In
+NumberOfControlPoints:0
+CONNECTION
+Box24:Out:Box26:In
+NumberOfControlPoints:0
+CONNECTION
+Box14:Out:Box26:Replace
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box27:In
+NumberOfControlPoints:0
+CONNECTION
+Box27:Out:Box05:I
+NumberOfControlPoints:0
+CONNECTION
+Box27:Out:Box01:I
+NumberOfControlPoints:0
+CONNECTION
+Box26:Out:Box03:Origin
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out2:Box03:ImageMove
+NumberOfControlPoints:0
+CONNECTION
+Box20:Out:Box29:In
+NumberOfControlPoints:0
+CONNECTION
+dimsize:dimsize:Box30:In
+NumberOfControlPoints:0
+CONNECTION
+Box29:Size:Box05:In
+NumberOfControlPoints:0
+CONNECTION
+Box30:Out:Box32:In1
+NumberOfControlPoints:0
+CONNECTION
+Box32:Out:Box31:In
+NumberOfControlPoints:0
+CONNECTION
+Box31:VectorSize:Box33:In1
+NumberOfControlPoints:0
+CONNECTION
+Box33:Out:Box34:In1
+NumberOfControlPoints:0
+CONNECTION
+Box08:Out:Box34:In2
+NumberOfControlPoints:0
+CONNECTION
+Box34:Out:Box00:Active
+NumberOfControlPoints:0
+CONNECTION
+Box34:Out:Box03:Active
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbs b/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbs
new file mode 100644 (file)
index 0000000..90cc34c
--- /dev/null
@@ -0,0 +1,169 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/C10/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaVtk
+include std
+include vtk
+
+define ImageFillByPlane creaMiniTools
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new creaVtk:ReadMHDPlane Box00
+  set Box00.DirectionPlane "XY"
+  set Box00.Type "1"
+  set Box00.Width "10"
+
+new std:GetVectorIntElement Box01
+  set Box01.I "2"
+
+new std:ConcatStrings Box02
+  set Box02.In1 "0 0 "
+
+new vtk:InversCrop Box03
+  set Box03.Active "false"
+  set Box03.Type "1"
+
+new std:CreateArithmeticSuiteVector Box04
+  set Box04.Delta "0"
+  set Box04.FirstValue "1"
+
+new std:GetVectorIntElement Box05
+  set Box05.I "2"
+
+new std:GetVectorIntPointer Box06
+
+new std:SetElementVectorVectorInt Box07
+  set Box07.Value "0"
+
+new std:GetVectorIntElement Box08
+  set Box08.I "2"
+
+new std:SetElementVectorVectorInt Box09
+  set Box09.I "-1"
+  set Box09.Value "0"
+
+new std:Div Box10
+  set Box10.In2 "10"
+
+new std:Div Box11
+  set Box11.In2 "10"
+
+new std:ConcatStrings Box12
+  set Box12.In1 "10"
+
+new std:GetVectorIntElement Box13
+  set Box13.I "0"
+
+new std:MathOperation Box14
+  set Box14.Type "2"
+
+new std:ConcatStrings Box15
+
+new std:MagicBox Box16
+
+new vtk:vtkImageDataPointerRelay Box20
+
+new std:ConcatStrings Box21
+  set Box21.In1 "10"
+
+new std:MagicBox Box22
+
+new std:StringSelect Box23
+  set Box23.In0 "XY"
+  set Box23.In1 "YZ"
+  set Box23.In2 "ZX"
+
+new std:StringSelect Box24
+  set Box24.In0 "0 0 XX"
+  set Box24.In1 "XX 0 0"
+  set Box24.In2 "0 XX 0"
+
+new std:ReplaceCleanString Box26
+  set Box26.Search "XX"
+
+new std:StringSelect Box27
+  set Box27.In0 "2"
+  set Box27.In1 "0"
+  set Box27.In2 "1"
+
+new vtk:ImageVtkProperties Box29
+
+new std:MagicBox Box30
+
+new std:GetDoubleVectorSize Box31
+
+new std:ConcatStrings Box32
+
+new std:Div Box33
+  set Box33.In2 "3"
+
+new std:MathOperation Box34
+  set Box34.Type "2"
+
+
+connect Box06.PVec Box07.PVec
+connect Box04.ArithmeticSuiteVector Box06.In
+connect Box06.PVec Box09.PVec
+connect Box09.Vec Box08.In
+connect Box03.BoxChange Box07.BoxExecute
+connect Box01.BoxChange Box08.BoxExecute
+connect Box01.BoxChange Box09.BoxExecute
+connect Box05.Out Box10.In1
+connect Box10.Out Box04.Size
+connect Box01.Out Box11.In1
+connect Box11.Out Box08.I
+connect Box12.Out Box10.In2
+connect Box12.Out Box11.In2
+connect Box12.Out Box00.Width
+connect Box11.Out Box07.I
+connect Box13.Out Box14.In1
+connect Box12.Out Box14.In2
+connect Box14.Out Box02.In2
+connect Box11.Out Box15.In1
+connect Box15.Out Box13.In
+connect Box14.Out Box00.Slice
+connect Box20.Out Box03.ImageFix
+connect Box21.Out Box00.FileName
+connect Box22.BoxChange Box03.BoxExecute
+connect Box16.Out Box23.In
+connect Box23.Out Box00.DirectionPlane
+connect Box16.Out Box24.In
+connect Box24.Out Box26.In
+connect Box14.Out Box26.Replace
+connect Box16.Out Box27.In
+connect Box27.Out Box05.I
+connect Box27.Out Box01.I
+connect Box26.Out Box03.Origin
+connect Box00.Out2 Box03.ImageMove
+connect Box20.Out Box29.In
+connect Box29.Size Box05.In
+connect Box30.Out Box32.In1
+connect Box32.Out Box31.In
+connect Box31.VectorSize Box33.In1
+connect Box33.Out Box34.In1
+connect Box08.Out Box34.In2
+connect Box34.Out Box00.Active
+connect Box34.Out Box03.Active
+
+# Complex input ports
+input point Box01.In " "
+input typeReadMHDPlane Box00.Type " "
+input dir Box16.In " "
+input widthSlice Box12.In1 " "
+input image Box20.In " "
+input filename Box21.In1 " "
+input boxexecute Box22.BoxExecute " "
+input dimsize Box30.In " "
+
+# Complex output ports
+
+
+endefine
diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbg b/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbg
new file mode 100644 (file)
index 0000000..27a64f2
--- /dev/null
@@ -0,0 +1,197 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/C10/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:ImageFillByPlane2
+PACKAGENAME:creaMiniTools
+COMPLEXOUTPUTS:0
+COMPLEXINPUTS:7
+COMPLEX_PORT
+_dimsize
+-7.622268:80.033813:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+_boxexecute
+-60.245233:83.112036:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+_fillename
+29.902743:82.085962:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+_image
+86.776588:81.792798:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+_point
+155.009078:80.328443:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+_typeReadMHDPlane
+202.048834:74.340301:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+_widthSlice
+243.782987:75.296906:-900.000000
+FIN_COMPLEX_PORT
+BOXES:10
+BOX
+creaMiniTools:ImageFillByPlane:Box00
+ISEXEC:FALSE
+-10.385662:-31.771401:-900.000000
+32.364338:-41.771401:-900.000000
+PORT
+dir:"0"
+PORT
+typeReadMHDPlane:"0"
+FIN_BOX
+BOX
+creaMiniTools:ImageFillByPlane:Box01
+ISEXEC:FALSE
+68.151684:-33.831622:-900.000000
+110.901684:-43.831622:-900.000000
+PORT
+dir:"1"
+FIN_BOX
+BOX
+creaMiniTools:ImageFillByPlane:Box02
+ISEXEC:FALSE
+153.713683:-36.619872:-900.000000
+196.463683:-46.619872:-900.000000
+PORT
+dir:"2"
+FIN_BOX
+BOX
+std:MagicBox:Box03
+ISEXEC:FALSE
+-72.851291:53.062711:-900.000000
+-36.776291:43.062711:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box04
+ISEXEC:FALSE
+-15.912608:52.394638:-900.000000
+20.162392:42.394638:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box07
+ISEXEC:FALSE
+82.525708:52.036636:-900.000000
+134.700708:42.036636:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box08
+ISEXEC:FALSE
+150.832051:49.906718:-900.000000
+186.907051:39.906718:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box09
+ISEXEC:FALSE
+194.370399:51.558577:-900.000000
+230.445399:41.558577:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box10
+ISEXEC:FALSE
+238.829203:50.868077:-900.000000
+274.904203:40.868077:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box11
+ISEXEC:FALSE
+29.729910:52.799020:-900.000000
+69.454910:42.799020:-900.000000
+FIN_BOX
+CONNECTIONS:28
+CONNECTION
+_dimsize:_dimsize:Box04:In
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box01:dimsize
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box00:dimsize
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box02:dimsize
+NumberOfControlPoints:0
+CONNECTION
+_image:_image:Box07:In
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box02:image
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box01:image
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box00:image
+NumberOfControlPoints:0
+CONNECTION
+_point:_point:Box08:In
+NumberOfControlPoints:0
+CONNECTION
+Box08:Out:Box02:point
+NumberOfControlPoints:0
+CONNECTION
+Box08:Out:Box01:point
+NumberOfControlPoints:0
+CONNECTION
+Box08:Out:Box00:point
+NumberOfControlPoints:0
+CONNECTION
+_typeReadMHDPlane:_typeReadMHDPlane:Box09:In
+NumberOfControlPoints:0
+CONNECTION
+Box09:Out:Box00:typeReadMHDPlane
+NumberOfControlPoints:0
+CONNECTION
+Box09:Out:Box01:typeReadMHDPlane
+NumberOfControlPoints:0
+CONNECTION
+Box09:Out:Box02:typeReadMHDPlane
+NumberOfControlPoints:0
+CONNECTION
+_widthSlice:_widthSlice:Box10:In
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box02:widthSlice
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box01:widthSlice
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box00:widthSlice
+NumberOfControlPoints:0
+CONNECTION
+_fillename:_fillename:Box11:In1
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box00:filename
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box01:filename
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box02:filename
+NumberOfControlPoints:0
+CONNECTION
+_boxexecute:_boxexecute:Box03:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box03:BoxChange:Box00:boxexecute
+NumberOfControlPoints:0
+CONNECTION
+Box03:BoxChange:Box01:boxexecute
+NumberOfControlPoints:0
+CONNECTION
+Box03:BoxChange:Box02:boxexecute
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbs b/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbs
new file mode 100644 (file)
index 0000000..cf8d9be
--- /dev/null
@@ -0,0 +1,78 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/C10/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaMiniTools
+include std
+include vtk
+
+define ImageFillByPlane2 creaMiniTools
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new creaMiniTools:ImageFillByPlane Box00
+  set Box00.dir "0"
+  set Box00.typeReadMHDPlane "0"
+
+new creaMiniTools:ImageFillByPlane Box01
+  set Box01.dir "1"
+
+new creaMiniTools:ImageFillByPlane Box02
+  set Box02.dir "2"
+
+new std:MagicBox Box03
+
+new std:MagicBox Box04
+
+new vtk:vtkImageDataPointerRelay Box07
+
+new std:MagicBox Box08
+
+new std:MagicBox Box09
+
+new std:MagicBox Box10
+
+new std:ConcatStrings Box11
+
+
+connect Box04.Out Box01.dimsize
+connect Box04.Out Box00.dimsize
+connect Box04.Out Box02.dimsize
+connect Box07.Out Box02.image
+connect Box07.Out Box01.image
+connect Box07.Out Box00.image
+connect Box08.Out Box02.point
+connect Box08.Out Box01.point
+connect Box08.Out Box00.point
+connect Box09.Out Box00.typeReadMHDPlane
+connect Box09.Out Box01.typeReadMHDPlane
+connect Box09.Out Box02.typeReadMHDPlane
+connect Box10.Out Box02.widthSlice
+connect Box10.Out Box01.widthSlice
+connect Box10.Out Box00.widthSlice
+connect Box11.Out Box00.filename
+connect Box11.Out Box01.filename
+connect Box11.Out Box02.filename
+connect Box03.BoxChange Box00.boxexecute
+connect Box03.BoxChange Box01.boxexecute
+connect Box03.BoxChange Box02.boxexecute
+
+# Complex input ports
+input _dimsize Box04.In " "
+input _image Box07.In " "
+input _point Box08.In " "
+input _typeReadMHDPlane Box09.In " "
+input _widthSlice Box10.In " "
+input _fillename Box11.In1 " "
+input _boxexecute Box03.BoxExecute " "
+
+# Complex output ports
+
+
+endefine