From: Eduardo DAVILA Date: Sat, 22 Oct 2022 10:48:04 +0000 (+0200) Subject: #3490 MeshManager X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6a63f30a2973240faa4530b962484891e34a1c5a;p=creaMaracasVisu.git #3490 MeshManager --- diff --git a/bbtk/bbs/boxes/Mesh_Application.bbg b/bbtk/bbs/boxes/Mesh_Application.bbg index 4e5070b..1728b2d 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbg +++ b/bbtk/bbs/boxes/Mesh_Application.bbg @@ -61,13 +61,13 @@ BOX creaMaracasVisu:ImageChangeInformation:Box07 ISEXEC:FALSE -17.999545:79.197539:-900.000000 -10.440000:76.697539:-900.000000 +5.150455:76.697539:-900.000000 FIN_BOX BOX creaVtk:MeshManager:Box08 ISEXEC:FALSE -56.340123:64.695194:-900.000000 -9.680000:62.195194:-900.000000 +-34.310123:62.195194:-900.000000 FIN_BOX BOX creaMaracasVisu:PolyDataToActor_Widget:Box15 @@ -93,7 +93,7 @@ BOX wx:LayoutSplit:Box11 ISEXEC:FALSE -96.149542:-151.649281:-900.000000 -22.760000:-154.149281:-900.000000 +-73.389542:-154.149281:-900.000000 PORT Proportion:"5" FIN_BOX @@ -101,19 +101,19 @@ BOX wx:LayoutTab:Box12 ISEXEC:FALSE -1.524229:-28.130070:-900.000000 -33.320000:-30.630070:-900.000000 +31.795771:-30.630070:-900.000000 FIN_BOX BOX creaMaracasVisu:SetPositionPointPicker:Box13 ISEXEC:FALSE --138.682314:-29.214851:-900.000000 --115.952314:-31.714851:-900.000000 +-138.511818:-28.191873:-900.000000 +-115.781818:-30.691873:-900.000000 FIN_BOX BOX wx:LayoutLine:Box14 ISEXEC:FALSE -34.558347:-6.679515:-900.000000 -33.320000:-9.179515:-900.000000 +-1.238347:-9.179515:-900.000000 PORT WinTitle:"Nothing" FIN_BOX @@ -121,7 +121,7 @@ BOX creaMaracasVisu:MeshContours_Widget:Box17 ISEXEC:FALSE -67.813268:-29.868406:-900.000000 -13.960000:-32.368406:-900.000000 +-45.018268:-32.368406:-900.000000 PORT colorMesh:"1 0 0" FIN_BOX @@ -129,13 +129,13 @@ BOX wx:LayoutTab:Box20 ISEXEC:FALSE -97.190069:-143.295975:-900.000000 -33.320000:-145.795975:-900.000000 +-63.870069:-145.795975:-900.000000 FIN_BOX BOX wx:LayoutLine:Box22 ISEXEC:FALSE -100.046840:-134.742726:-900.000000 -33.320000:-137.242726:-900.000000 +-66.726840:-137.242726:-900.000000 PORT Orientation:"H" PORT @@ -145,7 +145,7 @@ BOX std:StringSelect:Box23 ISEXEC:FALSE -0.033273:-37.759625:-900.000000 -24.520000:-40.259625:-900.000000 +24.486727:-40.259625:-900.000000 PORT In0:"false false false false false" PORT @@ -171,7 +171,7 @@ BOX std:GetVectorStringElement:Box24 ISEXEC:FALSE -19.379724:-47.920386:-900.000000 -10.440000:-50.420386:-900.000000 +3.575276:-50.420386:-900.000000 PORT I:"1" FIN_BOX @@ -179,7 +179,7 @@ BOX creaMaracasVisu:InteractorStyleMaracas_Model:Box25 ISEXEC:FALSE -51.175905:-64.745553:-900.000000 -13.960000:-67.245553:-900.000000 +-27.570905:-67.245553:-900.000000 FIN_BOX BOX vtk:SurfaceTexture:Box26 @@ -191,7 +191,7 @@ BOX wx:RadioButton:Box27 ISEXEC:FALSE -138.054594:54.648057:-900.000000 -36.840000:52.148057:-900.000000 +-101.214594:52.148057:-900.000000 PORT In0:"Red" PORT @@ -221,7 +221,7 @@ BOX std:Add:Box30 ISEXEC:FALSE -133.940296:18.182303:-900.000000 -8.680000:15.682303:-900.000000 +-112.905296:15.682303:-900.000000 PORT In2:"-1" FIN_BOX @@ -229,13 +229,13 @@ BOX creaMaracasVisu:wxVtkBaseView_Info:Box31 ISEXEC:FALSE -111.518153:35.023891:-900.000000 -27.280000:32.523891:-900.000000 +-84.238153:32.523891:-900.000000 FIN_BOX BOX std:GetVectorDoubleElement:Box32 ISEXEC:FALSE -185.764370:25.475119:-900.000000 -10.440000:22.975119:-900.000000 +-162.639370:22.975119:-900.000000 PORT I:"1" FIN_BOX @@ -243,7 +243,7 @@ BOX std:GetVectorDoubleElement:Box33 ISEXEC:FALSE -154.849811:22.322554:-900.000000 -10.440000:19.822554:-900.000000 +-131.724811:19.822554:-900.000000 PORT I:"0" FIN_BOX @@ -251,7 +251,7 @@ BOX wx:LayoutLine:Box34 ISEXEC:FALSE -208.241265:-123.706763:-900.000000 -33.320000:-126.206763:-900.000000 +-174.921265:-126.206763:-900.000000 FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplyPatch:Box38 @@ -294,8 +294,8 @@ FIN_BOX BOX creaVtk:PlaneWidget:Box48 ISEXEC:FALSE --140.485334:-56.870762:-900.000000 -19.240000:-59.370762:-900.000000 +-145.259232:-61.985653:-900.000000 +-123.414232:-64.485653:-900.000000 PORT ReactiveType:"0" PORT @@ -306,8 +306,8 @@ FIN_BOX BOX creaVtk:PlaneWidget_Base:Box49 ISEXEC:FALSE --167.015215:-83.458714:-900.000000 -10.440000:-85.958714:-900.000000 +-286.533170:-79.025808:-900.000000 +-264.123170:-81.525808:-900.000000 PORT Param:"-1" PORT @@ -316,8 +316,8 @@ FIN_BOX BOX creaVtk:PlaneWidget_Base:Box50 ISEXEC:FALSE --133.284010:-83.257409:-900.000000 -10.440000:-85.757409:-900.000000 +-253.995440:-80.358971:-900.000000 +-231.585440:-82.858971:-900.000000 PORT Param:"1" PORT @@ -326,16 +326,16 @@ FIN_BOX BOX wx:CommandButton:Box51 ISEXEC:FALSE --170.999028:-74.835470:-900.000000 --148.724028:-77.335470:-900.000000 +-287.789041:-65.458170:-900.000000 +-265.514041:-67.958170:-900.000000 PORT Label:"-" FIN_BOX BOX wx:CommandButton:Box52 ISEXEC:FALSE --136.713117:-74.394727:-900.000000 --114.438117:-76.894727:-900.000000 +-251.116181:-64.335441:-900.000000 +-228.841181:-66.835441:-900.000000 PORT Label:"+" FIN_BOX @@ -343,7 +343,7 @@ BOX wx:LayoutLine:Box53 ISEXEC:FALSE -190.138796:-112.361388:-900.000000 -33.320000:-114.861388:-900.000000 +-156.818796:-114.861388:-900.000000 PORT Orientation:"H" FIN_BOX @@ -351,7 +351,7 @@ BOX wx:CheckBox:Box54 ISEXEC:FALSE -211.761741:-50.048031:-900.000000 -21.000000:-52.548031:-900.000000 +-190.131741:-52.548031:-900.000000 PORT In:"false" PORT @@ -367,7 +367,7 @@ BOX creaVtk:PolyDataNormals:Box56 ISEXEC:FALSE -51.845091:77.243197:-900.000000 -12.200000:74.743197:-900.000000 +-29.550091:74.743197:-900.000000 FIN_BOX BOX std:ConcatStrings_tool:Box57 @@ -389,21 +389,21 @@ BOX creaMaracasVisu:SetPosition:Box59 ISEXEC:FALSE -141.049598:-108.060523:-900.000000 -12.200000:-110.560523:-900.000000 +-119.389598:-110.560523:-900.000000 FIN_BOX BOX std:MathOperationVector:Box60 ISEXEC:FALSE --130.510540:-100.660654:-900.000000 -24.520000:-103.160654:-900.000000 +-133.238482:-99.296683:-900.000000 +-108.718482:-101.796683:-900.000000 PORT Type:"3" FIN_BOX BOX vtk:ImageVtkProperties:Box61 ISEXEC:FALSE --120.867686:-94.582809:-900.000000 -16.720000:-97.082809:-900.000000 +-124.789103:-78.215157:-900.000000 +-102.254103:-80.715157:-900.000000 FIN_BOX BOX std:MagicBox:Box63 @@ -447,7 +447,7 @@ ISEXEC:FALSE 200.941581:77.753594:-900.000000 222.541581:75.253594:-900.000000 FIN_BOX -CONNECTIONS:125 +CONNECTIONS:126 CONNECTION Box08:MeshBase:Box15:polydata NumberOfControlPoints:0 @@ -823,4 +823,7 @@ NumberOfControlPoints:0 CONNECTION Box69:Out:Box17:_wxvtkbaseview2D3 NumberOfControlPoints:0 +CONNECTION +Box13:boxchange:Box22:BoxExecute +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_Application.bbs b/bbtk/bbs/boxes/Mesh_Application.bbs index e51a5e0..79cf0f9 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbs +++ b/bbtk/bbs/boxes/Mesh_Application.bbs @@ -279,6 +279,7 @@ connect Box69.Out Box38.wxvtkbaseview4 connect Box69.Out Box46.wxvtkbaseview4 connect Box69.Out Box47.wxvtkbaseview4 connect Box69.Out Box17._wxvtkbaseview2D3 +connect Box13.boxchange Box22.BoxExecute # Complex input ports input MeshIn Box56.In " "