From 3c498aa5acd893fdce6c9f1d2f6193278b7916fd Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Tue, 5 Sep 2023 16:48:41 +0200 Subject: [PATCH] 3543 Clean Mesh Contours in Mesh Application --- bbtk/bbs/appli/exampleMeshContours_Widget.bbg | 34 ++-- bbtk/bbs/appli/exampleMeshContours_Widget.bbs | 3 +- bbtk/bbs/boxes/MeshContours.bbg | 117 ++++++++----- bbtk/bbs/boxes/MeshContours.bbs | 17 +- bbtk/bbs/boxes/MeshContours_Widget.bbg | 96 ++++++++--- bbtk/bbs/boxes/MeshContours_Widget.bbs | 20 ++- bbtk/bbs/boxes/Mesh_Application.bbg | 71 ++++++-- bbtk/bbs/boxes/Mesh_Application.bbs | 16 ++ bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg | 81 ++++++++- bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs | 17 ++ bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg | 69 +++++++- bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs | 17 ++ bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg | 77 ++++++++- bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs | 17 ++ .../boxes/Mesh_tool_ApplyRegionGrowing.bbg | 113 ++++++++++--- .../boxes/Mesh_tool_ApplyRegionGrowing.bbs | 17 ++ bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbg | 112 +++++++++---- bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbs | 15 +- bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg | 154 ++---------------- bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs | 48 ------ 20 files changed, 740 insertions(+), 371 deletions(-) diff --git a/bbtk/bbs/appli/exampleMeshContours_Widget.bbg b/bbtk/bbs/appli/exampleMeshContours_Widget.bbg index 1a9436c..ec30319 100644 --- a/bbtk/bbs/appli/exampleMeshContours_Widget.bbg +++ b/bbtk/bbs/appli/exampleMeshContours_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleMeshContours_Widget.bbg +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleMeshContours_Widget.bbg # ---------------------------------- APP_START @@ -20,7 +20,7 @@ BOX creaMaracasVisu:ViewerNV:Box01 ISEXEC:FALSE 32.341459:10.598146:-900.000000 -70.941459:8.098146:-900.000000 +53.931459:8.098146:-900.000000 FIN_BOX BOX creaVtk:OutputWindow:Box02 @@ -32,7 +32,7 @@ BOX wx:LayoutSplit:Box03 ISEXEC:TRUE 68.056101:-55.138656:-900.000000 -90.816101:-57.638656:-900.000000 +89.721101:-57.638656:-900.000000 PORT Orientation:"H" FIN_BOX @@ -46,13 +46,13 @@ BOX vtk:PolyDataToActor:Box06 ISEXEC:FALSE -9.034682:-2.862431:-900.000000 -17.245318:-5.362431:-900.000000 +28.040000:-5.362431:-900.000000 FIN_BOX BOX wx:Slider:Box07 ISEXEC:FALSE -52.081203:36.317124:-900.000000 --22.281203:33.817124:-900.000000 +29.800000:33.817124:-900.000000 PORT Label:"true" PORT @@ -90,7 +90,7 @@ BOX creaVtk:PlaneWidget:Box11 ISEXEC:FALSE -7.687604:-19.464654:-900.000000 -14.157396:-21.964654:-900.000000 +19.240000:-21.964654:-900.000000 PORT Active:"true" PORT @@ -108,7 +108,7 @@ BOX wx:CheckBox:Box13 ISEXEC:FALSE -62.868619:4.837773:-900.000000 --41.238619:2.337773:-900.000000 +21.000000:2.337773:-900.000000 PORT In:"false" PORT @@ -124,7 +124,7 @@ BOX std:MathOperationVector:Box16 ISEXEC:FALSE 58.529582:-22.791262:-900.000000 -83.049582:-25.291262:-900.000000 +81.284582:-25.291262:-900.000000 PORT Type:"3" FIN_BOX @@ -138,7 +138,7 @@ BOX wx:CheckBox:Box18 ISEXEC:FALSE -40.995375:-4.821313:-900.000000 --19.365375:-7.321313:-900.000000 +21.000000:-7.321313:-900.000000 PORT In:"false" PORT @@ -148,7 +148,7 @@ BOX wx:ComboBox:Box19 ISEXEC:FALSE -50.066385:11.787639:-900.000000 --23.786385:9.287639:-900.000000 +26.280000:9.287639:-900.000000 PORT In:"Outline Wireframe Surface" PORT @@ -158,19 +158,19 @@ BOX std:MultipleInputs:Box20 ISEXEC:FALSE -50.118200:-11.521970:-900.000000 --28.148200:-14.021970:-900.000000 +21.000000:-14.021970:-900.000000 FIN_BOX BOX std:MultipleInputs:Box21 ISEXEC:FALSE -17.785107:-26.272224:-900.000000 -4.184893:-28.772224:-900.000000 +21.000000:-28.772224:-900.000000 FIN_BOX BOX creaVtk:ImageThreshold:Box65 ISEXEC:FALSE -135.545976:28.220654:-900.000000 --113.365976:25.720654:-900.000000 +13.960000:25.720654:-900.000000 PORT InValue:"255" PORT @@ -184,7 +184,7 @@ BOX vtk:ImageGaussianSmooth:Box66 ISEXEC:FALSE -136.826892:23.002170:-900.000000 --113.931892:20.502170:-900.000000 +12.200000:20.502170:-900.000000 PORT StdDevX:"3" PORT @@ -205,6 +205,8 @@ creaMaracasVisu:MeshContours_Widget:Box27 ISEXEC:FALSE -46.871571:-23.970298:-900.000000 -24.076571:-26.470298:-900.000000 +PORT +active_widget:"true" FIN_BOX BOX creaVtk:MeshReduction_DecimatePro:Box26 @@ -236,7 +238,7 @@ BOX wx:ComboBox:Box30 ISEXEC:FALSE -80.616423:37.874432:-900.000000 --54.336423:35.374432:-900.000000 +26.280000:35.374432:-900.000000 PORT In:"Points Wireframe Surface" PORT @@ -246,7 +248,7 @@ BOX std:MultipleInputs:Box31 ISEXEC:FALSE -43.887960:23.430851:-900.000000 --21.917960:20.930851:-900.000000 +21.000000:20.930851:-900.000000 FIN_BOX CONNECTIONS:53 CONNECTION diff --git a/bbtk/bbs/appli/exampleMeshContours_Widget.bbs b/bbtk/bbs/appli/exampleMeshContours_Widget.bbs index 3dbf321..e5e7790 100644 --- a/bbtk/bbs/appli/exampleMeshContours_Widget.bbs +++ b/bbtk/bbs/appli/exampleMeshContours_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleMeshContours_Widget.bbs +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleMeshContours_Widget.bbs # ---------------------------------- # BBTK GEditor Script @@ -91,6 +91,7 @@ new vtk:MarchingCubes Box67 set Box67.Value "128" new creaMaracasVisu:MeshContours_Widget Box27 + set Box27.active_widget "true" new creaVtk:MeshReduction_DecimatePro Box26 diff --git a/bbtk/bbs/boxes/MeshContours.bbg b/bbtk/bbs/boxes/MeshContours.bbg index 69fec3a..8b108db 100644 --- a/bbtk/bbs/boxes/MeshContours.bbg +++ b/bbtk/bbs/boxes/MeshContours.bbg @@ -14,11 +14,11 @@ COMPLEXOUTPUTS:0 COMPLEXINPUTS:17 COMPLEX_PORT polydata --179.362889:72.225524:-900.000000 +-196.308237:73.621023:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT execute --154.169006:71.947413:-900.000000 +-171.114354:73.342912:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview2D1 @@ -50,7 +50,7 @@ opacity3 FIN_COMPLEX_PORT COMPLEX_PORT activeContour --112.181551:71.322005:-900.000000 +-135.306967:72.318790:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT colorForMesh @@ -74,18 +74,18 @@ freeplane_boxexecute FIN_COMPLEX_PORT COMPLEX_PORT activeContour3D --90.019371:70.662969:-900.000000 +-91.614227:72.457182:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT activeContour_FreePlane --70.730510:70.266188:-900.000000 +-65.945941:70.864259:-900.000000 FIN_COMPLEX_PORT -BOXES:43 +BOXES:45 BOX creaVtk:Cutter:Box22 ISEXEC:FALSE --173.467408:-30.710400:-900.000000 --152.252408:-33.210400:-900.000000 +-173.268051:-34.298827:-900.000000 +-152.053051:-36.798827:-900.000000 FIN_BOX BOX creaVtk:Plane:Box23 @@ -124,8 +124,8 @@ FIN_BOX BOX creaVtk:Cutter:Box29 ISEXEC:FALSE --78.710140:-28.188728:-900.000000 --57.495140:-30.688728:-900.000000 +-80.304996:-39.751436:-900.000000 +-59.089996:-42.251436:-900.000000 FIN_BOX BOX creaVtk:Plane:Box30 @@ -138,8 +138,8 @@ FIN_BOX BOX vtk:PolyDataToActor:Box31 ISEXEC:FALSE --83.541929:-58.633127:-900.000000 --55.501929:-61.133127:-900.000000 +-85.734856:-61.224768:-900.000000 +-57.694856:-63.724768:-900.000000 PORT Colour:"1 1 1" PORT @@ -150,8 +150,8 @@ FIN_BOX BOX creaVtk:Cutter:Box32 ISEXEC:FALSE --11.875361:-30.463013:-900.000000 -9.339639:-32.963013:-900.000000 +-12.074718:-37.639866:-900.000000 +9.140282:-40.139866:-900.000000 FIN_BOX BOX creaVtk:Plane:Box33 @@ -164,8 +164,8 @@ FIN_BOX BOX vtk:PolyDataToActor:Box34 ISEXEC:FALSE --13.229918:-57.091665:-900.000000 -14.810082:-59.591665:-900.000000 +-12.432490:-62.274948:-900.000000 +15.607510:-64.774948:-900.000000 PORT Colour:"1 1 1" PORT @@ -182,14 +182,14 @@ FIN_BOX BOX std:MagicBox:Box36 ISEXEC:FALSE --159.548541:58.012286:-900.000000 --137.948541:55.512286:-900.000000 +-185.066242:51.234147:-900.000000 +-163.466242:48.734147:-900.000000 FIN_BOX BOX std:MagicBox:Box38 ISEXEC:FALSE --185.251076:31.852381:-900.000000 --163.651076:29.352381:-900.000000 +-210.170706:47.601587:-900.000000 +-188.570706:45.101587:-900.000000 FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_Info:Box39 @@ -248,8 +248,8 @@ FIN_BOX BOX std:MultipleInputs:Box55 ISEXEC:FALSE --109.426654:13.240336:-900.000000 --87.456654:10.740336:-900.000000 +-122.384861:13.439693:-900.000000 +-100.414861:10.939693:-900.000000 FIN_BOX BOX vtk:UpdateRender:Box57 @@ -286,26 +286,26 @@ FIN_BOX BOX std:MagicBox:Box68 ISEXEC:FALSE --308.389126:25.654537:-900.000000 --286.789126:23.154537:-900.000000 +-305.976906:44.952298:-900.000000 +-284.376906:42.452298:-900.000000 FIN_BOX BOX std:MagicBox:Box69 ISEXEC:FALSE --244.686116:27.089975:-900.000000 --223.086116:24.589975:-900.000000 +-242.273896:46.387736:-900.000000 +-220.673896:43.887736:-900.000000 FIN_BOX BOX std:MagicBox:Box70 ISEXEC:FALSE --275.773847:26.547435:-900.000000 --254.173847:24.047435:-900.000000 +-273.361627:45.845196:-900.000000 +-251.761627:43.345196:-900.000000 FIN_BOX BOX std:MagicBox:Box46 ISEXEC:FALSE --116.960204:58.784630:-900.000000 --95.360204:56.284630:-900.000000 +-151.050257:56.192989:-900.000000 +-129.450257:53.692989:-900.000000 FIN_BOX BOX std:MagicBox:Box47 @@ -400,8 +400,8 @@ FIN_BOX BOX std:MagicBox:Box67 ISEXEC:FALSE --93.410778:58.596914:-900.000000 --71.810778:56.096914:-900.000000 +-94.806277:58.995628:-900.000000 +-73.206277:56.495628:-900.000000 FIN_BOX BOX std:MagicBox:Box71 @@ -409,7 +409,19 @@ ISEXEC:FALSE -70.424324:59.354815:-900.000000 -48.824324:56.854815:-900.000000 FIN_BOX -CONNECTIONS:109 +BOX +std:MagicBox:Box72 +ISEXEC:FALSE +-125.479162:56.742948:-900.000000 +-103.879162:54.242948:-900.000000 +FIN_BOX +BOX +std:Add:Box73 +ISEXEC:FALSE +-115.923717:42.979808:-900.000000 +-94.888717:40.479808:-900.000000 +FIN_BOX +CONNECTIONS:114 CONNECTION Box23:Out:Box22:ImplicitFunction NumberOfControlPoints:0 @@ -591,18 +603,6 @@ CONNECTION Box55:BoxChange:Box32:BoxExecute NumberOfControlPoints:0 CONNECTION -activeContour:activeContour:Box46:In -NumberOfControlPoints:0 -CONNECTION -Box46:Out:Box29:Active -NumberOfControlPoints:0 -CONNECTION -Box46:Out:Box32:Active -NumberOfControlPoints:0 -CONNECTION -Box46:Out:Box22:Active -NumberOfControlPoints:0 -CONNECTION colorForMesh:colorForMesh:Box47:In NumberOfControlPoints:0 CONNECTION @@ -737,4 +737,31 @@ NumberOfControlPoints:0 CONNECTION Box67:Out:Box50:Active NumberOfControlPoints:0 +CONNECTION +activeContour:activeContour:Box72:In +NumberOfControlPoints:0 +CONNECTION +Box72:Out:Box73:In1 +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box73:In2 +NumberOfControlPoints:0 +CONNECTION +Box73:Out:Box22:Active +NumberOfControlPoints:0 +CONNECTION +Box73:Out:Box29:Active +NumberOfControlPoints:0 +CONNECTION +Box73:Out:Box32:Active +NumberOfControlPoints:0 +CONNECTION +Box72:Out:Box24:Active +NumberOfControlPoints:0 +CONNECTION +Box72:Out:Box31:Active +NumberOfControlPoints:0 +CONNECTION +Box72:Out:Box34:Active +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/MeshContours.bbs b/bbtk/bbs/boxes/MeshContours.bbs index b0d32e7..9b08fbe 100644 --- a/bbtk/bbs/boxes/MeshContours.bbs +++ b/bbtk/bbs/boxes/MeshContours.bbs @@ -138,6 +138,10 @@ new std:MagicBox Box67 new std:MagicBox Box71 +new std:MagicBox Box72 + +new std:Add Box73 + connect Box23.Out Box22.ImplicitFunction connect Box22.BoxChange Box24.BoxExecute @@ -190,9 +194,6 @@ connect Box69.Out Box34.Opacity connect Box69.Out Box50.Opacity connect Box55.BoxChange Box29.BoxExecute connect Box55.BoxChange Box32.BoxExecute -connect Box46.Out Box29.Active -connect Box46.Out Box32.Active -connect Box46.Out Box22.Active connect Box47.Out Box24.Colour connect Box47.Out Box31.Colour connect Box47.Out Box34.Colour @@ -231,6 +232,14 @@ connect Box51.Out Box62.LineWidth connect Box67.Out Box48.Active connect Box67.Out Box49.Active connect Box67.Out Box50.Active +connect Box72.Out Box73.In1 +connect Box67.Out Box73.In2 +connect Box73.Out Box22.Active +connect Box73.Out Box29.Active +connect Box73.Out Box32.Active +connect Box72.Out Box24.Active +connect Box72.Out Box31.Active +connect Box72.Out Box34.Active # Complex input ports input polydata Box38.In " " @@ -242,7 +251,6 @@ input wxvtkbaseview3D1 Box44.wxVtkBaseView " " input opacity2 Box70.In " " input opacity3 Box69.In " " input opacity1 Box68.In " " -input activeContour Box46.In " " input colorForMesh Box47.In " " input lineWidth Box51.In " " input freeplane_transform Box56.In " " @@ -250,6 +258,7 @@ input freeplane_point Box65.In " " input freeplane_boxexecute Box66.In " " input activeContour3D Box67.In " " input activeContour_FreePlane Box71.In " " +input activeContour Box72.In " " # Complex output ports diff --git a/bbtk/bbs/boxes/MeshContours_Widget.bbg b/bbtk/bbs/boxes/MeshContours_Widget.bbg index ab777ec..a685f66 100644 --- a/bbtk/bbs/boxes/MeshContours_Widget.bbg +++ b/bbtk/bbs/boxes/MeshContours_Widget.bbg @@ -13,19 +13,19 @@ PACKAGENAME:creaMaracasVisu COMPLEXOUTPUTS:4 COMPLEX_PORT _widget --98.407711:-38.881249:-900.000000 +-117.576814:-74.682233:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT ActiveOut --104.528773:-38.804811:-900.000000 +-123.697876:-74.605795:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT _widgetA --92.525863:-38.958258:-900.000000 +-111.694966:-74.759242:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT _widgetB --87.656081:-38.746528:-900.000000 +-106.825184:-74.547512:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:11 COMPLEX_PORT @@ -58,7 +58,7 @@ colorMesh FIN_COMPLEX_PORT COMPLEX_PORT active_widget --104.903716:33.838502:-900.000000 +-103.573794:36.600647:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Freeplane_point @@ -72,7 +72,7 @@ COMPLEX_PORT Freeplane_boxexecute -186.889539:36.415385:-900.000000 FIN_COMPLEX_PORT -BOXES:17 +BOXES:21 BOX std:MagicBox:Box36 ISEXEC:FALSE @@ -112,14 +112,14 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Interface:Box52 ISEXEC:FALSE --109.744649:19.156824:-900.000000 --86.754649:16.656824:-900.000000 +-126.331844:-1.020137:-900.000000 +-103.341844:-3.520137:-900.000000 FIN_BOX BOX creaMaracasVisu:MeshContours:Box53 ISEXEC:FALSE --81.898085:-25.835690:-900.000000 --50.338085:-28.335690:-900.000000 +-161.203815:-54.057812:-900.000000 +-129.643815:-56.557812:-900.000000 FIN_BOX BOX std:MagicBox:Box08 @@ -130,16 +130,16 @@ FIN_BOX BOX std:ConcatStrings:Box09 ISEXEC:FALSE --86.401462:-4.075584:-900.000000 --63.641462:-6.575584:-900.000000 +-140.663994:8.891765:-900.000000 +-117.903994:6.391765:-900.000000 PORT In1:"0.99999" FIN_BOX BOX std:Mul:Box10 ISEXEC:FALSE --84.877846:4.278070:-900.000000 --63.902846:1.778070:-900.000000 +-117.557095:-23.449778:-900.000000 +-96.582095:-25.949778:-900.000000 PORT In2:"1" FIN_BOX @@ -164,26 +164,62 @@ FIN_BOX BOX std:Mul:Box14 ISEXEC:FALSE --60.453706:3.998666:-900.000000 --39.478706:1.498666:-900.000000 +-93.132955:-23.729182:-900.000000 +-72.157955:-26.229182:-900.000000 PORT In2:"1" FIN_BOX BOX std:MagicBox:Box15 ISEXEC:FALSE --108.651884:27.344423:-900.000000 --87.051884:24.844423:-900.000000 +-101.400741:-2.024344:-900.000000 +-79.800741:-4.524344:-900.000000 FIN_BOX BOX std:Mul:Box16 ISEXEC:FALSE --36.904698:4.176100:-900.000000 --15.929698:1.676100:-900.000000 +-69.583947:-23.551748:-900.000000 +-48.608947:-26.051748:-900.000000 PORT In2:"1" FIN_BOX -CONNECTIONS:38 +BOX +std:MagicBox:Box17 +ISEXEC:FALSE +-108.320412:27.123458:-900.000000 +-86.720412:24.623458:-900.000000 +FIN_BOX +BOX +std:ReplaceCleanString:Box18 +ISEXEC:FALSE +-104.429905:18.761155:-900.000000 +-81.874905:16.261155:-900.000000 +PORT +Replace:"1" +PORT +Search:"True" +FIN_BOX +BOX +std:ReplaceCleanString:Box19 +ISEXEC:FALSE +-105.160324:7.307465:-900.000000 +-82.605324:4.807465:-900.000000 +PORT +Replace:"1" +PORT +Search:"true" +FIN_BOX +BOX +std:ReplaceCleanString:Box20 +ISEXEC:FALSE +-105.271818:12.688540:-900.000000 +-82.716818:10.188540:-900.000000 +PORT +Replace:"1" +PORT +Search:"TRUE" +FIN_BOX +CONNECTIONS:42 CONNECTION _polydata:_polydata:Box38:In NumberOfControlPoints:0 @@ -275,9 +311,6 @@ CONNECTION Box13:Out:Box53:freeplane_boxexecute NumberOfControlPoints:0 CONNECTION -active_widget:active_widget:Box15:In -NumberOfControlPoints:0 -CONNECTION Box15:Out:Box10:In2 NumberOfControlPoints:0 CONNECTION @@ -298,4 +331,19 @@ NumberOfControlPoints:0 CONNECTION Box16:Out:Box53:activeContour3D NumberOfControlPoints:0 +CONNECTION +active_widget:active_widget:Box17:In +NumberOfControlPoints:0 +CONNECTION +Box18:Out:Box20:In +NumberOfControlPoints:0 +CONNECTION +Box20:Out:Box19:In +NumberOfControlPoints:0 +CONNECTION +Box17:Out:Box18:In +NumberOfControlPoints:0 +CONNECTION +Box19:Out:Box15:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/MeshContours_Widget.bbs b/bbtk/bbs/boxes/MeshContours_Widget.bbs index 6507403..9635449 100644 --- a/bbtk/bbs/boxes/MeshContours_Widget.bbs +++ b/bbtk/bbs/boxes/MeshContours_Widget.bbs @@ -53,6 +53,20 @@ new std:MagicBox Box15 new std:Mul Box16 set Box16.In2 "1" +new std:MagicBox Box17 + +new std:ReplaceCleanString Box18 + set Box18.Replace "1" + set Box18.Search "True" + +new std:ReplaceCleanString Box19 + set Box19.Replace "1" + set Box19.Search "true" + +new std:ReplaceCleanString Box20 + set Box20.Replace "1" + set Box20.Search "TRUE" + connect Box38.Out Box53.polydata connect Box45.Out Box53.wxvtkbaseview2D1 @@ -77,6 +91,10 @@ connect Box14.Out Box53.activeContour_FreePlane connect Box15.Out Box16.In2 connect Box52.active3D Box16.In1 connect Box16.Out Box53.activeContour3D +connect Box18.Out Box20.In +connect Box20.Out Box19.In +connect Box17.Out Box18.In +connect Box19.Out Box15.In # Complex input ports input _polydata Box38.In " " @@ -89,7 +107,7 @@ input colorMesh Box08.In " " input Freeplane_point Box11.In " " input Freeplane_transform Box12.In " " input Freeplane_boxexecute Box13.In " " -input active_widget Box15.In " " +input active_widget Box17.In " " # Complex output ports output _widget Box52.widget " " diff --git a/bbtk/bbs/boxes/Mesh_Application.bbg b/bbtk/bbs/boxes/Mesh_Application.bbg index 861bae1..21ff727 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbg +++ b/bbtk/bbs/boxes/Mesh_Application.bbg @@ -135,6 +135,8 @@ ISEXEC:FALSE -75.989823:-59.570726:-900.000000 -53.194823:-62.070726:-900.000000 PORT +active_widget:"true" +PORT colorMesh:"1 0 0" FIN_BOX BOX @@ -242,8 +244,8 @@ FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplyPatch:Box38 ISEXEC:FALSE -202.038495:0.502712:-900.000000 -224.878495:-1.997288:-900.000000 +203.647700:2.235703:-900.000000 +228.167700:-0.264297:-900.000000 PORT title:"Extrusion (Yellow)" FIN_BOX @@ -258,8 +260,8 @@ FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplySmooth:Box46 ISEXEC:FALSE -247.620814:6.158641:-900.000000 -270.645814:3.658641:-900.000000 +243.277197:6.907540:-900.000000 +266.302197:4.407540:-900.000000 PORT title:"Smooth" FIN_BOX @@ -424,8 +426,8 @@ FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplyRegionGrowing:Box70 ISEXEC:FALSE -314.172243:5.863634:-900.000000 -337.962243:3.363634:-900.000000 +315.286308:6.358774:-900.000000 +339.806308:3.858774:-900.000000 PORT title:"Region growing" FIN_BOX @@ -440,8 +442,8 @@ FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplyCut:Box74 ISEXEC:FALSE -134.143979:8.362001:-900.000000 -156.768979:5.862001:-900.000000 +135.050085:7.193470:-900.000000 +159.570085:4.693470:-900.000000 PORT title:"Cut" FIN_BOX @@ -623,7 +625,7 @@ BOX creaMaracasVisu:Mesh_tool_ApplyPatchSimple:Box103 ISEXEC:FALSE 168.252460:1.672219:-900.000000 -191.857460:-0.827781:-900.000000 +192.772460:-0.827781:-900.000000 PORT title:"Simple (Yelow)" FIN_BOX @@ -716,8 +718,8 @@ FIN_BOX BOX creaMaracasVisu:FreePlane:Box117 ISEXEC:FALSE -56.413835:68.564815:-900.000000 -78.108835:66.064815:-900.000000 +50.347130:70.525570:-900.000000 +72.042130:68.025570:-900.000000 FIN_BOX BOX wx:LayoutTab:Box118 @@ -873,7 +875,7 @@ ISEXEC:FALSE -80.144058:-47.284744:-900.000000 -58.064058:-49.784744:-900.000000 FIN_BOX -CONNECTIONS:261 +CONNECTIONS:276 CONNECTION Box08:MeshBase:Box15:polydata NumberOfControlPoints:0 @@ -1657,4 +1659,49 @@ NumberOfControlPoints:0 CONNECTION Box117:boxChange:freeplane_BoxChange:freeplane_BoxChange NumberOfControlPoints:0 +CONNECTION +Box117:boxChange:Box74:freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box117:transform:Box74:freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box117:actualPoint:Box74:freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box117:boxChange:Box103:freeplane_executebox +NumberOfControlPoints:0 +CONNECTION +Box117:actualPoint:Box103:freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box117:transform:Box103:freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box117:actualPoint:Box38:freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box117:boxChange:Box38:freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box117:transform:Box38:freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box117:actualPoint:Box46:freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box117:boxChange:Box46:freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box117:transform:Box46:freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box117:actualPoint:Box70:freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box117:boxChange:Box70:freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box117:transform:Box70:freeplane_transform +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_Application.bbs b/bbtk/bbs/boxes/Mesh_Application.bbs index 41b44f5..1a2c593 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbs +++ b/bbtk/bbs/boxes/Mesh_Application.bbs @@ -38,6 +38,7 @@ new wx:LayoutTab Box12 new creaMaracasVisu:SetPositionPointPicker Box13 new creaMaracasVisu:MeshContours_Widget Box17 + set Box17.active_widget "true" set Box17.colorMesh "1 0 0" new wx:LayoutTab Box20 @@ -561,6 +562,21 @@ connect Box117.transform Box17.Freeplane_transform connect Box117.actualPoint Box47.freeplane_point connect Box117.boxChange Box47.freeplane_boxexecute connect Box117.transform Box47.freeplane_transform +connect Box117.boxChange Box74.freeplane_boxexecute +connect Box117.transform Box74.freeplane_transform +connect Box117.actualPoint Box74.freeplane_point +connect Box117.boxChange Box103.freeplane_executebox +connect Box117.actualPoint Box103.freeplane_point +connect Box117.transform Box103.freeplane_transform +connect Box117.actualPoint Box38.freeplane_point +connect Box117.boxChange Box38.freeplane_boxexecute +connect Box117.transform Box38.freeplane_transform +connect Box117.actualPoint Box46.freeplane_point +connect Box117.boxChange Box46.freeplane_boxexecute +connect Box117.transform Box46.freeplane_transform +connect Box117.actualPoint Box70.freeplane_point +connect Box117.boxChange Box70.freeplane_boxexecute +connect Box117.transform Box70.freeplane_transform # Complex input ports input MeshIn Box56.In " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg index 9ae9e39..b6b7015 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg @@ -19,7 +19,7 @@ COMPLEX_PORT Active_ConcatString_Box -272.421413:-187.453831:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:10 +COMPLEXINPUTS:13 COMPLEX_PORT boxChange -1.004575:204.292513:-900.000000 @@ -60,7 +60,19 @@ COMPLEX_PORT meshmanagermodel -142.569152:199.493422:-900.000000 FIN_COMPLEX_PORT -BOXES:154 +COMPLEX_PORT +freeplane_boxexecute +-359.476285:196.292003:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_transform +-348.621294:197.015669:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_point +-336.560193:197.015669:-900.000000 +FIN_COMPLEX_PORT +BOXES:157 BOX creaMaracasVisu:ShowNPoints:showNpoints ISEXEC:FALSE @@ -146,8 +158,8 @@ FIN_BOX BOX std:AddStringToVector:Box58 ISEXEC:FALSE --304.297403:100.641432:-900.000000 --279.777403:98.141432:-900.000000 +-351.818140:103.053652:-900.000000 +-327.298140:100.553652:-900.000000 PORT In0:"+ Add point" PORT @@ -510,8 +522,8 @@ FIN_BOX BOX std:AddStringToVector:Box99 ISEXEC:FALSE --309.024176:108.151656:-900.000000 --284.504176:105.651656:-900.000000 +-356.544913:110.563876:-900.000000 +-332.024913:108.063876:-900.000000 PORT In0:"Auto Add Points (Start/Stop)" FIN_BOX @@ -566,8 +578,8 @@ FIN_BOX BOX std:AddStringToVector:Box113 ISEXEC:FALSE --307.524662:92.578395:-900.000000 --283.004662:90.078395:-900.000000 +-355.045399:94.990615:-900.000000 +-330.525399:92.490615:-900.000000 FIN_BOX BOX std:ConcatStrings:Box114 @@ -1355,7 +1367,25 @@ ISEXEC:FALSE -313.000327:60.169389:-900.000000 -290.240327:57.669389:-900.000000 FIN_BOX -CONNECTIONS:269 +BOX +std:MagicBox:Box246 +ISEXEC:FALSE +-378.475392:187.401740:-900.000000 +-356.765392:184.901740:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box247 +ISEXEC:FALSE +-354.710232:187.449642:-900.000000 +-333.000232:184.949642:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box248 +ISEXEC:FALSE +-330.666067:187.311541:-900.000000 +-308.956067:184.811541:-900.000000 +FIN_BOX +CONNECTIONS:280 CONNECTION Box06:LstContourPointsX:Box04:LstX NumberOfControlPoints:0 @@ -2164,4 +2194,37 @@ NumberOfControlPoints:0 CONNECTION Box245:BoxChange:Box240:BoxExecute NumberOfControlPoints:0 +CONNECTION +freeplane_boxexecute:freeplane_boxexecute:Box246:In +NumberOfControlPoints:0 +CONNECTION +freeplane_transform:freeplane_transform:Box247:In +NumberOfControlPoints:0 +CONNECTION +freeplane_point:freeplane_point:Box248:In +NumberOfControlPoints:0 +CONNECTION +Box246:BoxChange:Box62:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box246:BoxChange:Box72:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box247:Out:Box62:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box247:Out:Box72:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box248:Out:Box62:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box248:Out:Box72:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box245:Out:Box62:active_widget +NumberOfControlPoints:0 +CONNECTION +Box245:Out:Box72:active_widget +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs index 01d5be2..831c615 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs @@ -511,6 +511,12 @@ new std:MagicBox Box244 new std:ConcatStrings Box245 +new std:MagicBox Box246 + +new std:MagicBox Box247 + +new std:MagicBox Box248 + connect Box06.LstContourPointsX Box04.LstX connect showNpoints.lstIndexs Box06.LstIndexsIn @@ -769,6 +775,14 @@ connect Box245.Out Box243.In connect Box63.BoxChange Box242.BoxExecute connect Box245.Out Box240.Active connect Box245.BoxChange Box240.BoxExecute +connect Box246.BoxChange Box62.Freeplane_boxexecute +connect Box246.BoxChange Box72.Freeplane_boxexecute +connect Box247.Out Box62.Freeplane_transform +connect Box247.Out Box72.Freeplane_transform +connect Box248.Out Box62.Freeplane_point +connect Box248.Out Box72.Freeplane_point +connect Box245.Out Box62.active_widget +connect Box245.Out Box72.active_widget # Complex input ports input mesh Box67.In " " @@ -781,6 +795,9 @@ input wxvtkbaseview3 Box65.In " " input wxvtkbaseview4 Box69.In " " input wxvtkbaseview1 Box71.In " " input point Box244.In " " +input freeplane_boxexecute Box246.In " " +input freeplane_transform Box247.In " " +input freeplane_point Box248.In " " # Complex output ports output widget Box08.Widget " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg index bc91a59..857daec 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg @@ -19,7 +19,7 @@ COMPLEX_PORT Active_ConcatString_box -271.102248:-184.562622:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:10 +COMPLEXINPUTS:13 COMPLEX_PORT boxChange -6.086529:172.136420:-900.000000 @@ -60,7 +60,19 @@ COMPLEX_PORT meshmanagermodel -150.374274:165.521883:-900.000000 FIN_COMPLEX_PORT -BOXES:99 +COMPLEX_PORT +freeplane_boxexecute +-381.673049:169.079815:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_point +-347.120726:169.055148:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_transform +-320.924223:169.055148:-900.000000 +FIN_COMPLEX_PORT +BOXES:102 BOX creaMaracasVisu:ShowNPoints:showNpoints ISEXEC:FALSE @@ -863,7 +875,25 @@ ISEXEC:FALSE -315.076120:39.934898:-900.000000 -291.361120:37.434898:-900.000000 FIN_BOX -CONNECTIONS:190 +BOX +std:MagicBox:Box157 +ISEXEC:FALSE +-386.859676:160.706913:-900.000000 +-365.149676:158.206913:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box158 +ISEXEC:FALSE +-352.594456:160.775629:-900.000000 +-330.884456:158.275629:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box159 +ISEXEC:FALSE +-326.072857:160.185314:-900.000000 +-304.362857:157.685314:-900.000000 +FIN_BOX +CONNECTIONS:201 CONNECTION Box06:LstContourPointsX:Box04:LstX NumberOfControlPoints:0 @@ -1434,4 +1464,37 @@ NumberOfControlPoints:0 CONNECTION Box151:BoxChange:Box156:BoxExecute NumberOfControlPoints:0 +CONNECTION +freeplane_boxexecute:freeplane_boxexecute:Box157:In +NumberOfControlPoints:0 +CONNECTION +freeplane_point:freeplane_point:Box158:In +NumberOfControlPoints:0 +CONNECTION +freeplane_transform:freeplane_transform:Box159:In +NumberOfControlPoints:0 +CONNECTION +Box157:BoxChange:Box72:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box157:BoxChange:Box107:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box158:Out:Box72:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box158:Out:Box107:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box159:Out:Box72:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box159:Out:Box107:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box151:Out:Box72:active_widget +NumberOfControlPoints:0 +CONNECTION +Box151:Out:Box107:active_widget +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs index b9804d9..4b346fa 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs @@ -320,6 +320,12 @@ new std:MagicBox Box155 new creaMaracasVisu:InteractorStyleMaracas_Model Box156 +new std:MagicBox Box157 + +new std:MagicBox Box158 + +new std:MagicBox Box159 + connect Box06.LstContourPointsX Box04.LstX connect showNpoints.lstIndexs Box06.LstIndexsIn @@ -499,6 +505,14 @@ connect Box57.InteractorStyleMaracas3 Box156.InteractorStyleMaracas3 connect Box57.InteractorStyleMaracas4 Box156.InteractorStyleMaracas4 connect Box151.Out Box156.Active connect Box151.BoxChange Box156.BoxExecute +connect Box157.BoxChange Box72.Freeplane_boxexecute +connect Box157.BoxChange Box107.Freeplane_boxexecute +connect Box158.Out Box72.Freeplane_point +connect Box158.Out Box107.Freeplane_point +connect Box159.Out Box72.Freeplane_transform +connect Box159.Out Box107.Freeplane_transform +connect Box151.Out Box72.active_widget +connect Box151.Out Box107.active_widget # Complex input ports input mesh Box67.In " " @@ -511,6 +525,9 @@ input wxvtkbaseview3 Box65.In " " input wxvtkbaseview4 Box69.In " " input wxvtkbaseview1 Box71.In " " input point Box155.In " " +input freeplane_boxexecute Box157.In " " +input freeplane_point Box158.In " " +input freeplane_transform Box159.In " " # Complex output ports output widget Box08.Widget " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg index 142832a..8996230 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg @@ -19,7 +19,7 @@ COMPLEX_PORT Active_ConcatString_box -267.636791:-187.249512:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:10 +COMPLEXINPUTS:13 COMPLEX_PORT boxChange -6.721718:139.472825:-900.000000 @@ -60,7 +60,19 @@ COMPLEX_PORT meshmanagermodel -150.374274:130.740991:-900.000000 FIN_COMPLEX_PORT -BOXES:92 +COMPLEX_PORT +freeplane_executebox +-415.106906:129.316930:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_point +-405.819858:129.316930:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_transform +-396.267467:129.051586:-900.000000 +FIN_COMPLEX_PORT +BOXES:95 BOX creaMaracasVisu:ShowNPoints:showNpoints ISEXEC:FALSE @@ -372,8 +384,8 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box62 ISEXEC:FALSE --150.118287:6.206408:-900.000000 --127.323287:3.706408:-900.000000 +-165.786608:4.057629:-900.000000 +-142.991608:1.557629:-900.000000 PORT colorMesh:"1 1 0" FIN_BOX @@ -762,8 +774,8 @@ FIN_BOX BOX std:ConcatStrings:Box162 ISEXEC:FALSE --318.376494:72.983085:-900.000000 --295.616494:70.483085:-900.000000 +-325.806132:94.475967:-900.000000 +-303.046132:91.975967:-900.000000 FIN_BOX BOX std:ConcatStrings:Box163 @@ -793,7 +805,25 @@ ISEXEC:FALSE -310.441812:58.861250:-900.000000 -286.726812:56.361250:-900.000000 FIN_BOX -CONNECTIONS:187 +BOX +std:MagicBox:Box167 +ISEXEC:FALSE +-435.432664:118.703932:-900.000000 +-413.722664:116.203932:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box168 +ISEXEC:FALSE +-412.206223:118.772648:-900.000000 +-390.496223:116.272648:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box169 +ISEXEC:FALSE +-387.826476:118.841364:-900.000000 +-366.116476:116.341364:-900.000000 +FIN_BOX +CONNECTIONS:198 CONNECTION Box06:LstContourPointsX:Box04:LstX NumberOfControlPoints:0 @@ -1355,4 +1385,37 @@ NumberOfControlPoints:0 CONNECTION Box162:BoxChange:Box166:BoxExecute NumberOfControlPoints:0 +CONNECTION +freeplane_executebox:freeplane_executebox:Box167:In +NumberOfControlPoints:0 +CONNECTION +freeplane_point:freeplane_point:Box168:In +NumberOfControlPoints:0 +CONNECTION +freeplane_transform:freeplane_transform:Box169:In +NumberOfControlPoints:0 +CONNECTION +Box167:BoxChange:Box62:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box168:Out:Box62:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box169:Out:Box62:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box167:BoxChange:Box72:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box168:Out:Box72:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box169:Out:Box72:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box162:Out:Box62:active_widget +NumberOfControlPoints:0 +CONNECTION +Box162:Out:Box72:active_widget +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs index fa61fbc..5093660 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs @@ -292,6 +292,12 @@ new std:StringSelect Box165 new creaMaracasVisu:InteractorStyleMaracas_Model Box166 +new std:MagicBox Box167 + +new std:MagicBox Box168 + +new std:MagicBox Box169 + connect Box06.LstContourPointsX Box04.LstX connect showNpoints.lstIndexs Box06.LstIndexsIn @@ -468,6 +474,14 @@ connect Box57.InteractorStyleMaracas3 Box166.InteractorStyleMaracas3 connect Box57.InteractorStyleMaracas4 Box166.InteractorStyleMaracas4 connect Box162.Out Box166.Active connect Box162.BoxChange Box166.BoxExecute +connect Box167.BoxChange Box62.Freeplane_boxexecute +connect Box168.Out Box62.Freeplane_point +connect Box169.Out Box62.Freeplane_transform +connect Box167.BoxChange Box72.Freeplane_boxexecute +connect Box168.Out Box72.Freeplane_point +connect Box169.Out Box72.Freeplane_transform +connect Box162.Out Box62.active_widget +connect Box162.Out Box72.active_widget # Complex input ports input mesh Box67.In " " @@ -480,6 +494,9 @@ input wxvtkbaseview3 Box65.In " " input wxvtkbaseview4 Box69.In " " input wxvtkbaseview1 Box71.In " " input point Box161.In " " +input freeplane_executebox Box167.In " " +input freeplane_point Box168.In " " +input freeplane_transform Box169.In " " # Complex output ports output widget Box08.Widget " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbg index f3047ac..35b07a3 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbg @@ -13,13 +13,13 @@ PACKAGENAME:creaMaracasVisu COMPLEXOUTPUTS:2 COMPLEX_PORT widget --176.524885:-207.578867:-900.000000 +-177.231231:-181.090880:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Active_ConcatString_box --267.181079:-190.286236:-900.000000 +-267.534252:-173.687098:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:10 +COMPLEXINPUTS:13 COMPLEX_PORT boxChange -23.087178:207.446553:-900.000000 @@ -60,7 +60,19 @@ COMPLEX_PORT meshmanagermodel -153.486767:202.488610:-900.000000 FIN_COMPLEX_PORT -BOXES:90 +COMPLEX_PORT +freeplane_boxexecute +-417.570816:201.522198:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_point +-390.201945:202.475343:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_transform +-364.739363:202.883834:-900.000000 +FIN_COMPLEX_PORT +BOXES:93 BOX creaMaracasVisu:ShowNPoints:showNpoints ISEXEC:FALSE @@ -82,16 +94,16 @@ FIN_BOX BOX creaMaracasVisu:wxPopupMenu:Box57 ISEXEC:FALSE --291.724262:77.620511:-900.000000 --269.659262:75.120511:-900.000000 +-374.617796:62.734700:-900.000000 +-352.552796:60.234700:-900.000000 PORT WithCtrlKey:"true" FIN_BOX BOX std:AddStringToVector:Box58 ISEXEC:FALSE --304.297403:100.641432:-900.000000 --279.777403:98.141432:-900.000000 +-387.190937:85.755621:-900.000000 +-362.670937:83.255621:-900.000000 PORT In0:"+ Add point" PORT @@ -116,8 +128,8 @@ FIN_BOX BOX creaMaracasVisu:ShowNPoints_Tools:Box60 ISEXEC:FALSE --271.434991:53.686536:-900.000000 --248.999991:51.186536:-900.000000 +-354.328525:38.800725:-900.000000 +-331.893525:36.300725:-900.000000 FIN_BOX BOX vtk:ImageVtkProperties:Box68 @@ -278,8 +290,8 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box62 ISEXEC:FALSE --193.338156:-61.553416:-900.000000 --170.543156:-64.053416:-900.000000 +-191.963408:-34.761876:-900.000000 +-169.168408:-37.261876:-900.000000 PORT colorMesh:"1 1 0" FIN_BOX @@ -310,8 +322,8 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE --166.306489:-91.544168:-900.000000 --143.511489:-94.044168:-900.000000 +-57.330680:-84.328928:-900.000000 +-34.535680:-86.828928:-900.000000 PORT colorMesh:"0 1 1" FIN_BOX @@ -372,16 +384,16 @@ FIN_BOX BOX std:AddStringToVector:Box99 ISEXEC:FALSE --309.024176:108.151656:-900.000000 --284.504176:105.651656:-900.000000 +-391.917710:93.265845:-900.000000 +-367.397710:90.765845:-900.000000 PORT In0:"Auto Add Points (Start/Stop)" FIN_BOX BOX std:VectorFilterString:Box100 ISEXEC:FALSE --265.790737:67.872984:-900.000000 --237.750737:65.372984:-900.000000 +-348.684271:52.987173:-900.000000 +-320.644271:50.487173:-900.000000 PORT In0:"0 1 2 3 4 5 6 7 8 9 10 " PORT @@ -392,8 +404,8 @@ FIN_BOX BOX std:ConcatStrings:Box101 ISEXEC:FALSE --265.899318:61.380437:-900.000000 --243.139318:58.880437:-900.000000 +-348.792852:46.494626:-900.000000 +-326.032852:43.994626:-900.000000 FIN_BOX BOX creaVtk:ImageThresholdConnectivity:Box102 @@ -742,8 +754,8 @@ FIN_BOX BOX std:ConcatStrings:Box153 ISEXEC:FALSE --319.656020:72.805095:-900.000000 --296.896020:70.305095:-900.000000 +-402.549554:57.919284:-900.000000 +-379.789554:55.419284:-900.000000 FIN_BOX BOX std:ConcatStrings_tool:Box154 @@ -770,8 +782,8 @@ FIN_BOX BOX creaMaracasVisu:InteractorStyleMaracas_Model:Box157 ISEXEC:FALSE --308.988987:59.885268:-900.000000 --285.273987:57.385268:-900.000000 +-391.882521:44.999457:-900.000000 +-368.167521:42.499457:-900.000000 FIN_BOX BOX std:MagicBox:Box158 @@ -779,7 +791,25 @@ ISEXEC:FALSE -28.340233:193.606657:-900.000000 -6.630233:191.106657:-900.000000 FIN_BOX -CONNECTIONS:164 +BOX +std:MagicBox:Box159 +ISEXEC:FALSE +-423.507904:194.082350:-900.000000 +-401.797904:191.582350:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box160 +ISEXEC:FALSE +-394.666078:194.227318:-900.000000 +-372.956078:191.727318:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box161 +ISEXEC:FALSE +-368.002869:194.372286:-900.000000 +-346.292869:191.872286:-900.000000 +FIN_BOX +CONNECTIONS:175 CONNECTION Box58:Out:Box57:In NumberOfControlPoints:0 @@ -1272,4 +1302,37 @@ NumberOfControlPoints:0 CONNECTION Box111:BoxChange:Box112:In2 NumberOfControlPoints:0 +CONNECTION +freeplane_boxexecute:freeplane_boxexecute:Box159:In +NumberOfControlPoints:0 +CONNECTION +freeplane_point:freeplane_point:Box160:In +NumberOfControlPoints:0 +CONNECTION +freeplane_transform:freeplane_transform:Box161:In +NumberOfControlPoints:0 +CONNECTION +Box159:BoxChange:Box72:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box159:BoxChange:Box62:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box160:Out:Box72:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box161:Out:Box72:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box160:Out:Box62:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box161:Out:Box62:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box153:Out:Box62:active_widget +NumberOfControlPoints:0 +CONNECTION +Box153:Out:Box72:active_widget +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbs index 4c5f332..8a8ee5e 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbs @@ -289,6 +289,12 @@ new creaMaracasVisu:InteractorStyleMaracas_Model Box157 new std:MagicBox Box158 +new std:MagicBox Box159 + +new std:MagicBox Box160 + +new std:MagicBox Box161 + connect Box58.Out Box57.In connect showNpoints.WidgetShowNPoints Box60.WidgetShowNPoints @@ -442,6 +448,14 @@ connect Box118.BoxChange Box48.boxexecute connect Box118.BoxChange Box111.In2 connect Box133.BoxChange Box112.In3 connect Box111.BoxChange Box112.In2 +connect Box159.BoxChange Box72.Freeplane_boxexecute +connect Box159.BoxChange Box62.Freeplane_boxexecute +connect Box160.Out Box72.Freeplane_point +connect Box161.Out Box72.Freeplane_transform +connect Box160.Out Box62.Freeplane_point +connect Box161.Out Box62.Freeplane_transform +connect Box153.Out Box62.active_widget +connect Box153.Out Box72.active_widget # Complex input ports input mesh Box67.In " " @@ -454,6 +468,9 @@ input wxvtkbaseview4 Box69.In " " input wxvtkbaseview1 Box71.In " " input point Box156.In " " input boxChange Box158.In " " +input freeplane_boxexecute Box159.In " " +input freeplane_point Box160.In " " +input freeplane_transform Box161.In " " # Complex output ports output widget Box08.Widget " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbg index f8a21a8..d7f0b02 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbg @@ -15,7 +15,7 @@ COMPLEX_PORT widget -190.515959:-183.832070:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:9 +COMPLEXINPUTS:12 COMPLEX_PORT boxChange -6.086529:137.355528:-900.000000 @@ -52,7 +52,19 @@ COMPLEX_PORT meshmanagermodel -131.800179:136.578564:-900.000000 FIN_COMPLEX_PORT -BOXES:43 +COMPLEX_PORT +freeplane_boxexecute +-425.864743:136.591140:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_point +-377.656586:135.322504:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_transform +-345.215759:132.966466:-900.000000 +FIN_COMPLEX_PORT +BOXES:46 BOX wx:LayoutLine:Box08 ISEXEC:FALSE @@ -94,8 +106,8 @@ FIN_BOX BOX std:MagicBox:Box66 ISEXEC:FALSE --8.767256:-65.552297:-900.000000 -12.832744:-68.052297:-900.000000 +-16.149919:-48.204815:-900.000000 +5.450081:-50.704815:-900.000000 FIN_BOX BOX std:MagicBox:Box67 @@ -112,8 +124,8 @@ FIN_BOX BOX creaMaracasVisu:PolyDataToActor_Widget:Box37 ISEXEC:FALSE --40.040679:-78.069744:-900.000000 --17.020679:-80.569744:-900.000000 +-42.676805:-68.513787:-900.000000 +-19.656805:-71.013787:-900.000000 PORT color:"0 1 1" PORT @@ -204,8 +216,10 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE --106.990294:-78.577577:-900.000000 --84.195294:-81.077577:-900.000000 +-149.274624:-67.610228:-900.000000 +-126.479624:-70.110228:-900.000000 +PORT +active_widget:"1" PORT colorMesh:"0 1 1" FIN_BOX @@ -232,14 +246,14 @@ FIN_BOX BOX creaVtk:MeshManager:Box92 ISEXEC:FALSE --180.315243:-41.937258:-900.000000 --158.285243:-44.437258:-900.000000 +-142.932162:-30.672820:-900.000000 +-120.902162:-33.172820:-900.000000 FIN_BOX BOX creaVtk:MeshManager_tool:Box93 ISEXEC:FALSE --252.212913:-77.679379:-900.000000 --229.712913:-80.179379:-900.000000 +-279.892237:-76.855590:-900.000000 +-257.392237:-79.355590:-900.000000 PORT BoxProcessMode:"Manual" PORT @@ -249,13 +263,13 @@ BOX creaMaracasVisu:wxVtkBaseView_Info:Box96 ISEXEC:FALSE -6.504018:23.833007:-900.000000 -20.775982:21.333007:-900.000000 +22.535982:21.333007:-900.000000 FIN_BOX BOX creaVtk:PolyDataToImageData:Box97 ISEXEC:FALSE --251.393014:-39.330447:-900.000000 --228.593014:-41.830447:-900.000000 +-263.914613:-38.671415:-900.000000 +-241.114613:-41.171415:-900.000000 FIN_BOX BOX vtk:CreateImage:Box98 @@ -268,8 +282,8 @@ FIN_BOX BOX vtk:ImageGaussianSmooth:Box99 ISEXEC:FALSE --255.182927:-47.291143:-900.000000 --232.287927:-49.791143:-900.000000 +-265.727431:-45.808322:-900.000000 +-242.832431:-48.308322:-900.000000 PORT StdDevX:"1" PORT @@ -280,16 +294,16 @@ FIN_BOX BOX vtk:MarchingCubes:Box100 ISEXEC:FALSE --251.360924:-55.324497:-900.000000 --229.075924:-57.824497:-900.000000 +-272.944207:-54.006434:-900.000000 +-250.659207:-56.506434:-900.000000 PORT Value:"128" FIN_BOX BOX creaVtk:MeshReduction_DecimatePro:Box41 ISEXEC:FALSE --247.291053:-61.923455:-900.000000 --223.796053:-64.423455:-900.000000 +-274.805619:-61.429181:-900.000000 +-251.310619:-63.929181:-900.000000 PORT TargetReduction:"0.8" FIN_BOX @@ -312,14 +326,14 @@ FIN_BOX BOX creaVtk:PolyDataNormals:Box39 ISEXEC:FALSE --249.664060:-67.916509:-900.000000 --227.369060:-70.416509:-900.000000 +-278.134222:-67.669372:-900.000000 +-255.839222:-70.169372:-900.000000 FIN_BOX BOX wx:LayoutLine:Box49 ISEXEC:FALSE --86.139691:-44.097535:-900.000000 --52.819691:-46.597535:-900.000000 +-80.445579:-43.602395:-900.000000 +-47.125579:-46.102395:-900.000000 PORT Orientation:"V" PORT @@ -328,8 +342,8 @@ FIN_BOX BOX wx:LayoutTab:Box50 ISEXEC:FALSE --84.550879:-51.791022:-900.000000 --51.230879:-54.291022:-900.000000 +-79.723263:-51.667237:-900.000000 +-46.403263:-54.167237:-900.000000 FIN_BOX BOX wx:LayoutLine:Box52 @@ -369,7 +383,25 @@ ISEXEC:FALSE -23.051068:-86.101973:-900.000000 -1.381068:-88.601973:-900.000000 FIN_BOX -CONNECTIONS:62 +BOX +std:MagicBox:Box57 +ISEXEC:FALSE +-430.564835:126.449946:-900.000000 +-408.964835:123.949946:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box58 +ISEXEC:FALSE +-383.036606:126.106767:-900.000000 +-361.436606:123.606767:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box59 +ISEXEC:FALSE +-351.094473:125.944823:-900.000000 +-329.494473:123.444823:-900.000000 +FIN_BOX +CONNECTIONS:68 CONNECTION Box08:Widget:widget:widget NumberOfControlPoints:0 @@ -488,9 +520,6 @@ CONNECTION Box92:MeshManagerModel:Box48:MeshManagerModel NumberOfControlPoints:0 CONNECTION -Box63:BoxChange:Box72:_execute -NumberOfControlPoints:0 -CONNECTION Box92:MeshBase:Box45:Mesh NumberOfControlPoints:0 CONNECTION @@ -556,4 +585,25 @@ NumberOfControlPoints:0 CONNECTION Box56:Widget:Box53:Widget9 NumberOfControlPoints:0 +CONNECTION +freeplane_boxexecute:freeplane_boxexecute:Box57:In +NumberOfControlPoints:0 +CONNECTION +Box57:BoxChange:Box72:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +freeplane_point:freeplane_point:Box58:In +NumberOfControlPoints:0 +CONNECTION +Box58:Out:Box72:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +freeplane_transform:freeplane_transform:Box59:In +NumberOfControlPoints:0 +CONNECTION +Box59:Out:Box72:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box37:boxchange:Box72:_execute +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbs index d578689..c9bb716 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySmooth.bbs @@ -72,6 +72,7 @@ new std:MagicBox Box69 new std:MagicBox Box71 new creaMaracasVisu:MeshContours_Widget Box72 + set Box72.active_widget "1" set Box72.colorMesh "0 1 1" new wx:LayoutLine Box81 @@ -133,6 +134,12 @@ new wx:OutputText Box55 new wx:OutputText Box56 +new std:MagicBox Box57 + +new std:MagicBox Box58 + +new std:MagicBox Box59 + connect Box66.Out Box11.Renderer connect Box35.Out Box68.In @@ -163,7 +170,6 @@ connect Box40.Widget Box81.Widget2 connect Box100.Out Box41.In connect Box43.BoxChange Box48.BoxExecute connect Box92.MeshManagerModel Box48.MeshManagerModel -connect Box63.BoxChange Box72._execute connect Box92.MeshBase Box45.Mesh connect Box37.boxchange Box11.BoxExecute connect Box41.Out Box39.In @@ -186,6 +192,10 @@ connect Box53.Widget Box54.Widget4 connect Box54.Widget Box79.Widget7 connect Box55.Widget Box52.Widget9 connect Box56.Widget Box53.Widget9 +connect Box57.BoxChange Box72.Freeplane_boxexecute +connect Box58.Out Box72.Freeplane_point +connect Box59.Out Box72.Freeplane_transform +connect Box37.boxchange Box72._execute # Complex input ports input mesh Box67.In " " @@ -197,6 +207,9 @@ input wxvtkbaseview2 Box64.In " " input wxvtkbaseview3 Box65.In " " input wxvtkbaseview4 Box69.In " " input wxvtkbaseview1 Box71.In " " +input freeplane_boxexecute Box57.In " " +input freeplane_point Box58.In " " +input freeplane_transform Box59.In " " # Complex output ports output widget Box08.Widget " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg index 58fab7b..19933ea 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg @@ -72,7 +72,7 @@ COMPLEX_PORT freeplane_boxexecute -375.039600:125.091954:-900.000000 FIN_COMPLEX_PORT -BOXES:107 +BOXES:98 BOX creaMaracasVisu:ShowNPoints:showNpoints ISEXEC:FALSE @@ -176,8 +176,8 @@ FIN_BOX BOX creaMaracasVisu:ShowNPoints_Tools:Box60 ISEXEC:FALSE --347.228377:43.301757:-900.000000 --324.793377:40.801757:-900.000000 +-348.434487:40.648315:-900.000000 +-325.999487:38.148315:-900.000000 FIN_BOX BOX vtk:ImageVtkProperties:Box68 @@ -440,8 +440,8 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE --180.819147:-53.955489:-900.000000 --158.024147:-56.455489:-900.000000 +-292.263718:-49.372271:-900.000000 +-269.468718:-51.872271:-900.000000 PORT colorMesh:"0 1 1" FIN_BOX @@ -800,8 +800,8 @@ FIN_BOX BOX std:ConcatStrings:Box143 ISEXEC:FALSE --388.450292:99.312418:-900.000000 --365.690292:96.812418:-900.000000 +-382.419742:97.623864:-900.000000 +-359.659742:95.123864:-900.000000 PORT In2:" " PORT @@ -812,8 +812,8 @@ FIN_BOX BOX creaVtk:TransformVector:Box144 ISEXEC:FALSE --388.799646:107.580462:-900.000000 --366.479646:105.080462:-900.000000 +-387.593536:106.615574:-900.000000 +-365.273536:104.115574:-900.000000 PORT InX:"0" PORT @@ -862,86 +862,12 @@ ISEXEC:FALSE -288.411255:29.635821:-900.000000 FIN_BOX BOX -creaVtk:TransformVector:Box151 -ISEXEC:FALSE --454.012065:102.149964:-900.000000 --431.692065:99.649964:-900.000000 -PORT -InX:"0" -PORT -InY:"0" -PORT -InZ:"1" -FIN_BOX -BOX -std:ConcatStrings:Box152 -ISEXEC:FALSE --463.706669:91.307082:-900.000000 --440.946669:88.807082:-900.000000 -PORT -In2:" " -PORT -In4:" " -FIN_BOX -BOX -creaVtk:Plane:Box153 -ISEXEC:FALSE --471.568942:76.533865:-900.000000 --450.293942:74.033865:-900.000000 -FIN_BOX -BOX -std:MathOperationVector:Box154 -ISEXEC:FALSE --431.238497:85.752619:-900.000000 --406.718497:83.252619:-900.000000 -PORT -Type:"2" -FIN_BOX -BOX -creaVtk:Cutter:Box155 -ISEXEC:FALSE --470.417654:44.098912:-900.000000 --449.092654:41.598912:-900.000000 -FIN_BOX -BOX -vtk:PolyDataToActor:Box156 -ISEXEC:FALSE --461.190027:35.481197:-900.000000 --433.150027:32.981197:-900.000000 -PORT -Colour:"1 1 0" -PORT -Opacity:"0.99" -PORT -Representation:"1" -FIN_BOX -BOX -wx:CheckBox:Box157 -ISEXEC:FALSE --476.497326:61.831400:-900.000000 --454.757326:59.331400:-900.000000 -PORT -Title:"Contour free plane" -FIN_BOX -BOX std:MagicBox:Box158 ISEXEC:FALSE -403.731557:113.420656:-900.000000 -382.021557:110.920656:-900.000000 FIN_BOX -BOX -vtk:UpdateRender:Box161 -ISEXEC:FALSE --439.264872:12.410925:-900.000000 --417.129872:9.910925:-900.000000 -FIN_BOX -BOX -std:Mul:Box162 -ISEXEC:FALSE --485.442614:52.606037:-900.000000 --464.357614:50.106037:-900.000000 -FIN_BOX -CONNECTIONS:221 +CONNECTIONS:201 CONNECTION Box06:LstContourPointsX:Box04:LstX NumberOfControlPoints:0 @@ -1519,69 +1445,9 @@ CONNECTION Box57:InteractorStyleMaracas4:Box150:InteractorStyleMaracas4 NumberOfControlPoints:0 CONNECTION -Box141:Out:Box151:Transform -NumberOfControlPoints:0 -CONNECTION -Box151:OutX:Box152:In1 -NumberOfControlPoints:0 -CONNECTION -Box151:OutY:Box152:In3 -NumberOfControlPoints:0 -CONNECTION -Box151:OutZ:Box152:In5 -NumberOfControlPoints:0 -CONNECTION -Box152:Out:Box153:Normal -NumberOfControlPoints:0 -CONNECTION -Box142:Out:Box154:In0 -NumberOfControlPoints:0 -CONNECTION -Box154:Out:Box153:Origin -NumberOfControlPoints:0 -CONNECTION -Box68:Spacing:Box154:In1 -NumberOfControlPoints:0 -CONNECTION -Box153:Out:Box155:ImplicitFunction -NumberOfControlPoints:0 -CONNECTION -Box04:Out:Box155:In -NumberOfControlPoints:0 -CONNECTION -Box155:Out:Box156:In -NumberOfControlPoints:0 -CONNECTION -Box157:Widget:Box50:Widget8 -NumberOfControlPoints:0 -CONNECTION -Box66:Out:Box156:Renderer -NumberOfControlPoints:0 -CONNECTION freeplane_boxexecute:freeplane_boxexecute:Box158:In NumberOfControlPoints:0 CONNECTION -Box158:BoxChange:Box156:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box66:Out:Box161:Renderer -NumberOfControlPoints:0 -CONNECTION -Box156:BoxChange:Box161:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box162:Out:Box161:Active -NumberOfControlPoints:0 -CONNECTION -Box162:Out:Box155:Active -NumberOfControlPoints:0 -CONNECTION -Box149:Out:Box162:In2 -NumberOfControlPoints:0 -CONNECTION -Box157:Out:Box162:In1 -NumberOfControlPoints:0 -CONNECTION Box158:BoxChange:Box62:Freeplane_boxexecute NumberOfControlPoints:0 CONNECTION diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs index bba90f5..4da8e0a 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs @@ -315,36 +315,8 @@ new std:ConcatStrings Box149 new creaMaracasVisu:InteractorStyleMaracas_Model Box150 -new creaVtk:TransformVector Box151 - set Box151.InX "0" - set Box151.InY "0" - set Box151.InZ "1" - -new std:ConcatStrings Box152 - set Box152.In2 " " - set Box152.In4 " " - -new creaVtk:Plane Box153 - -new std:MathOperationVector Box154 - set Box154.Type "2" - -new creaVtk:Cutter Box155 - -new vtk:PolyDataToActor Box156 - set Box156.Colour "1 1 0" - set Box156.Opacity "0.99" - set Box156.Representation "1" - -new wx:CheckBox Box157 - set Box157.Title "Contour free plane" - new std:MagicBox Box158 -new vtk:UpdateRender Box161 - -new std:Mul Box162 - connect Box06.LstContourPointsX Box04.LstX connect showNpoints.lstIndexs Box06.LstIndexsIn @@ -524,26 +496,6 @@ connect Box57.InteractorStyleMaracas2 Box150.InteractorStyleMaracas2 connect Box57.InteractorStyleMaracas3 Box150.InteractorStyleMaracas3 connect Box149.BoxChange Box150.BoxExecute connect Box57.InteractorStyleMaracas4 Box150.InteractorStyleMaracas4 -connect Box141.Out Box151.Transform -connect Box151.OutX Box152.In1 -connect Box151.OutY Box152.In3 -connect Box151.OutZ Box152.In5 -connect Box152.Out Box153.Normal -connect Box142.Out Box154.In0 -connect Box154.Out Box153.Origin -connect Box68.Spacing Box154.In1 -connect Box153.Out Box155.ImplicitFunction -connect Box04.Out Box155.In -connect Box155.Out Box156.In -connect Box157.Widget Box50.Widget8 -connect Box66.Out Box156.Renderer -connect Box158.BoxChange Box156.BoxExecute -connect Box66.Out Box161.Renderer -connect Box156.BoxChange Box161.BoxExecute -connect Box162.Out Box161.Active -connect Box162.Out Box155.Active -connect Box149.Out Box162.In2 -connect Box157.Out Box162.In1 connect Box158.BoxChange Box62.Freeplane_boxexecute connect Box158.BoxChange Box72.Freeplane_boxexecute connect Box142.Out Box62.Freeplane_point -- 2.47.1