From 0fc495c30442946ddac3ea779b6d6021b1df44d8 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 10 Sep 2021 10:54:01 +0200 Subject: [PATCH] #3470merge vtk8itk5wx3-mingw64 --- bbtk/bbs/boxes/ManualPaint2.bbg | 308 ++++++++++++++++++++++++++----- bbtk/bbs/boxes/ManualPaint2.bbs | 92 ++++++++- bbtk/bbs/boxes/ViewerByPlane.bbg | 128 ++++++------- bbtk/bbs/boxes/ViewerByPlane.bbs | 4 +- 4 files changed, 411 insertions(+), 121 deletions(-) diff --git a/bbtk/bbs/boxes/ManualPaint2.bbg b/bbtk/bbs/boxes/ManualPaint2.bbg index 503acad..2928997 100644 --- a/bbtk/bbs/boxes/ManualPaint2.bbg +++ b/bbtk/bbs/boxes/ManualPaint2.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbg +# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbg # ---------------------------------- APP_START @@ -10,11 +10,15 @@ AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:ManualPaint2 PACKAGENAME:creaMaracasVisu -COMPLEXOUTPUTS:1 +COMPLEXOUTPUTS:2 COMPLEX_PORT widgetOut -94.963421:-185.755112:-900.000000 FIN_COMPLEX_PORT +COMPLEX_PORT +boxChange +-13.009667:-180.316926:-900.000000 +FIN_COMPLEX_PORT COMPLEXINPUTS:15 COMPLEX_PORT TitleOptions @@ -54,7 +58,7 @@ Image2_ManualPaint_Model FIN_COMPLEX_PORT COMPLEX_PORT BoxExecute_ManualPaint_Model --167.528461:180.349965:-900.000000 +-201.995645:178.771315:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview1 @@ -74,14 +78,14 @@ Tolerance_Fill_ManualPaint_Model FIN_COMPLEX_PORT COMPLEX_PORT colorBarPosition --192.926981:179.217332:-900.000000 +-180.034675:180.795982:-900.000000 FIN_COMPLEX_PORT -BOXES:17 +BOXES:34 BOX creaMaracasVisu:ManualPaint_Model:Box00 ISEXEC:FALSE --75.289692:-71.460987:-900.000000 --14.649692:-81.460987:-900.000000 +-95.174180:-58.098371:-900.000000 +-34.534180:-68.098371:-900.000000 PORT 2D3D:"1" PORT @@ -119,13 +123,13 @@ BOX std:StringSelect:Box02 ISEXEC:FALSE -37.673227:82.948986:-900.000000 -7.901773:72.948986:-900.000000 +4.486773:72.948986:-900.000000 FIN_BOX BOX creaMaracasVisu:ColorLayerImageView:Box03 ISEXEC:FALSE --110.108419:-104.278922:-900.000000 --38.933419:-114.278922:-900.000000 +64.897021:-66.295426:-900.000000 +134.777021:-76.295426:-900.000000 PORT TypeControlsInterface:"2" PORT @@ -135,7 +139,7 @@ BOX std:TransposeVectorVectorString:Box04 ISEXEC:FALSE -31.305556:125.161505:-900.000000 -39.869444:115.161505:-900.000000 +22.919444:115.161505:-900.000000 PORT In0:"Desactivate Big-Blue Small-Blue Big-Clean Small-Clean" PORT @@ -153,21 +157,21 @@ BOX std:GetVectorStringElement:Box05 ISEXEC:FALSE -86.200317:53.438683:-900.000000 --15.025317:43.438683:-900.000000 +-36.800317:43.438683:-900.000000 PORT I:"1" FIN_BOX BOX wx:LayoutLine:Box09 ISEXEC:FALSE --96.465052:-132.072726:-900.000000 --38.905052:-142.072726:-900.000000 +-100.059182:-162.443123:-900.000000 +-42.499182:-172.443123:-900.000000 FIN_BOX BOX std:GetVectorStringElement:Box11 ISEXEC:FALSE -71.696483:40.964713:-900.000000 --0.521483:30.964713:-900.000000 +-22.296483:30.964713:-900.000000 PORT I:"2" FIN_BOX @@ -175,7 +179,7 @@ BOX std:GetVectorStringElement:Box12 ISEXEC:FALSE -58.354926:28.065688:-900.000000 -12.820074:18.065688:-900.000000 +-8.954926:18.065688:-900.000000 PORT I:"3" FIN_BOX @@ -183,7 +187,7 @@ BOX std:ConcatStrings:Box13 ISEXEC:FALSE -37.058068:-18.986769:-900.000000 -8.516932:-28.986769:-900.000000 +2.666932:-28.986769:-900.000000 PORT In2:" " FIN_BOX @@ -191,7 +195,7 @@ BOX std:GetVectorStringElement:Box14 ISEXEC:FALSE -22.770985:-0.972910:-900.000000 -48.404015:-10.972910:-900.000000 +26.629015:-10.972910:-900.000000 PORT I:"5" FIN_BOX @@ -199,7 +203,7 @@ BOX std:GetVectorStringElement:Box15 ISEXEC:FALSE -40.934702:12.586010:-900.000000 -30.240298:2.586010:-900.000000 +8.465298:2.586010:-900.000000 PORT I:"4" FIN_BOX @@ -207,15 +211,15 @@ BOX std:TransposeVectorVectorString:Box17 ISEXEC:FALSE -117.618980:121.580114:-900.000000 --46.443980:111.580114:-900.000000 +-63.393980:111.580114:-900.000000 PORT In0:"Desactivate Big-Blue Small-Blue Big-Clean Small-Clean" FIN_BOX BOX wx:RadioButton:Box18 ISEXEC:FALSE --223.537738:36.072184:-900.000000 --159.817738:26.072184:-900.000000 +-327.358460:96.434379:-900.000000 +-263.638460:86.434379:-900.000000 PORT In:"1" PORT @@ -226,8 +230,8 @@ FIN_BOX BOX wx:LayoutLine:Box19 ISEXEC:FALSE --172.905988:-105.174791:-900.000000 --115.345988:-115.174791:-900.000000 +-137.264220:-139.449705:-900.000000 +-79.704220:-149.449705:-900.000000 PORT Orientation:"H" FIN_BOX @@ -235,17 +239,149 @@ BOX std:MagicBox:Box20 ISEXEC:FALSE -82.351641:163.241009:-900.000000 --36.776641:153.241009:-900.000000 +-46.276641:153.241009:-900.000000 FIN_BOX BOX std:GetVectorStringElement:Box21 ISEXEC:FALSE -1.581707:-33.301126:-900.000000 -69.593293:-43.301126:-900.000000 +47.818293:-43.301126:-900.000000 PORT I:"6" FIN_BOX -CONNECTIONS:59 +BOX +vtk:vtkImageDataPointerRelay:Box22 +ISEXEC:FALSE +174.217065:39.039232:-900.000000 +226.392065:29.039232:-900.000000 +FIN_BOX +BOX +vtk:UpdateRender:Box23 +ISEXEC:FALSE +39.953010:-129.847284:-900.000000 +80.278010:-139.847284:-900.000000 +PORT +Active:"true" +FIN_BOX +BOX +std:MagicBox:Box24 +ISEXEC:FALSE +66.284148:73.033149:-900.000000 +102.359148:63.033149:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box25 +ISEXEC:FALSE +105.814564:70.785341:-900.000000 +141.889564:60.785341:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box26 +ISEXEC:FALSE +130.034953:54.490000:-900.000000 +166.109953:44.490000:-900.000000 +FIN_BOX +BOX +vtk:UpdateRender:Box27 +ISEXEC:FALSE +90.902525:-130.949226:-900.000000 +131.227525:-140.949226:-900.000000 +PORT +Active:"true" +FIN_BOX +BOX +vtk:UpdateRender:Box28 +ISEXEC:FALSE +141.007963:-130.644372:-900.000000 +181.332963:-140.644372:-900.000000 +PORT +Active:"true" +FIN_BOX +BOX +wx:LayoutLine:Box29 +ISEXEC:FALSE +-234.010495:-17.027092:-900.000000 +-176.450495:-27.027092:-900.000000 +FIN_BOX +BOX +wx:CommandButton:Box30 +ISEXEC:FALSE +-220.568054:36.966713:-900.000000 +-177.793054:26.966713:-900.000000 +PORT +Label:"Undo" +FIN_BOX +BOX +wx:CommandButton:Box31 +ISEXEC:FALSE +-211.322007:17.087471:-900.000000 +-168.547007:7.087471:-900.000000 +PORT +Label:"Redo" +FIN_BOX +BOX +creaMaracasVisu:ManualPaint_UndoRedo:Box32 +ISEXEC:FALSE +-230.089322:-131.265167:-900.000000 +-180.614322:-141.265167:-900.000000 +PORT +Type:"2" +FIN_BOX +BOX +creaMaracasVisu:ManualPaint_UndoRedo:Box33 +ISEXEC:FALSE +-295.989026:-131.212587:-900.000000 +-246.514026:-141.212587:-900.000000 +PORT +Type:"1" +FIN_BOX +BOX +vtk:UpdateRender:Box34 +ISEXEC:FALSE +-245.364374:-89.573260:-900.000000 +-205.039374:-99.573260:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box38 +ISEXEC:FALSE +49.639480:114.047399:-900.000000 +85.714480:104.047399:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box36 +ISEXEC:FALSE +-294.584648:43.407556:-900.000000 +-237.024648:33.407556:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +wx:RadioButton:Box37 +ISEXEC:FALSE +-251.576354:94.888910:-900.000000 +-187.856354:84.888910:-900.000000 +PORT +In:"1" +PORT +In0:"2D" +PORT +In1:"3D" +FIN_BOX +BOX +wx:RadioButton:Box39 +ISEXEC:FALSE +-216.228897:75.929979:-900.000000 +-152.508897:65.929979:-900.000000 +PORT +In:"1" +PORT +In0:"YZ" +PORT +In1:"XZ" +PORT +In2:"XY" +FIN_BOX +CONNECTIONS:85 CONNECTION Box01:Out:Box02:In NumberOfControlPoints:0 @@ -286,9 +422,6 @@ CONNECTION Box03:Widget:Box09:Widget2 NumberOfControlPoints:0 CONNECTION -Box00:Out:Box03:In -NumberOfControlPoints:0 -CONNECTION Box05:Out:Box00:Active NumberOfControlPoints:0 CONNECTION @@ -349,9 +482,6 @@ CONNECTION Box17:Out9:Box01:In9 NumberOfControlPoints:0 CONNECTION -Box18:Widget:Box19:Widget1 -NumberOfControlPoints:0 -CONNECTION Box01:Widget:Box19:Widget2 NumberOfControlPoints:0 CONNECTION @@ -382,45 +512,129 @@ CONNECTION MaxRange_ManualPaint_Model:MaxRange_ManualPaint_Model:Box04:In5 NumberOfControlPoints:0 CONNECTION -Point_ManualPaint_Model:Point_ManualPaint_Model:Box00:Point +Image_ManualPaint_Model:Image_ManualPaint_Model:Box00:Image NumberOfControlPoints:0 CONNECTION -Image_ManualPaint_Model:Image_ManualPaint_Model:Box00:Image +BoxExecute_ManualPaint_Model:BoxExecute_ManualPaint_Model:Box00:BoxExecute NumberOfControlPoints:0 CONNECTION -Image2_ManualPaint_Model:Image2_ManualPaint_Model:Box00:Image2 +Box09:Widget:widgetOut:widgetOut NumberOfControlPoints:0 CONNECTION -BoxExecute_ManualPaint_Model:BoxExecute_ManualPaint_Model:Box00:BoxExecute +Box20:Out:Box17:In0 NumberOfControlPoints:0 CONNECTION -wxvtkbaseview1:wxvtkbaseview1:Box03:WxVtkBaseView +Box20:Out:Box04:In0 NumberOfControlPoints:0 CONNECTION -wxvtkbaseview2:wxvtkbaseview2:Box03:WxVtkBaseView1 +Box02:Out:Box21:In NumberOfControlPoints:0 CONNECTION -wxvtkbaseview3:wxvtkbaseview3:Box03:WxVtkBaseView2 +Box21:Out:Box00:ToleranceFill NumberOfControlPoints:0 CONNECTION -Box09:Widget:widgetOut:widgetOut +Tolerance_Fill_ManualPaint_Model:Tolerance_Fill_ManualPaint_Model:Box04:In6 NumberOfControlPoints:0 CONNECTION -Box20:Out:Box17:In0 +colorBarPosition:colorBarPosition:Box03:ColorBarPosition NumberOfControlPoints:0 CONNECTION -Box20:Out:Box04:In0 +Image2_ManualPaint_Model:Image2_ManualPaint_Model:Box22:In NumberOfControlPoints:0 CONNECTION -Box02:Out:Box21:In +Box22:Out:Box00:Image2 NumberOfControlPoints:0 CONNECTION -Box21:Out:Box00:ToleranceFill +Box22:Out:Box03:In NumberOfControlPoints:0 CONNECTION -Tolerance_Fill_ManualPaint_Model:Tolerance_Fill_ManualPaint_Model:Box04:In6 +wxvtkbaseview1:wxvtkbaseview1:Box24:In NumberOfControlPoints:0 CONNECTION -colorBarPosition:colorBarPosition:Box03:ColorBarPosition +Box24:Out:Box03:WxVtkBaseView +NumberOfControlPoints:0 +CONNECTION +wxvtkbaseview2:wxvtkbaseview2:Box25:In +NumberOfControlPoints:0 +CONNECTION +Box25:Out:Box03:WxVtkBaseView1 +NumberOfControlPoints:0 +CONNECTION +wxvtkbaseview3:wxvtkbaseview3:Box26:In +NumberOfControlPoints:0 +CONNECTION +Box26:Out:Box03:WxVtkBaseView2 +NumberOfControlPoints:0 +CONNECTION +Box24:Out:Box23:Renderer +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box23:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box25:Out:Box27:Renderer +NumberOfControlPoints:0 +CONNECTION +Box26:Out:Box28:Renderer +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box27:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box28:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box29:Widget:Box19:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box30:Widget:Box29:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box31:Widget:Box29:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box00:Manualpaintmodel:Box32:Manualpaintmodel +NumberOfControlPoints:0 +CONNECTION +Box31:BoxChange:Box32:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box30:BoxChange:Box33:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box00:Manualpaintmodel:Box33:Manualpaintmodel +NumberOfControlPoints:0 +CONNECTION +Point_ManualPaint_Model:Point_ManualPaint_Model:Box38:In +NumberOfControlPoints:0 +CONNECTION +Box38:Out:Box00:Point +NumberOfControlPoints:0 +CONNECTION +Box24:Out:Box33:wxvtkbaseview +NumberOfControlPoints:0 +CONNECTION +Box24:Out:Box32:wxvtkbaseview +NumberOfControlPoints:0 +CONNECTION +Box36:Widget:Box29:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box18:Widget:Box36:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box37:Widget:Box36:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box37:Out:Box00:2D3D +NumberOfControlPoints:0 +CONNECTION +Box39:Widget:Box36:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box39:Out:Box00:Direction +NumberOfControlPoints:0 +CONNECTION +Box01:BoxChange:boxChange:boxChange NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/ManualPaint2.bbs b/bbtk/bbs/boxes/ManualPaint2.bbs index cae9275..1301012 100644 --- a/bbtk/bbs/boxes/ManualPaint2.bbs +++ b/bbtk/bbs/boxes/ManualPaint2.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs +# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs # ---------------------------------- include std @@ -8,6 +8,7 @@ include itkvtk include creaMaracasVisu include wx include std +include vtk define ManualPaint2 creaMaracasVisu @@ -83,6 +84,55 @@ new std:MagicBox Box20 new std:GetVectorStringElement Box21 set Box21.I "6" +new vtk:vtkImageDataPointerRelay Box22 + +new vtk:UpdateRender Box23 + set Box23.Active "true" + +new std:MagicBox Box24 + +new std:MagicBox Box25 + +new std:MagicBox Box26 + +new vtk:UpdateRender Box27 + set Box27.Active "true" + +new vtk:UpdateRender Box28 + set Box28.Active "true" + +new wx:LayoutLine Box29 + +new wx:CommandButton Box30 + set Box30.Label "Undo" + +new wx:CommandButton Box31 + set Box31.Label "Redo" + +new creaMaracasVisu:ManualPaint_UndoRedo Box32 + set Box32.Type "2" + +new creaMaracasVisu:ManualPaint_UndoRedo Box33 + set Box33.Type "1" + +new vtk:UpdateRender Box34 + +new std:MagicBox Box38 + +new wx:LayoutLine Box36 + set Box36.Orientation "H" + +new wx:RadioButton Box37 + set Box37.In "1" + set Box37.In0 "2D" + set Box37.In1 "3D" + +new wx:RadioButton Box39 + set Box39.In "1" + set Box39.In0 "YZ" + set Box39.In1 "XZ" + set Box39.In2 "XY" + connect Box01.Out Box02.In connect Box04.Out0 Box02.In0 @@ -97,7 +147,6 @@ connect Box04.Out8 Box02.In8 connect Box04.Out9 Box02.In9 connect Box02.Out Box05.In connect Box03.Widget Box09.Widget2 -connect Box00.Out Box03.In connect Box05.Out Box00.Active connect Box02.Out Box11.In connect Box11.Out Box00.DistanceFill @@ -118,7 +167,6 @@ connect Box17.Out6 Box01.In6 connect Box17.Out7 Box01.In7 connect Box17.Out8 Box01.In8 connect Box17.Out9 Box01.In9 -connect Box18.Widget Box19.Widget1 connect Box01.Widget Box19.Widget2 connect Box19.Widget Box09.Widget1 connect Box18.Out Box00.Tool @@ -127,6 +175,33 @@ connect Box20.Out Box17.In0 connect Box20.Out Box04.In0 connect Box02.Out Box21.In connect Box21.Out Box00.ToleranceFill +connect Box22.Out Box00.Image2 +connect Box22.Out Box03.In +connect Box24.Out Box03.WxVtkBaseView +connect Box25.Out Box03.WxVtkBaseView1 +connect Box26.Out Box03.WxVtkBaseView2 +connect Box24.Out Box23.Renderer +connect Box00.BoxChange Box23.BoxExecute +connect Box25.Out Box27.Renderer +connect Box26.Out Box28.Renderer +connect Box00.BoxChange Box27.BoxExecute +connect Box00.BoxChange Box28.BoxExecute +connect Box29.Widget Box19.Widget1 +connect Box30.Widget Box29.Widget2 +connect Box31.Widget Box29.Widget3 +connect Box00.Manualpaintmodel Box32.Manualpaintmodel +connect Box31.BoxChange Box32.BoxExecute +connect Box30.BoxChange Box33.BoxExecute +connect Box00.Manualpaintmodel Box33.Manualpaintmodel +connect Box38.Out Box00.Point +connect Box24.Out Box33.wxvtkbaseview +connect Box24.Out Box32.wxvtkbaseview +connect Box36.Widget Box29.Widget1 +connect Box18.Widget Box36.Widget1 +connect Box37.Widget Box36.Widget2 +connect Box37.Out Box00.2D3D +connect Box39.Widget Box36.Widget4 +connect Box39.Out Box00.Direction # Complex input ports input TitleOptions Box20.In " " @@ -135,18 +210,19 @@ input SizeDistance_ManualPaint_Model Box04.In2 " " input GrayLevel_ManualPaint_Model Box04.In3 " " input MinRange_ManualPaint_Model Box04.In4 " " input MaxRange_ManualPaint_Model Box04.In5 " " -input Point_ManualPaint_Model Box00.Point " " input Image_ManualPaint_Model Box00.Image " " -input Image2_ManualPaint_Model Box00.Image2 " " input BoxExecute_ManualPaint_Model Box00.BoxExecute " " -input wxvtkbaseview1 Box03.WxVtkBaseView " " -input wxvtkbaseview2 Box03.WxVtkBaseView1 " " -input wxvtkbaseview3 Box03.WxVtkBaseView2 " " input Tolerance_Fill_ManualPaint_Model Box04.In6 " " input colorBarPosition Box03.ColorBarPosition " " +input Image2_ManualPaint_Model Box22.In " " +input wxvtkbaseview1 Box24.In " " +input wxvtkbaseview2 Box25.In " " +input wxvtkbaseview3 Box26.In " " +input Point_ManualPaint_Model Box38.In " " # Complex output ports output widgetOut Box09.Widget " " +output boxChange Box01.BoxChange " " endefine diff --git a/bbtk/bbs/boxes/ViewerByPlane.bbg b/bbtk/bbs/boxes/ViewerByPlane.bbg index 5511b1d..2d3b103 100644 --- a/bbtk/bbs/boxes/ViewerByPlane.bbg +++ b/bbtk/bbs/boxes/ViewerByPlane.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbg +# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbg # ---------------------------------- APP_START @@ -13,7 +13,7 @@ PACKAGENAME:creaMaracasVisu COMPLEXOUTPUTS:12 COMPLEX_PORT widget -268.900118:-337.558426:-900.000000 +264.101477:-335.991174:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview1 @@ -72,8 +72,8 @@ BOXES:52 BOX creaMaracasVisu:ViewerNV:Box01 ISEXEC:FALSE -211.855534:-40.516873:-900.000000 -275.575534:-50.516873:-900.000000 +48.412888:-18.925728:-900.000000 +112.132888:-28.925728:-900.000000 PORT ColorLevel:"900" PORT @@ -85,7 +85,7 @@ BOX vtk:CreateImage:Box02 ISEXEC:FALSE 174.082801:33.300140:-900.000000 -219.657801:23.300140:-900.000000 +213.432801:23.300140:-900.000000 PORT InitialValue:"500" FIN_BOX @@ -93,19 +93,19 @@ BOX creaVtk:MHDFileInfo:Box03 ISEXEC:FALSE 180.117126:68.190785:-900.000000 -225.692126:58.190785:-900.000000 +217.742126:58.190785:-900.000000 FIN_BOX BOX std:ConcatStrings:Box04 ISEXEC:FALSE 117.779237:88.449986:-900.000000 -163.354237:78.449986:-900.000000 +157.504237:78.449986:-900.000000 FIN_BOX BOX creaVtk:ReadMHDPlane:Box05 ISEXEC:FALSE -119.481412:-151.432628:-900.000000 --73.906412:-161.432628:-900.000000 +-78.131412:-161.432628:-900.000000 PORT DirectionPlane:"XY" PORT @@ -117,7 +117,7 @@ BOX std:GetVectorIntElement:Box06 ISEXEC:FALSE -166.080203:-58.913810:-900.000000 --94.905203:-68.913810:-900.000000 +-119.630203:-68.913810:-900.000000 PORT I:"2" FIN_BOX @@ -125,7 +125,7 @@ BOX std:ConcatStrings:Box07 ISEXEC:FALSE -181.496858:-153.259339:-900.000000 --135.921858:-163.259339:-900.000000 +-141.771858:-163.259339:-900.000000 PORT In1:"0 0 " FIN_BOX @@ -133,7 +133,7 @@ BOX vtk:InversCrop:Box08 ISEXEC:FALSE -157.964973:-189.296113:-900.000000 --112.389973:-199.296113:-900.000000 +-121.164973:-199.296113:-900.000000 PORT Active:"false" PORT @@ -143,7 +143,7 @@ BOX creaVtk:ReadMHDPlane:Box12 ISEXEC:FALSE 199.206515:-232.573203:-900.000000 -244.781515:-242.573203:-900.000000 +240.556515:-242.573203:-900.000000 PORT DirectionPlane:"ZX" PORT @@ -154,16 +154,16 @@ FIN_BOX BOX std:GetVectorIntElement:Box13 ISEXEC:FALSE -178.302090:-146.764363:-900.000000 -249.477090:-156.764363:-900.000000 +171.778506:-136.403376:-900.000000 +218.228506:-146.403376:-900.000000 PORT I:"1" FIN_BOX BOX vtk:InversCrop:Box14 ISEXEC:FALSE -132.269209:-266.078164:-900.000000 -177.844209:-276.078164:-900.000000 +129.386112:-265.553964:-900.000000 +166.186112:-275.553964:-900.000000 PORT Active:"false" PORT @@ -173,7 +173,7 @@ BOX std:ConcatStrings:Box15 ISEXEC:FALSE 143.293749:-234.065468:-900.000000 -188.868749:-244.065468:-900.000000 +183.018749:-244.065468:-900.000000 PORT In1:"0 " PORT @@ -183,7 +183,7 @@ BOX creaVtk:ReadMHDPlane:Box18 ISEXEC:FALSE 557.636900:-248.888075:-900.000000 -603.211900:-258.888075:-900.000000 +598.986900:-258.888075:-900.000000 PORT DirectionPlane:"YZ" PORT @@ -195,7 +195,7 @@ BOX std:GetVectorIntElement:Box19 ISEXEC:FALSE 484.087763:-153.495430:-900.000000 -555.262763:-163.495430:-900.000000 +530.537763:-163.495430:-900.000000 PORT I:"0" FIN_BOX @@ -203,7 +203,7 @@ BOX vtk:InversCrop:Box20 ISEXEC:FALSE 488.622102:-290.583946:-900.000000 -534.197102:-300.583946:-900.000000 +525.422102:-300.583946:-900.000000 PORT Active:"false" PORT @@ -213,7 +213,7 @@ BOX std:ConcatStrings:Box21 ISEXEC:FALSE 476.692928:-250.911144:-900.000000 -522.267928:-260.911144:-900.000000 +516.417928:-260.911144:-900.000000 PORT In3:" 0 0" FIN_BOX @@ -221,13 +221,13 @@ BOX std:MagicBox:Box22 ISEXEC:FALSE 302.259593:36.536162:-900.000000 -347.834593:26.536162:-900.000000 +338.334593:26.536162:-900.000000 FIN_BOX BOX std:CreateArithmeticSuiteVector:Box25 ISEXEC:FALSE -293.894172:-33.421666:-900.000000 --222.719172:-43.421666:-900.000000 +-239.919172:-43.421666:-900.000000 PORT Delta:"0" PORT @@ -237,7 +237,7 @@ BOX std:GetVectorIntElement:Box28 ISEXEC:FALSE -284.597642:-2.473740:-900.000000 --213.422642:-12.473740:-900.000000 +-238.147642:-12.473740:-900.000000 PORT I:"2" FIN_BOX @@ -245,13 +245,13 @@ BOX std:GetVectorIntPointer:Box29 ISEXEC:FALSE -300.879747:-52.905942:-900.000000 --255.304747:-62.905942:-900.000000 +-255.579747:-62.905942:-900.000000 FIN_BOX BOX std:SetElementVectorVectorInt:Box30 ISEXEC:FALSE -276.757602:-207.728892:-900.000000 --205.582602:-217.728892:-900.000000 +-224.457602:-217.728892:-900.000000 PORT Value:"0" FIN_BOX @@ -259,7 +259,7 @@ BOX std:GetVectorIntElement:Box31 ISEXEC:FALSE -261.829321:-110.984570:-900.000000 --190.654321:-120.984570:-900.000000 +-215.379321:-120.984570:-900.000000 PORT I:"2" FIN_BOX @@ -267,7 +267,7 @@ BOX std:SetElementVectorVectorInt:Box32 ISEXEC:FALSE -286.437534:-72.057179:-900.000000 --215.262534:-82.057179:-900.000000 +-234.137534:-82.057179:-900.000000 PORT I:"-1" PORT @@ -277,7 +277,7 @@ BOX std:CreateArithmeticSuiteVector:Box33 ISEXEC:FALSE 6.511113:-140.436711:-900.000000 -77.686113:-150.436711:-900.000000 +60.486113:-150.436711:-900.000000 PORT Delta:"0" PORT @@ -287,7 +287,7 @@ BOX std:GetVectorIntElement:Box34 ISEXEC:FALSE 33.729239:-96.227285:-900.000000 -104.904239:-106.227285:-900.000000 +80.179239:-106.227285:-900.000000 PORT I:"1" FIN_BOX @@ -295,13 +295,13 @@ BOX std:GetVectorIntPointer:Box35 ISEXEC:FALSE 15.882466:-151.478702:-900.000000 -61.457466:-161.478702:-900.000000 +61.182466:-161.478702:-900.000000 FIN_BOX BOX std:SetElementVectorVectorInt:Box36 ISEXEC:FALSE 10.168341:-290.887328:-900.000000 -81.343341:-300.887328:-900.000000 +62.468341:-300.887328:-900.000000 PORT Value:"0" FIN_BOX @@ -309,7 +309,7 @@ BOX std:GetVectorIntElement:Box37 ISEXEC:FALSE 93.568160:-197.425236:-900.000000 -164.743160:-207.425236:-900.000000 +140.018160:-207.425236:-900.000000 PORT I:"2" FIN_BOX @@ -317,7 +317,7 @@ BOX std:SetElementVectorVectorInt:Box38 ISEXEC:FALSE 30.324678:-170.629940:-900.000000 -101.499678:-180.629940:-900.000000 +82.624678:-180.629940:-900.000000 PORT I:"-1" PORT @@ -327,7 +327,7 @@ BOX std:CreateArithmeticSuiteVector:Box39 ISEXEC:FALSE 335.330997:-126.674951:-900.000000 -406.505997:-136.674951:-900.000000 +389.305997:-136.674951:-900.000000 PORT Delta:"0" PORT @@ -337,7 +337,7 @@ BOX std:GetVectorIntElement:Box40 ISEXEC:FALSE 346.372632:-90.516177:-900.000000 -417.547632:-100.516177:-900.000000 +392.822632:-100.516177:-900.000000 PORT I:"0" FIN_BOX @@ -345,13 +345,13 @@ BOX std:GetVectorIntPointer:Box41 ISEXEC:FALSE 333.621850:-146.159227:-900.000000 -379.196850:-156.159227:-900.000000 +378.921850:-156.159227:-900.000000 FIN_BOX BOX std:SetElementVectorVectorInt:Box42 ISEXEC:FALSE 363.744192:-321.568099:-900.000000 -434.919192:-331.568099:-900.000000 +416.044192:-331.568099:-900.000000 PORT Value:"0" FIN_BOX @@ -359,7 +359,7 @@ BOX std:GetVectorIntElement:Box43 ISEXEC:FALSE 376.252415:-203.353981:-900.000000 -447.427415:-213.353981:-900.000000 +422.702415:-213.353981:-900.000000 PORT I:"2" FIN_BOX @@ -367,7 +367,7 @@ BOX std:SetElementVectorVectorInt:Box44 ISEXEC:FALSE 355.404325:-167.145530:-900.000000 -426.579325:-177.145530:-900.000000 +407.704325:-177.145530:-900.000000 PORT I:"-1" PORT @@ -377,7 +377,7 @@ BOX std:Div:Box49 ISEXEC:FALSE -275.966276:-16.777053:-900.000000 --243.191276:-26.777053:-900.000000 +-246.641276:-26.777053:-900.000000 PORT In2:"10" FIN_BOX @@ -385,7 +385,7 @@ BOX std:Div:Box50 ISEXEC:FALSE -207.785042:-78.441508:-900.000000 --175.010042:-88.441508:-900.000000 +-178.460042:-88.441508:-900.000000 PORT In2:"10" FIN_BOX @@ -393,7 +393,7 @@ BOX std:ConcatStrings:Box51 ISEXEC:FALSE -154.792316:47.329778:-900.000000 --109.217316:37.329778:-900.000000 +-115.067316:37.329778:-900.000000 PORT In1:"10" FIN_BOX @@ -401,15 +401,15 @@ BOX std:Div:Box53 ISEXEC:FALSE 17.363359:-115.346277:-900.000000 -50.138359:-125.346277:-900.000000 +46.688359:-125.346277:-900.000000 PORT In2:"10" FIN_BOX BOX std:Div:Box54 ISEXEC:FALSE -133.171773:-165.568210:-900.000000 -165.946773:-175.568210:-900.000000 +136.625435:-162.114548:-900.000000 +165.950435:-172.114548:-900.000000 PORT In2:"10" FIN_BOX @@ -417,7 +417,7 @@ BOX std:Div:Box55 ISEXEC:FALSE 432.982443:-185.759365:-900.000000 -465.757443:-195.759365:-900.000000 +462.307443:-195.759365:-900.000000 PORT In2:"10" FIN_BOX @@ -425,7 +425,7 @@ BOX std:Div:Box56 ISEXEC:FALSE 341.378011:-106.711972:-900.000000 -374.153011:-116.711972:-900.000000 +370.703011:-116.711972:-900.000000 PORT In2:"10" FIN_BOX @@ -433,7 +433,7 @@ BOX std:ConcatStrings:Box57 ISEXEC:FALSE 430.268991:17.041475:-900.000000 -475.843991:7.041475:-900.000000 +469.993991:7.041475:-900.000000 PORT In1:"10" FIN_BOX @@ -441,7 +441,7 @@ BOX std:GetVectorIntElement:Box63 ISEXEC:FALSE -159.815354:-107.735296:-900.000000 --88.640354:-117.735296:-900.000000 +-113.365354:-117.735296:-900.000000 PORT I:"0" FIN_BOX @@ -449,7 +449,7 @@ BOX std:MathOperation:Box64 ISEXEC:FALSE -176.701442:-125.216736:-900.000000 --131.126442:-135.216736:-900.000000 +-135.651442:-135.216736:-900.000000 PORT Type:"2" FIN_BOX @@ -457,35 +457,35 @@ BOX std:ConcatStrings:Box65 ISEXEC:FALSE -154.917793:-90.369793:-900.000000 --109.342793:-100.369793:-900.000000 +-115.192793:-100.369793:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box66 ISEXEC:FALSE -176.217814:-197.615533:-900.000000 -247.392814:-207.615533:-900.000000 +176.911170:-193.108718:-900.000000 +223.361170:-203.108718:-900.000000 PORT I:"0" FIN_BOX BOX std:MathOperation:Box67 ISEXEC:FALSE -168.290941:-209.637274:-900.000000 -213.865941:-219.637274:-900.000000 +168.159891:-210.030424:-900.000000 +209.209891:-220.030424:-900.000000 PORT Type:"2" FIN_BOX BOX std:ConcatStrings:Box68 ISEXEC:FALSE -180.436704:-178.255723:-900.000000 -226.011704:-188.255723:-900.000000 +180.052964:-176.912632:-900.000000 +219.777964:-186.912632:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box69 ISEXEC:FALSE 608.807976:-193.668625:-900.000000 -679.982976:-203.668625:-900.000000 +655.257976:-203.668625:-900.000000 PORT I:"0" FIN_BOX @@ -493,7 +493,7 @@ BOX std:MathOperation:Box70 ISEXEC:FALSE 587.334225:-211.984186:-900.000000 -632.909225:-221.984186:-900.000000 +628.384225:-221.984186:-900.000000 PORT Type:"2" FIN_BOX @@ -501,7 +501,7 @@ BOX std:ConcatStrings:Box71 ISEXEC:FALSE 613.705537:-176.303122:-900.000000 -659.280537:-186.303122:-900.000000 +653.430537:-186.303122:-900.000000 FIN_BOX CONNECTIONS:112 CONNECTION @@ -541,9 +541,6 @@ CONNECTION FileNale:FileNale:Box04:In1 NumberOfControlPoints:0 CONNECTION -Box01:Widget:widget:widget -NumberOfControlPoints:0 -CONNECTION Box04:Out:Box12:FileName NumberOfControlPoints:0 CONNECTION @@ -840,4 +837,7 @@ NumberOfControlPoints:0 CONNECTION Box01:wxVtkBaseView4:wxvtkbaseview4:wxvtkbaseview4 NumberOfControlPoints:0 +CONNECTION +Box01:Widget:widget:widget +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/ViewerByPlane.bbs b/bbtk/bbs/boxes/ViewerByPlane.bbs index 9e64860..56375df 100644 --- a/bbtk/bbs/boxes/ViewerByPlane.bbs +++ b/bbtk/bbs/boxes/ViewerByPlane.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbs +# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbs # ---------------------------------- include std @@ -287,7 +287,6 @@ input FileNale Box04.In1 " " input typeMHDorSeek Box22.In " " # Complex output ports -output widget Box01.Widget " " output wxvtkbaseview1 Box01.wxVtkBaseView1 " " output render1 Box01.Renderer1 " " output render2 Box01.Renderer2 " " @@ -299,6 +298,7 @@ output boxchange Box01.BoxChange " " output wxvtkbaseview2 Box01.wxVtkBaseView2 " " output wxvtkbaseview3 Box01.wxVtkBaseView3 " " output wxvtkbaseview4 Box01.wxVtkBaseView4 " " +output widget Box01.Widget " " endefine -- 2.47.1