From dd125f5ca44ce863c29f65b72a43287c68729cb6 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 14 Jul 2022 11:15:40 +0200 Subject: [PATCH] #3316 VoiMPR box --- .../bbs/boxes/VoiMPR-Interface.bbg | 170 ++++++++---------- .../bbs/boxes/VoiMPR-Interface.bbs | 12 +- 2 files changed, 75 insertions(+), 107 deletions(-) diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbg b/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbg index 26b85e7..c0bcae0 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.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/VoiMPR-Interface.bbg +# - BBTKGEditor v 1.5 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbg # ---------------------------------- APP_START @@ -13,47 +13,47 @@ PACKAGENAME:creaVtk COMPLEXOUTPUTS:5 COMPLEX_PORT widget --326.521643:-101.189678:-900.000000 +-228.565150:-30.356903:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT voi --52.226473:-123.165415:-900.000000 +-36.558531:-36.949624:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT boxchange -215.834887:-129.487204:-900.000000 +151.084421:-38.846161:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT active --400.889574:-104.288004:-900.000000 +-280.622702:-31.286401:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT boxchangeRender -2.545632:-132.673333:-900.000000 +1.781942:-39.802000:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:4 COMPLEX_PORT Image --168.187558:310.360283:-900.000000 +-117.731291:93.108085:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Execute -228.203173:299.936940:-900.000000 +159.742221:89.981082:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT voi_index --66.733674:307.314091:-900.000000 +-46.713572:92.194227:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT voi_size -55.531289:304.814600:-900.000000 +38.871902:91.444380:-900.000000 FIN_COMPLEX_PORT -BOXES:32 +BOXES:30 BOX creaMaracasVisu:SliderMinMax:Box03 ISEXEC:FALSE --183.678150:126.815992:-900.000000 --129.198150:116.815992:-900.000000 +-128.574705:38.044798:-900.000000 +31.560000:35.544798:-900.000000 PORT InMax:"500" PORT @@ -66,8 +66,8 @@ FIN_BOX BOX creaMaracasVisu:SliderMinMax:Box04 ISEXEC:FALSE --109.661484:126.399574:-900.000000 --55.181484:116.399574:-900.000000 +-76.763039:37.919872:-900.000000 +31.560000:35.419872:-900.000000 PORT InMax:"500" PORT @@ -78,8 +78,8 @@ FIN_BOX BOX creaMaracasVisu:SliderMinMax:Box05 ISEXEC:FALSE --27.997021:123.372567:-900.000000 -26.482979:113.372567:-900.000000 +-19.597915:37.011770:-900.000000 +31.560000:34.511770:-900.000000 PORT InMax:"500" PORT @@ -90,14 +90,14 @@ FIN_BOX BOX std:MultipleInputs:Box06 ISEXEC:FALSE -11.096726:60.042693:-900.000000 -50.796726:50.042693:-900.000000 +7.767708:18.012808:-900.000000 +29.737708:15.512808:-900.000000 FIN_BOX BOX std:ConcatStrings:Box07 ISEXEC:FALSE --119.450413:58.469239:-900.000000 --79.725413:48.469239:-900.000000 +-83.615289:17.540772:-900.000000 +22.760000:15.040772:-900.000000 PORT In2:" " PORT @@ -110,8 +110,8 @@ FIN_BOX BOX std:ConcatStrings:Box08 ISEXEC:FALSE --50.852772:55.779193:-900.000000 --11.127772:45.779193:-900.000000 +-35.596940:16.733758:-900.000000 +22.760000:14.233758:-900.000000 PORT In2:" " PORT @@ -122,62 +122,62 @@ FIN_BOX BOX std:ConcatStrings:Box09 ISEXEC:FALSE --64.118040:14.195593:-900.000000 --24.393040:4.195593:-900.000000 +-44.882628:4.258678:-900.000000 +22.760000:1.758678:-900.000000 FIN_BOX BOX wx:LayoutLine:Box11 ISEXEC:FALSE --324.390545:-36.367861:-900.000000 --266.830545:-46.367861:-900.000000 +-227.073381:-10.910358:-900.000000 +-193.753381:-13.410358:-900.000000 FIN_BOX BOX vtk:ImageVtkProperties:Box30 ISEXEC:FALSE --180.072980:255.020330:-900.000000 --134.722980:245.020330:-900.000000 +-126.051086:76.506099:-900.000000 +16.720000:74.006099:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box31 ISEXEC:FALSE --176.426596:278.323054:-900.000000 --124.251596:268.323054:-900.000000 +-123.498617:83.496916:-900.000000 +6.920000:80.996916:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box32 ISEXEC:FALSE --195.304681:222.622717:-900.000000 --148.854681:212.622717:-900.000000 +-136.713277:66.786815:-900.000000 +10.440000:64.286815:-900.000000 PORT I:"0" FIN_BOX BOX std:GetVectorIntElement:Box33 ISEXEC:FALSE --179.801153:204.532571:-900.000000 --133.351153:194.532571:-900.000000 +-125.860807:61.359771:-900.000000 +10.440000:58.859771:-900.000000 PORT I:"1" FIN_BOX BOX std:GetVectorIntElement:Box34 ISEXEC:FALSE --157.681683:187.336418:-900.000000 --111.231683:177.336418:-900.000000 +-110.377178:56.200925:-900.000000 +10.440000:53.700925:-900.000000 PORT I:"2" FIN_BOX BOX std:MultipleInputs:Box40 ISEXEC:FALSE -219.080593:-45.709082:-900.000000 -258.780593:-55.709082:-900.000000 +153.356415:-13.712725:-900.000000 +175.326415:-16.212725:-900.000000 FIN_BOX BOX wx:CheckBox:Box42 ISEXEC:FALSE --401.467596:135.181986:-900.000000 --365.142596:125.181986:-900.000000 +-281.027317:40.554596:-900.000000 +-259.397317:38.054596:-900.000000 PORT In:"true" PORT @@ -188,56 +188,56 @@ FIN_BOX BOX wx:LayoutTab:Box21 ISEXEC:FALSE --339.526908:50.695036:-900.000000 --281.966908:40.695036:-900.000000 +-237.668836:15.208511:-900.000000 +33.320000:12.708511:-900.000000 FIN_BOX BOX wx:LayoutLine:Box22 ISEXEC:FALSE --337.903619:76.667657:-900.000000 --280.343619:66.667657:-900.000000 +-236.532533:23.000297:-900.000000 +-203.212533:20.500297:-900.000000 PORT WinTitle:"X" FIN_BOX BOX wx:LayoutTab:Box23 ISEXEC:FALSE --270.828244:52.396144:-900.000000 --213.268244:42.396144:-900.000000 +-189.579771:15.718843:-900.000000 +33.320000:13.218843:-900.000000 FIN_BOX BOX wx:LayoutLine:Box24 ISEXEC:FALSE --269.204955:78.368765:-900.000000 --211.644955:68.368765:-900.000000 +-188.443468:23.510629:-900.000000 +-155.123468:21.010629:-900.000000 PORT WinTitle:"Y" FIN_BOX BOX wx:LayoutTab:Box25 ISEXEC:FALSE --210.393596:53.802109:-900.000000 --152.833596:43.802109:-900.000000 +-147.275517:16.140633:-900.000000 +33.320000:13.640633:-900.000000 FIN_BOX BOX wx:LayoutLine:Box26 ISEXEC:FALSE --208.770307:79.774730:-900.000000 --151.210307:69.774730:-900.000000 +-146.139215:23.932419:-900.000000 +33.320000:21.432419:-900.000000 PORT WinTitle:"Z" FIN_BOX BOX std:MagicBox:Box28 ISEXEC:FALSE --77.651260:276.041682:-900.000000 --41.576260:266.041682:-900.000000 +-54.355882:82.812505:-900.000000 +8.680000:80.312505:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box29 ISEXEC:FALSE --104.988021:245.650707:-900.000000 --58.538021:235.650707:-900.000000 +-73.491615:73.695212:-900.000000 +10.440000:71.195212:-900.000000 PORT ErrorValue:"0" PORT @@ -246,8 +246,8 @@ FIN_BOX BOX std:GetVectorIntElement:Box35 ISEXEC:FALSE --93.858256:230.924994:-900.000000 --47.408256:220.924994:-900.000000 +-65.700779:69.277498:-900.000000 +10.440000:66.777498:-900.000000 PORT ErrorValue:"0" PORT @@ -256,8 +256,8 @@ FIN_BOX BOX std:GetVectorIntElement:Box36 ISEXEC:FALSE --76.112550:216.420388:-900.000000 --29.662550:206.420388:-900.000000 +-53.278785:64.926116:-900.000000 +10.440000:62.426116:-900.000000 PORT ErrorValue:"0" PORT @@ -266,14 +266,14 @@ FIN_BOX BOX std:MagicBox:Box38 ISEXEC:FALSE -46.647627:278.729926:-900.000000 -82.722627:268.729926:-900.000000 +32.653339:83.618978:-900.000000 +54.253339:81.118978:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box39 ISEXEC:FALSE -6.630210:191.808399:-900.000000 -53.080210:181.808399:-900.000000 +4.641147:57.542520:-900.000000 +27.301147:55.042520:-900.000000 PORT ErrorValue:"0" PORT @@ -282,8 +282,8 @@ FIN_BOX BOX std:GetVectorIntElement:Box41 ISEXEC:FALSE -16.775677:172.478119:-900.000000 -63.225677:162.478119:-900.000000 +11.742974:51.743436:-900.000000 +34.402974:49.243436:-900.000000 PORT ErrorValue:"0" PORT @@ -292,8 +292,8 @@ FIN_BOX BOX std:GetVectorIntElement:Box43 ISEXEC:FALSE -29.780635:150.315924:-900.000000 -76.230635:140.315924:-900.000000 +20.846445:45.094777:-900.000000 +43.506445:42.594777:-900.000000 PORT ErrorValue:"0" PORT @@ -302,24 +302,12 @@ FIN_BOX BOX std:MathOperationVector:Box44 ISEXEC:FALSE -43.734256:246.293026:-900.000000 -91.259256:236.293026:-900.000000 +30.613979:73.887908:-900.000000 +53.368979:71.387908:-900.000000 PORT Type:"0" FIN_BOX -BOX -wx:OutputText:Box45 -ISEXEC:FALSE --293.423390:154.955039:-900.000000 --256.648390:144.955039:-900.000000 -FIN_BOX -BOX -wx:OutputText:Box46 -ISEXEC:FALSE --251.928697:138.682746:-900.000000 --215.153697:128.682746:-900.000000 -FIN_BOX -CONNECTIONS:60 +CONNECTIONS:56 CONNECTION Box03:BoxChange:Box06:In1 NumberOfControlPoints:0 @@ -488,16 +476,4 @@ NumberOfControlPoints:0 CONNECTION Box34:Out:Box05:InMax NumberOfControlPoints:0 -CONNECTION -Box45:Widget:Box22:Widget3 -NumberOfControlPoints:0 -CONNECTION -Box28:Out:Box45:In -NumberOfControlPoints:0 -CONNECTION -Box38:Out:Box46:In -NumberOfControlPoints:0 -CONNECTION -Box46:Widget:Box24:Widget3 -NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs index 252e661..d129cff 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.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/VoiMPR-Interface.bbs +# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs # ---------------------------------- include std @@ -116,10 +116,6 @@ new std:GetVectorIntElement Box43 new std:MathOperationVector Box44 set Box44.Type "0" -new wx:OutputText Box45 - -new wx:OutputText Box46 - connect Box03.BoxChange Box06.In1 connect Box04.BoxChange Box06.In2 @@ -168,10 +164,6 @@ connect Box43.Out Box05.InMaxShow connect Box32.Out Box03.InMax connect Box33.Out Box04.InMax connect Box34.Out Box05.InMax -connect Box45.Widget Box22.Widget3 -connect Box28.Out Box45.In -connect Box38.Out Box46.In -connect Box46.Widget Box24.Widget3 # Complex input ports input Image Box31.In " " -- 2.47.1