From: Eduardo DAVILA Date: Fri, 9 Sep 2022 14:07:46 +0000 (+0200) Subject: MeshManager X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=576a80134525d1f6f114462c24dae98953ae143b;p=creaMaracasVisu.git MeshManager --- diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg index 3a19d3e..2f5fecf 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg @@ -52,7 +52,7 @@ COMPLEX_PORT meshmanagermodel -131.800179:136.578564:-900.000000 FIN_COMPLEX_PORT -BOXES:42 +BOXES:50 BOX wx:LayoutLine:Box08 ISEXEC:FALSE @@ -70,8 +70,8 @@ FIN_BOX BOX wx:LayoutLine:Box79 ISEXEC:FALSE --142.444548:-98.205267:-900.000000 --109.124548:-100.705267:-900.000000 +-131.034747:-92.367694:-900.000000 +-97.714747:-94.867694:-900.000000 PORT Orientation:"H" PORT @@ -80,8 +80,8 @@ FIN_BOX BOX wx:CommandButton:Box80 ISEXEC:FALSE --101.602098:27.184371:-900.000000 --79.327098:24.684371:-900.000000 +-107.742295:24.772151:-900.000000 +-85.467295:22.272151:-900.000000 PORT Label:"Run" FIN_BOX @@ -106,8 +106,8 @@ FIN_BOX BOX creaMaracasVisu:PolyDataToActor_Widget:Box37 ISEXEC:FALSE --36.296182:-79.717323:-900.000000 --13.276182:-82.217323:-900.000000 +-73.296848:-81.710893:-900.000000 +-50.276848:-84.210893:-900.000000 PORT color:"0 1 1" FIN_BOX @@ -128,8 +128,8 @@ FIN_BOX BOX wx:CommandButton:Box43 ISEXEC:FALSE --80.312782:7.645253:-900.000000 --58.037782:5.145253:-900.000000 +-48.515334:99.967497:-900.000000 +-26.240334:97.467497:-900.000000 PORT Label:"Reset Tool" FIN_BOX @@ -146,10 +146,10 @@ FIN_BOX BOX creaVtk:MeshManager_tool:Box45 ISEXEC:FALSE --88.859950:-132.940417:-900.000000 --66.359950:-135.440417:-900.000000 +-88.421365:-133.817588:-900.000000 +-65.921365:-136.317588:-900.000000 PORT -Tool:"30" +Tool:"32" FIN_BOX BOX std:MagicBox:Box46 @@ -196,8 +196,8 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE --110.583963:-80.124953:-900.000000 --87.788963:-82.624953:-900.000000 +-109.786535:-80.922381:-900.000000 +-86.991535:-83.422381:-900.000000 PORT colorMesh:"0 1 1" FIN_BOX @@ -222,46 +222,24 @@ ISEXEC:FALSE -68.496444:-37.353291:-900.000000 FIN_BOX BOX -creaVtk:MeshManager:Box92 -ISEXEC:FALSE --180.315243:-41.937258:-900.000000 --158.285243:-44.437258:-900.000000 -FIN_BOX -BOX -creaVtk:MeshManager_tool:Box93 -ISEXEC:FALSE --256.027180:-70.934538:-900.000000 --233.527180:-73.434538:-900.000000 -PORT -Tool:"35" -FIN_BOX -BOX creaMaracasVisu:wxVtkBaseView_Info:Box96 ISEXEC:FALSE --313.048795:83.525380:-900.000000 --290.433795:81.025380:-900.000000 -FIN_BOX -BOX -creaVtk:MeshManager_tool:Box47 -ISEXEC:FALSE --60.096172:-132.552191:-900.000000 --37.596172:-135.052191:-900.000000 -PORT -Tool:"35" +-283.344596:66.779389:-900.000000 +-260.729596:64.279389:-900.000000 FIN_BOX BOX creaVtk:MeshManager_tool:Box48 ISEXEC:FALSE --31.571613:-131.892967:-900.000000 --9.071613:-134.392967:-900.000000 +-18.488355:-138.446377:-900.000000 +4.011645:-140.946377:-900.000000 PORT -Tool:"35" +Tool:"30" FIN_BOX BOX creaVtk:MeshDeformation:Box39 ISEXEC:FALSE --397.716820:-32.055618:-900.000000 --375.371820:-34.555618:-900.000000 +-394.721222:-55.910522:-900.000000 +-372.376222:-58.410522:-900.000000 PORT TypeIn:"1" FIN_BOX @@ -279,7 +257,7 @@ Max:"40" PORT Min:"1" PORT -ReactiveOnTrack:"false" +ReactiveOnTrack:"true" PORT Title:"Size Deformation" FIN_BOX @@ -300,14 +278,14 @@ FIN_BOX BOX creaMaracasVisu:SetPositionPointPicker:Box55 ISEXEC:FALSE --310.791850:19.311250:-900.000000 --288.061850:16.811250:-900.000000 +-311.449728:25.451447:-900.000000 +-288.719728:22.951447:-900.000000 FIN_BOX BOX creaVtk:PlaneWidget:Box58 ISEXEC:FALSE --352.778408:-17.000645:-900.000000 --330.933408:-19.500645:-900.000000 +-287.189943:-20.987786:-900.000000 +-265.344943:-23.487786:-900.000000 PORT ReactiveType:"1" PORT @@ -318,14 +296,14 @@ FIN_BOX BOX std:MultipleInputs:Box59 ISEXEC:FALSE --347.131093:-0.309984:-900.000000 --325.161093:-2.809984:-900.000000 +-340.840337:-1.508223:-900.000000 +-318.870337:-4.008223:-900.000000 FIN_BOX BOX wx:CommandButton:Box53 ISEXEC:FALSE --390.585705:58.769311:-900.000000 --368.310705:56.269311:-900.000000 +-390.223238:63.843854:-900.000000 +-367.948238:61.343854:-900.000000 PORT Label:"-" FIN_BOX @@ -348,8 +326,8 @@ FIN_BOX BOX creaVtk:PlaneWidget_Base:Box57 ISEXEC:FALSE --366.426208:-31.952370:-900.000000 --344.016208:-34.452370:-900.000000 +-364.671866:-55.197401:-900.000000 +-342.261866:-57.697401:-900.000000 PORT Param:"-1" PORT @@ -358,8 +336,8 @@ FIN_BOX BOX creaVtk:PlaneWidget_Base:Box60 ISEXEC:FALSE --336.100200:-31.943566:-900.000000 --313.690200:-34.443566:-900.000000 +-335.761293:-55.647118:-900.000000 +-313.351293:-58.147118:-900.000000 PORT Param:"1" PORT @@ -368,10 +346,84 @@ FIN_BOX BOX std:MultipleInputs:Box61 ISEXEC:FALSE --418.624501:6.091723:-900.000000 --396.654501:3.591723:-900.000000 +-392.309372:-30.968750:-900.000000 +-370.339372:-33.468750:-900.000000 +FIN_BOX +BOX +creaVtk:MeshManager:Box62 +ISEXEC:FALSE +-92.612946:83.856386:-900.000000 +-70.582946:81.356386:-900.000000 +FIN_BOX +BOX +std:MultipleInputs:Box73 +ISEXEC:FALSE +-373.112551:-77.770897:-900.000000 +-351.142551:-80.270897:-900.000000 +FIN_BOX +BOX +creaVtk:PointPickerNearest:Box75 +ISEXEC:FALSE +-245.458654:35.953945:-900.000000 +-223.008654:33.453945:-900.000000 +PORT +Active:"true" +FIN_BOX +BOX +creaMaracasVisu:wxVtkBaseView_Info:Box76 +ISEXEC:FALSE +-257.781888:76.567173:-900.000000 +-235.166888:74.067173:-900.000000 +PORT +InteractionType:"6" +FIN_BOX +BOX +std:MathOperationVector:Box78 +ISEXEC:FALSE +-249.502786:64.582125:-900.000000 +-224.982786:62.082125:-900.000000 +PORT +Type:"2" +FIN_BOX +BOX +vtk:ImageVtkProperties:Box83 +ISEXEC:FALSE +-239.617313:71.771560:-900.000000 +-217.082313:69.271560:-900.000000 +FIN_BOX +BOX +std:SharedMemory:Box85 +ISEXEC:FALSE +-267.176814:10.062244:-900.000000 +-244.416814:7.562244:-900.000000 +FIN_BOX +BOX +std:SharedMemory:Box86 +ISEXEC:FALSE +-238.648164:9.921269:-900.000000 +-215.888164:7.421269:-900.000000 +FIN_BOX +BOX +std:SharedMemory:Box87 +ISEXEC:FALSE +-209.220835:10.379413:-900.000000 +-186.460835:7.879413:-900.000000 +FIN_BOX +BOX +std:MathOperationVector:Box88 +ISEXEC:FALSE +-277.168407:-46.081613:-900.000000 +-252.648407:-48.581613:-900.000000 +PORT +Type:"3" FIN_BOX -CONNECTIONS:73 +BOX +creaMaracasVisu:SetPosition:Box89 +ISEXEC:FALSE +-278.565230:-57.200311:-900.000000 +-256.905230:-59.700311:-900.000000 +FIN_BOX +CONNECTIONS:95 CONNECTION Box08:Widget:widget:widget NumberOfControlPoints:0 @@ -403,9 +455,6 @@ CONNECTION Box46:Out:Box45:MeshManagerModel NumberOfControlPoints:0 CONNECTION -Box42:BoxChange:Box51:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box45:BoxChange:Box51:In2 NumberOfControlPoints:0 CONNECTION @@ -448,15 +497,6 @@ CONNECTION Box84:Widget:Box44:Widget9 NumberOfControlPoints:0 CONNECTION -Box92:MeshManagerModel:Box93:MeshManagerModel -NumberOfControlPoints:0 -CONNECTION -Box92:MeshBase:Box72:_polydata -NumberOfControlPoints:0 -CONNECTION -Box92:MeshBase:Box37:polydata -NumberOfControlPoints:0 -CONNECTION Box81:Widget:Box08:Widget2 NumberOfControlPoints:0 CONNECTION @@ -478,117 +518,195 @@ CONNECTION Box40:Widget:Box81:Widget2 NumberOfControlPoints:0 CONNECTION -Box92:MeshManagerModel:Box47:MeshManagerModel +Box37:boxchange:Box11:BoxExecute NumberOfControlPoints:0 CONNECTION -Box43:BoxChange:Box48:BoxExecute +Box49:Out:Box39:S NumberOfControlPoints:0 CONNECTION -Box92:MeshManagerModel:Box48:MeshManagerModel +Box50:Widget:Box52:Widget2 NumberOfControlPoints:0 CONNECTION -Box63:BoxChange:Box72:_execute +Box49:Widget:Box52:Widget4 NumberOfControlPoints:0 CONNECTION -Box92:MeshBase:Box45:Mesh +Box52:Widget:Box44:Widget3 NumberOfControlPoints:0 CONNECTION -Box47:BoxChange:Box51:In5 +Box35:Out:Box55:image NumberOfControlPoints:0 CONNECTION -Box37:boxchange:Box11:BoxExecute +Box96:vtkRenderer:Box55:render NumberOfControlPoints:0 CONNECTION -Box49:Out:Box39:S +Box71:Out:Box55:wxvtkbaseview NumberOfControlPoints:0 CONNECTION -Box50:Widget:Box52:Widget2 +Box50:Out:Box58:Active NumberOfControlPoints:0 CONNECTION -Box49:Widget:Box52:Widget4 +Box50:BoxChange:Box59:In2 NumberOfControlPoints:0 CONNECTION -Box52:Widget:Box44:Widget3 +Box59:BoxChange:Box58:BoxExecute NumberOfControlPoints:0 CONNECTION -Box35:Out:Box55:image +Box96:vtkRenderer:Box58:Renderer NumberOfControlPoints:0 CONNECTION -Box96:vtkRenderer:Box55:render +Box35:Out:Box58:In NumberOfControlPoints:0 CONNECTION -Box67:Out:Box93:Mesh +Box53:Widget:Box56:Widget2 NumberOfControlPoints:0 CONNECTION -Box67:Out:Box39:In +Box54:Widget:Box56:Widget4 NumberOfControlPoints:0 CONNECTION -Box71:Out:Box55:wxvtkbaseview +Box56:Widget:Box52:Widget6 NumberOfControlPoints:0 CONNECTION -Box50:Out:Box58:Active +Box58:Base:Box57:In NumberOfControlPoints:0 CONNECTION -Box50:BoxChange:Box59:In2 +Box58:Base:Box60:In NumberOfControlPoints:0 CONNECTION -Box55:boxchange:Box59:In4 +Box53:BoxChange:Box57:BoxExecute NumberOfControlPoints:0 CONNECTION -Box59:BoxChange:Box58:BoxExecute +Box54:BoxChange:Box60:BoxExecute NumberOfControlPoints:0 CONNECTION -Box55:PositionWorld:Box58:Origin +Box58:Center:Box39:Center NumberOfControlPoints:0 CONNECTION -Box55:normal:Box58:NormalIn +Box49:BoxChange:Box61:In1 NumberOfControlPoints:0 CONNECTION -Box96:vtkRenderer:Box58:Renderer +Box58:BoxChange:Box61:In2 NumberOfControlPoints:0 CONNECTION -Box35:Out:Box58:In +Box61:BoxChange:Box39:BoxExecute NumberOfControlPoints:0 CONNECTION -Box80:BoxChange:Box93:BoxExecute +Box50:Out:Box39:Active NumberOfControlPoints:0 CONNECTION -Box53:Widget:Box56:Widget2 +Box67:Out:Box62:Mesh NumberOfControlPoints:0 CONNECTION -Box54:Widget:Box56:Widget4 +Box62:MeshTemp:Box39:In NumberOfControlPoints:0 CONNECTION -Box56:Widget:Box52:Widget6 +Box62:MeshManagerModel:Box48:MeshManagerModel NumberOfControlPoints:0 CONNECTION -Box58:Base:Box57:In +Box62:MeshTemp:Box37:polydata NumberOfControlPoints:0 CONNECTION -Box58:Base:Box60:In +Box62:MeshTemp:Box72:_polydata NumberOfControlPoints:0 CONNECTION -Box53:BoxChange:Box57:BoxExecute +Box50:Out:Box37:active NumberOfControlPoints:0 CONNECTION -Box54:BoxChange:Box60:BoxExecute +Box62:MeshTemp:Box45:Mesh NumberOfControlPoints:0 CONNECTION -Box55:pointid:Box39:EdgeId +Box42:BoxChange:Box51:BoxExecute NumberOfControlPoints:0 CONNECTION -Box58:Center:Box39:Center +Box43:BoxChange:Box48:BoxExecute NumberOfControlPoints:0 CONNECTION -Box49:BoxChange:Box61:In1 +Box67:Out:Box48:Mesh NumberOfControlPoints:0 CONNECTION -Box58:BoxChange:Box61:In2 +Box39:BoxChange:Box73:In2 NumberOfControlPoints:0 CONNECTION -Box61:BoxChange:Box39:BoxExecute +Box63:BoxChange:Box73:In3 NumberOfControlPoints:0 CONNECTION -Box50:Out:Box39:Active +Box73:BoxChange:Box72:_execute +NumberOfControlPoints:0 +CONNECTION +Box62:MeshTemp:Box75:Mesh +NumberOfControlPoints:0 +CONNECTION +Box64:Out:Box76:wxVtkBaseView +NumberOfControlPoints:0 +CONNECTION +Box65:Out:Box76:wxVtkBaseView2 +NumberOfControlPoints:0 +CONNECTION +Box69:Out:Box76:wxVtkBaseView3 +NumberOfControlPoints:0 +CONNECTION +Box76:Point:Box78:In0 +NumberOfControlPoints:0 +CONNECTION +Box35:Out:Box83:In +NumberOfControlPoints:0 +CONNECTION +Box83:Spacing:Box78:In1 +NumberOfControlPoints:0 +CONNECTION +Box78:Out:Box75:Point +NumberOfControlPoints:0 +CONNECTION +Box55:PositionWorld:Box85:In +NumberOfControlPoints:0 +CONNECTION +Box85:Out:Box58:Origin +NumberOfControlPoints:0 +CONNECTION +Box75:Normal:Box86:In1 +NumberOfControlPoints:0 +CONNECTION +Box55:normal:Box86:In +NumberOfControlPoints:0 +CONNECTION +Box86:Out:Box58:NormalIn +NumberOfControlPoints:0 +CONNECTION +Box55:boxchange:Box59:In4 +NumberOfControlPoints:0 +CONNECTION +Box78:BoxChange:Box59:In6 +NumberOfControlPoints:0 +CONNECTION +Box76:BoxChange:Box78:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box75:PointOut:Box85:In1 +NumberOfControlPoints:0 +CONNECTION +Box55:pointid:Box87:In +NumberOfControlPoints:0 +CONNECTION +Box75:PointId:Box87:In1 +NumberOfControlPoints:0 +CONNECTION +Box87:Out:Box39:EdgeId +NumberOfControlPoints:0 +CONNECTION +Box58:Center:Box88:In0 +NumberOfControlPoints:0 +CONNECTION +Box83:Spacing:Box88:In1 +NumberOfControlPoints:0 +CONNECTION +Box88:Out:Box89:Point +NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box89:wxVtkBaseView +NumberOfControlPoints:0 +CONNECTION +Box58:BoxChange:Box89:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box50:BoxChange:Box89:Active NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs index 8b6180b..2f417db 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs @@ -52,7 +52,7 @@ new wx:LayoutLine Box44 set Box44.WinTitle "Mesh Action" new creaVtk:MeshManager_tool Box45 - set Box45.Tool "30" + set Box45.Tool "32" new std:MagicBox Box46 @@ -78,18 +78,10 @@ new wx:LayoutTab Box82 new wx:OutputText Box84 -new creaVtk:MeshManager Box92 - -new creaVtk:MeshManager_tool Box93 - set Box93.Tool "35" - new creaMaracasVisu:wxVtkBaseView_Info Box96 -new creaVtk:MeshManager_tool Box47 - set Box47.Tool "35" - new creaVtk:MeshManager_tool Box48 - set Box48.Tool "35" + set Box48.Tool "30" new creaVtk:MeshDeformation Box39 set Box39.TypeIn "1" @@ -99,7 +91,7 @@ new wx:Slider Box49 set Box49.Label "true" set Box49.Max "40" set Box49.Min "1" - set Box49.ReactiveOnTrack "false" + set Box49.ReactiveOnTrack "true" set Box49.Title "Size Deformation" new wx:CheckBox Box50 @@ -135,13 +127,38 @@ new creaVtk:PlaneWidget_Base Box60 new std:MultipleInputs Box61 +new creaVtk:MeshManager Box62 + +new std:MultipleInputs Box73 + +new creaVtk:PointPickerNearest Box75 + set Box75.Active "true" + +new creaMaracasVisu:wxVtkBaseView_Info Box76 + set Box76.InteractionType "6" + +new std:MathOperationVector Box78 + set Box78.Type "2" + +new vtk:ImageVtkProperties Box83 + +new std:SharedMemory Box85 + +new std:SharedMemory Box86 + +new std:SharedMemory Box87 + +new std:MathOperationVector Box88 + set Box88.Type "3" + +new creaMaracasVisu:SetPosition Box89 + connect Box66.Out Box11.Renderer connect Box66.Out Box37.render connect Box79.Widget Box40.Widget2 connect Box80.Widget Box44.Widget5 connect Box46.Out Box45.MeshManagerModel -connect Box42.BoxChange Box51.BoxExecute connect Box45.BoxChange Box51.In2 connect Box71.Out Box72._wxvtkbaseview3D1 connect Box64.Out Box72._wxvtkbaseview2D1 @@ -151,9 +168,6 @@ connect Box72._widget Box79.Widget6 connect Box44.Widget Box82.Widget2 connect Box82.Widget Box79.Widget2 connect Box84.Widget Box44.Widget9 -connect Box92.MeshManagerModel Box93.MeshManagerModel -connect Box92.MeshBase Box72._polydata -connect Box92.MeshBase Box37.polydata connect Box81.Widget Box08.Widget2 connect Box42.Widget Box44.Widget6 connect Box43.Widget Box44.Widget7 @@ -161,12 +175,6 @@ connect Box71.Out Box96.wxVtkBaseView connect Box96.vtkRenderer Box66.In connect Box37.widget Box79.Widget7 connect Box40.Widget Box81.Widget2 -connect Box92.MeshManagerModel Box47.MeshManagerModel -connect Box43.BoxChange Box48.BoxExecute -connect Box92.MeshManagerModel Box48.MeshManagerModel -connect Box63.BoxChange Box72._execute -connect Box92.MeshBase Box45.Mesh -connect Box47.BoxChange Box51.In5 connect Box37.boxchange Box11.BoxExecute connect Box49.Out Box39.S connect Box50.Widget Box52.Widget2 @@ -174,18 +182,12 @@ connect Box49.Widget Box52.Widget4 connect Box52.Widget Box44.Widget3 connect Box35.Out Box55.image connect Box96.vtkRenderer Box55.render -connect Box67.Out Box93.Mesh -connect Box67.Out Box39.In connect Box71.Out Box55.wxvtkbaseview connect Box50.Out Box58.Active connect Box50.BoxChange Box59.In2 -connect Box55.boxchange Box59.In4 connect Box59.BoxChange Box58.BoxExecute -connect Box55.PositionWorld Box58.Origin -connect Box55.normal Box58.NormalIn connect Box96.vtkRenderer Box58.Renderer connect Box35.Out Box58.In -connect Box80.BoxChange Box93.BoxExecute connect Box53.Widget Box56.Widget2 connect Box54.Widget Box56.Widget4 connect Box56.Widget Box52.Widget6 @@ -193,12 +195,50 @@ connect Box58.Base Box57.In connect Box58.Base Box60.In connect Box53.BoxChange Box57.BoxExecute connect Box54.BoxChange Box60.BoxExecute -connect Box55.pointid Box39.EdgeId connect Box58.Center Box39.Center connect Box49.BoxChange Box61.In1 connect Box58.BoxChange Box61.In2 connect Box61.BoxChange Box39.BoxExecute connect Box50.Out Box39.Active +connect Box67.Out Box62.Mesh +connect Box62.MeshTemp Box39.In +connect Box62.MeshManagerModel Box48.MeshManagerModel +connect Box62.MeshTemp Box37.polydata +connect Box62.MeshTemp Box72._polydata +connect Box50.Out Box37.active +connect Box62.MeshTemp Box45.Mesh +connect Box42.BoxChange Box51.BoxExecute +connect Box43.BoxChange Box48.BoxExecute +connect Box67.Out Box48.Mesh +connect Box39.BoxChange Box73.In2 +connect Box63.BoxChange Box73.In3 +connect Box73.BoxChange Box72._execute +connect Box62.MeshTemp Box75.Mesh +connect Box64.Out Box76.wxVtkBaseView +connect Box65.Out Box76.wxVtkBaseView2 +connect Box69.Out Box76.wxVtkBaseView3 +connect Box76.Point Box78.In0 +connect Box35.Out Box83.In +connect Box83.Spacing Box78.In1 +connect Box78.Out Box75.Point +connect Box55.PositionWorld Box85.In +connect Box85.Out Box58.Origin +connect Box75.Normal Box86.In1 +connect Box55.normal Box86.In +connect Box86.Out Box58.NormalIn +connect Box55.boxchange Box59.In4 +connect Box78.BoxChange Box59.In6 +connect Box76.BoxChange Box78.BoxExecute +connect Box75.PointOut Box85.In1 +connect Box55.pointid Box87.In +connect Box75.PointId Box87.In1 +connect Box87.Out Box39.EdgeId +connect Box58.Center Box88.In0 +connect Box83.Spacing Box88.In1 +connect Box88.Out Box89.Point +connect Box71.Out Box89.wxVtkBaseView +connect Box58.BoxChange Box89.BoxExecute +connect Box50.BoxChange Box89.Active # Complex input ports input mesh Box67.In " " diff --git a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg index cce1603..c11ccdb 100644 --- a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg +++ b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg @@ -23,7 +23,7 @@ COMPLEX_PORT vtkprop3D 60.073531:-84.713710:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:5 +COMPLEXINPUTS:6 COMPLEX_PORT render 67.330358:11.206273:-900.000000 @@ -44,6 +44,10 @@ COMPLEX_PORT scalarvisibility 90.426694:9.453874:-900.000000 FIN_COMPLEX_PORT +COMPLEX_PORT +active +16.755647:9.838178:-900.000000 +FIN_COMPLEX_PORT BOXES:8 BOX wx:LayoutLine:Box04 @@ -117,7 +121,7 @@ ISEXEC:FALSE -27.821638:-25.674906:-900.000000 -5.851638:-28.174906:-900.000000 FIN_BOX -CONNECTIONS:18 +CONNECTIONS:19 CONNECTION Box10:Out:Box11:Renderer NumberOfControlPoints:0 @@ -172,4 +176,7 @@ NumberOfControlPoints:0 CONNECTION Box09:Out:vtkprop3D:vtkprop3D NumberOfControlPoints:0 +CONNECTION +active:active:Box09:Active +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs index 1a2cac3..7b75044 100644 --- a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs +++ b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs @@ -62,6 +62,7 @@ input polydata Box09.In " " input color Box09.Colour " " input boxexecute Box08.In3 " " input scalarvisibility Box09.ScalarVisibility " " +input active Box09.Active " " # Complex output ports output widget Box04.Widget " "