From fbe6dd388eb3f969c421a30cd2b78ad214864fb5 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Sat, 31 Dec 2022 18:48:36 +0100 Subject: [PATCH] #3497 Mesh_tool_ApplyThresholdConnectivity --- bbtk/bbs/boxes/Mesh_Application.bbg | 67 ++++++++--- bbtk/bbs/boxes/Mesh_Application.bbs | 16 ++- bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbg | 64 +++++------ bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs | 4 +- bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg | 106 +++++++++--------- bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs | 4 +- bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg | 4 +- bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs | 4 +- bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg | 98 ++++++++-------- bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs | 4 +- .../Mesh_tool_ApplyThresholdConnectivity.bbg | 48 ++++---- .../Mesh_tool_ApplyThresholdConnectivity.bbs | 5 +- bbtk/bbs/boxes/PolyDataToActor_Widget.bbg | 46 ++++---- bbtk/bbs/boxes/PolyDataToActor_Widget.bbs | 2 +- 14 files changed, 261 insertions(+), 211 deletions(-) diff --git a/bbtk/bbs/boxes/Mesh_Application.bbg b/bbtk/bbs/boxes/Mesh_Application.bbg index 5413c8d..2f497d0 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbg +++ b/bbtk/bbs/boxes/Mesh_Application.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_Application.bbg +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_Application.bbg # ---------------------------------- APP_START @@ -56,7 +56,7 @@ COMPLEX_PORT wxvtkbaseview4_In 206.922345:93.364879:-900.000000 FIN_COMPLEX_PORT -BOXES:50 +BOXES:52 BOX creaMaracasVisu:ImageChangeInformation:Box07 ISEXEC:FALSE @@ -155,7 +155,7 @@ In2:"false false true false false false" PORT In3:"false false false false false false" PORT -In4:"false false false false true false" +In4:"false false false false false true" PORT In5:"false false false false false false" PORT @@ -170,16 +170,16 @@ FIN_BOX BOX std:GetVectorStringElement:Box24 ISEXEC:FALSE --19.379724:-47.920386:-900.000000 -3.575276:-50.420386:-900.000000 +-37.359341:-46.680412:-900.000000 +-14.404341:-49.180412:-900.000000 PORT I:"1" FIN_BOX BOX creaMaracasVisu:InteractorStyleMaracas_Model:Box25 ISEXEC:FALSE --51.175905:-64.745553:-900.000000 --27.570905:-67.245553:-900.000000 +-39.396156:-59.785659:-900.000000 +-15.791156:-62.285659:-900.000000 FIN_BOX BOX vtk:SurfaceTexture:Box26 @@ -264,16 +264,16 @@ FIN_BOX BOX std:GetVectorStringElement:Box39 ISEXEC:FALSE -8.282845:-45.345436:-900.000000 -31.237845:-47.845436:-900.000000 +-1.791941:-44.880446:-900.000000 +21.163059:-47.380446:-900.000000 PORT I:"2" FIN_BOX BOX creaMaracasVisu:InteractorStyleMaracas_Model:Box40 ISEXEC:FALSE -19.417712:-64.227148:-900.000000 -43.022712:-66.727148:-900.000000 +0.663111:-61.902197:-900.000000 +24.268111:-64.402197:-900.000000 FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplyByImage:Box46 @@ -372,16 +372,16 @@ FIN_BOX BOX std:ConcatStrings_tool:Box57 ISEXEC:FALSE -93.319326:-47.045698:-900.000000 -115.759326:-49.545698:-900.000000 +101.844145:-60.530411:-900.000000 +124.284145:-63.030411:-900.000000 PORT Type:"1" FIN_BOX BOX std:GetVectorStringElement:Box58 ISEXEC:FALSE -99.772082:-33.618226:-900.000000 -122.727082:-36.118226:-900.000000 +94.967184:-49.117896:-900.000000 +117.922184:-51.617896:-900.000000 PORT I:"4" FIN_BOX @@ -455,7 +455,21 @@ ISEXEC:FALSE PORT title:"Threshold" FIN_BOX -CONNECTIONS:136 +BOX +std:GetVectorStringElement:Box71 +ISEXEC:FALSE +33.287611:-45.080314:-900.000000 +56.242611:-47.580314:-900.000000 +PORT +I:"5" +FIN_BOX +BOX +creaMaracasVisu:InteractorStyleMaracas_Model:Box72 +ISEXEC:FALSE +35.742663:-62.102066:-900.000000 +59.347663:-64.602066:-900.000000 +FIN_BOX +CONNECTIONS:143 CONNECTION Box08:MeshBase:Box15:polydata NumberOfControlPoints:0 @@ -864,4 +878,25 @@ NumberOfControlPoints:0 CONNECTION Box70:widget:Box12:Widget9 NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box72:Active +NumberOfControlPoints:0 +CONNECTION +Box23:Out:Box71:In +NumberOfControlPoints:0 +CONNECTION +Box70:interactorStyleMaracas:Box72:InteractorStyleMaracas +NumberOfControlPoints:0 +CONNECTION +Box70:interactorStyleMaracas2:Box72:InteractorStyleMaracas2 +NumberOfControlPoints:0 +CONNECTION +Box70:interactorStyleMaracas3:Box72:InteractorStyleMaracas3 +NumberOfControlPoints:0 +CONNECTION +Box70:interactorStyleMaracas4:Box72:InteractorStyleMaracas4 +NumberOfControlPoints:0 +CONNECTION +Box12:BoxChange:Box72:BoxExecute +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_Application.bbs b/bbtk/bbs/boxes/Mesh_Application.bbs index 49aaff8..08a7d16 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbs +++ b/bbtk/bbs/boxes/Mesh_Application.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_Application.bbs +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_Application.bbs # ---------------------------------- include std @@ -54,7 +54,7 @@ new std:StringSelect Box23 set Box23.In1 "false true false false false false" set Box23.In2 "false false true false false false" set Box23.In3 "false false false false false false" - set Box23.In4 "false false false false true false" + set Box23.In4 "false false false false false true" set Box23.In5 "false false false false false false" set Box23.In6 "false false false false false false" set Box23.In7 "false false false false false false" @@ -167,6 +167,11 @@ new std:MagicBox Box69 new creaMaracasVisu:Mesh_tool_ApplyThresholdConnectivity Box70 set Box70.title "Threshold" +new std:GetVectorStringElement Box71 + set Box71.I "5" + +new creaMaracasVisu:InteractorStyleMaracas_Model Box72 + connect Box08.MeshBase Box15.polydata connect Box08.MeshTemp Box10.mesh @@ -293,6 +298,13 @@ connect Box67.Out Box70.wxvtkbaseview2 connect Box68.Out Box70.wxvtkbaseview3 connect Box69.Out Box70.wxvtkbaseview4 connect Box70.widget Box12.Widget9 +connect Box71.Out Box72.Active +connect Box23.Out Box71.In +connect Box70.interactorStyleMaracas Box72.InteractorStyleMaracas +connect Box70.interactorStyleMaracas2 Box72.InteractorStyleMaracas2 +connect Box70.interactorStyleMaracas3 Box72.InteractorStyleMaracas3 +connect Box70.interactorStyleMaracas4 Box72.InteractorStyleMaracas4 +connect Box12.BoxChange Box72.BoxExecute # Complex input ports input MeshIn Box56.In " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbg index b9585d0..43851a8 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbg +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbg # ---------------------------------- APP_START @@ -57,7 +57,7 @@ BOX wx:LayoutLine:Box08 ISEXEC:FALSE -191.490538:-129.735971:-900.000000 --158.170538:-132.235971:-900.000000 +33.320000:-132.235971:-900.000000 FIN_BOX BOX vtk:UpdateRender:Box11 @@ -71,13 +71,13 @@ BOX vtk:ImageVtkProperties:Box68 ISEXEC:FALSE -262.018178:-23.411381:-900.000000 --239.483178:-25.911381:-900.000000 +16.720000:-25.911381:-900.000000 FIN_BOX BOX wx:LayoutLine:Box79 ISEXEC:FALSE -142.444548:-98.205267:-900.000000 --109.124548:-100.705267:-900.000000 +33.320000:-100.705267:-900.000000 PORT Orientation:"H" PORT @@ -89,7 +89,7 @@ ISEXEC:FALSE -101.602098:27.184371:-900.000000 -79.327098:24.684371:-900.000000 PORT -Label:"Run" +Label:"Refresh" FIN_BOX BOX std:MagicBox:Box66 @@ -101,19 +101,19 @@ BOX std:MagicBox:Box67 ISEXEC:FALSE -67.526006:124.007723:-900.000000 --45.926006:121.507723:-900.000000 +8.680000:121.507723:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box35 ISEXEC:FALSE -107.091396:123.633118:-900.000000 --83.881396:121.133118:-900.000000 +6.920000:121.133118:-900.000000 FIN_BOX BOX creaMaracasVisu:PolyDataToActor_Widget:Box37 ISEXEC:FALSE -36.296182:-79.717323:-900.000000 --13.276182:-82.217323:-900.000000 +13.960000:-82.217323:-900.000000 PORT color:"0 1 1" PORT @@ -123,13 +123,13 @@ BOX wx:LayoutTab:Box40 ISEXEC:FALSE -182.535138:-107.612723:-900.000000 --149.215138:-110.112723:-900.000000 +33.320000:-110.112723:-900.000000 FIN_BOX BOX wx:CommandButton:Box42 ISEXEC:FALSE -91.903796:13.441695:-900.000000 --69.628796:10.941695:-900.000000 +21.000000:10.941695:-900.000000 PORT Label:"Apply (Magenta->To Red)" FIN_BOX @@ -137,7 +137,7 @@ BOX wx:CommandButton:Box43 ISEXEC:FALSE -80.312782:7.645253:-900.000000 --58.037782:5.145253:-900.000000 +21.000000:5.145253:-900.000000 PORT Label:"Reset Tool" FIN_BOX @@ -145,7 +145,7 @@ BOX wx:LayoutLine:Box44 ISEXEC:FALSE -122.128535:-44.031647:-900.000000 --88.808535:-46.531647:-900.000000 +33.320000:-46.531647:-900.000000 PORT Orientation:"V" PORT @@ -155,7 +155,7 @@ BOX creaVtk:MeshManager_tool:Box45 ISEXEC:FALSE -88.859950:-132.940417:-900.000000 --66.359950:-135.440417:-900.000000 +10.440000:-135.440417:-900.000000 PORT Tool:"30" FIN_BOX @@ -163,13 +163,13 @@ BOX std:MagicBox:Box46 ISEXEC:FALSE -139.784698:124.004612:-900.000000 --118.184698:121.504612:-900.000000 +8.680000:121.504612:-900.000000 FIN_BOX BOX std:MultipleInputs:Box51 ISEXEC:FALSE -92.949669:-148.627142:-900.000000 --70.979669:-151.127142:-900.000000 +21.000000:-151.127142:-900.000000 FIN_BOX BOX std:MagicBox:Box63 @@ -181,31 +181,31 @@ BOX std:MagicBox:Box64 ISEXEC:FALSE -243.113826:124.330340:-900.000000 --221.513826:121.830340:-900.000000 +8.680000:121.830340:-900.000000 FIN_BOX BOX std:MagicBox:Box65 ISEXEC:FALSE -220.296210:124.504415:-900.000000 --198.696210:122.004415:-900.000000 +8.680000:122.004415:-900.000000 FIN_BOX BOX std:MagicBox:Box69 ISEXEC:FALSE -197.793508:124.678490:-900.000000 --176.193508:122.178490:-900.000000 +8.680000:122.178490:-900.000000 FIN_BOX BOX std:MagicBox:Box71 ISEXEC:FALSE -273.359367:124.504415:-900.000000 --251.759367:122.004415:-900.000000 +8.680000:122.004415:-900.000000 FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE -109.985892:-79.925596:-900.000000 --87.190892:-82.425596:-900.000000 +13.960000:-82.425596:-900.000000 PORT colorMesh:"0 1 1" FIN_BOX @@ -213,7 +213,7 @@ BOX wx:LayoutLine:Box81 ISEXEC:FALSE -186.050677:-117.835921:-900.000000 --152.730677:-120.335921:-900.000000 +33.320000:-120.335921:-900.000000 PORT WinTitle:"Step 1. Surface" FIN_BOX @@ -227,19 +227,19 @@ BOX wx:OutputText:Box84 ISEXEC:FALSE -90.166444:-34.853291:-900.000000 --68.496444:-37.353291:-900.000000 +19.240000:-37.353291:-900.000000 FIN_BOX BOX creaVtk:MeshManager:Box92 ISEXEC:FALSE -180.315243:-41.937258:-900.000000 --158.285243:-44.437258:-900.000000 +9.680000:-44.437258:-900.000000 FIN_BOX BOX creaVtk:MeshManager_tool:Box93 ISEXEC:FALSE -256.725914:-77.013526:-900.000000 --234.225914:-79.513526:-900.000000 +10.440000:-79.513526:-900.000000 PORT Tool:"35" FIN_BOX @@ -247,19 +247,19 @@ BOX creaMaracasVisu:wxVtkBaseView_Info:Box96 ISEXEC:FALSE -6.504018:23.833007:-900.000000 -20.775982:21.333007:-900.000000 +27.280000:21.333007:-900.000000 FIN_BOX BOX creaVtk:PolyDataToImageData:Box97 ISEXEC:FALSE -251.393014:-39.330447:-900.000000 --228.593014:-41.830447:-900.000000 +10.440000:-41.830447:-900.000000 FIN_BOX BOX vtk:CreateImage:Box98 ISEXEC:FALSE -259.705405:-31.233561:-900.000000 --237.775405:-33.733561:-900.000000 +12.200000:-33.733561:-900.000000 PORT OutputFormat:"VTK_UNSIGNED_CHAR" FIN_BOX @@ -267,7 +267,7 @@ BOX vtk:ImageGaussianSmooth:Box99 ISEXEC:FALSE -255.182927:-47.291143:-900.000000 --232.287927:-49.791143:-900.000000 +12.200000:-49.791143:-900.000000 PORT StdDevX:"1" PORT @@ -289,7 +289,7 @@ BOX creaVtk:MeshReduction_DecimatePro:Box41 ISEXEC:FALSE -247.291053:-61.923455:-900.000000 --223.796053:-64.423455:-900.000000 +8.680000:-64.423455:-900.000000 PORT TargetReduction:"0.8" FIN_BOX @@ -297,7 +297,7 @@ BOX creaVtk:MeshManager_tool:Box47 ISEXEC:FALSE -60.096172:-132.552191:-900.000000 --37.596172:-135.052191:-900.000000 +10.440000:-135.052191:-900.000000 PORT Tool:"35" FIN_BOX @@ -305,7 +305,7 @@ BOX creaVtk:MeshManager_tool:Box48 ISEXEC:FALSE -31.571613:-131.892967:-900.000000 --9.071613:-134.392967:-900.000000 +10.440000:-134.392967:-900.000000 PORT Tool:"35" FIN_BOX @@ -313,7 +313,7 @@ BOX creaVtk:PolyDataNormals:Box39 ISEXEC:FALSE -249.664060:-67.916509:-900.000000 --227.369060:-70.416509:-900.000000 +12.200000:-70.416509:-900.000000 FIN_BOX CONNECTIONS:54 CONNECTION diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs index 7a5653b..0414c83 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs # ---------------------------------- include std @@ -30,7 +30,7 @@ new wx:LayoutLine Box79 set Box79.WinTitle "New Surface ( Magenta )" new wx:CommandButton Box80 - set Box80.Label "Run" + set Box80.Label "Refresh" new std:MagicBox Box66 diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg index b5eb6ae..d97a336 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg # ---------------------------------- APP_START @@ -61,7 +61,7 @@ BOX wx:LayoutLine:Box08 ISEXEC:FALSE -191.490538:-129.735971:-900.000000 --158.170538:-132.235971:-900.000000 +33.320000:-132.235971:-900.000000 FIN_BOX BOX vtk:UpdateRender:Box11 @@ -75,7 +75,7 @@ BOX wx:LayoutLine:Box79 ISEXEC:FALSE -131.034747:-92.367694:-900.000000 --97.714747:-94.867694:-900.000000 +33.320000:-94.867694:-900.000000 PORT Orientation:"H" PORT @@ -87,7 +87,7 @@ ISEXEC:FALSE -106.415574:-14.764137:-900.000000 -84.140574:-17.264137:-900.000000 PORT -Label:"Run" +Label:"Refresh" FIN_BOX BOX std:MagicBox:Box66 @@ -99,19 +99,19 @@ BOX std:MagicBox:Box67 ISEXEC:FALSE -67.526006:124.007723:-900.000000 --45.926006:121.507723:-900.000000 +8.680000:121.507723:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box35 ISEXEC:FALSE -107.091396:123.633118:-900.000000 --83.881396:121.133118:-900.000000 +6.920000:121.133118:-900.000000 FIN_BOX BOX creaMaracasVisu:PolyDataToActor_Widget:Box37 ISEXEC:FALSE -204.608881:-41.015696:-900.000000 --181.588881:-43.515696:-900.000000 +13.960000:-43.515696:-900.000000 PORT color:"0 1 1" FIN_BOX @@ -119,13 +119,13 @@ BOX wx:LayoutTab:Box40 ISEXEC:FALSE -182.535138:-107.612723:-900.000000 --149.215138:-110.112723:-900.000000 +33.320000:-110.112723:-900.000000 FIN_BOX BOX wx:CommandButton:Box42 ISEXEC:FALSE -85.800879:-23.706495:-900.000000 --63.525879:-26.206495:-900.000000 +21.000000:-26.206495:-900.000000 PORT Label:"Apply (Magenta->To Red)" FIN_BOX @@ -133,7 +133,7 @@ BOX wx:CommandButton:Box43 ISEXEC:FALSE -81.165560:-32.420102:-900.000000 --58.890560:-34.920102:-900.000000 +21.000000:-34.920102:-900.000000 PORT Label:"Reset Tool" FIN_BOX @@ -141,7 +141,7 @@ BOX wx:LayoutLine:Box44 ISEXEC:FALSE -115.630816:-43.110903:-900.000000 --82.310816:-45.610903:-900.000000 +33.320000:-45.610903:-900.000000 PORT Orientation:"V" PORT @@ -151,7 +151,7 @@ BOX creaVtk:MeshManager_tool:Box45 ISEXEC:FALSE -88.421365:-133.817588:-900.000000 --65.921365:-136.317588:-900.000000 +10.440000:-136.317588:-900.000000 PORT Tool:"32" FIN_BOX @@ -159,49 +159,49 @@ BOX std:MagicBox:Box46 ISEXEC:FALSE -139.784698:124.004612:-900.000000 --118.184698:121.504612:-900.000000 +8.680000:121.504612:-900.000000 FIN_BOX BOX std:MultipleInputs:Box51 ISEXEC:FALSE -92.949669:-148.627142:-900.000000 --70.979669:-151.127142:-900.000000 +21.000000:-151.127142:-900.000000 FIN_BOX BOX std:MagicBox:Box63 ISEXEC:FALSE -23.567293:123.061021:-900.000000 --1.967293:120.561021:-900.000000 +8.680000:120.561021:-900.000000 FIN_BOX BOX std:MagicBox:Box64 ISEXEC:FALSE -243.113826:124.330340:-900.000000 --221.513826:121.830340:-900.000000 +8.680000:121.830340:-900.000000 FIN_BOX BOX std:MagicBox:Box65 ISEXEC:FALSE -220.296210:124.504415:-900.000000 --198.696210:122.004415:-900.000000 +8.680000:122.004415:-900.000000 FIN_BOX BOX std:MagicBox:Box69 ISEXEC:FALSE -197.793508:124.678490:-900.000000 --176.193508:122.178490:-900.000000 +8.680000:122.178490:-900.000000 FIN_BOX BOX std:MagicBox:Box71 ISEXEC:FALSE -273.359367:124.504415:-900.000000 --251.759367:122.004415:-900.000000 +8.680000:122.004415:-900.000000 FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE -116.492181:-83.459652:-900.000000 --93.697181:-85.959652:-900.000000 +13.960000:-85.959652:-900.000000 PORT colorMesh:"0 1 1" FIN_BOX @@ -209,7 +209,7 @@ BOX wx:LayoutLine:Box81 ISEXEC:FALSE -186.050677:-117.835921:-900.000000 --152.730677:-120.335921:-900.000000 +33.320000:-120.335921:-900.000000 PORT WinTitle:"Step 1. Surface" FIN_BOX @@ -217,19 +217,19 @@ BOX wx:LayoutTab:Box82 ISEXEC:FALSE -124.770231:-53.363834:-900.000000 --91.450231:-55.863834:-900.000000 +33.320000:-55.863834:-900.000000 FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_Info:Box96 ISEXEC:FALSE -287.507139:74.319532:-900.000000 --260.227139:71.819532:-900.000000 +27.280000:71.819532:-900.000000 FIN_BOX BOX creaVtk:MeshManager_tool:Box48 ISEXEC:FALSE -18.488355:-138.446377:-900.000000 -4.011645:-140.946377:-900.000000 +10.440000:-140.946377:-900.000000 PORT Tool:"30" FIN_BOX @@ -237,7 +237,7 @@ BOX creaVtk:MeshDeformation:Box39 ISEXEC:FALSE -393.073643:-51.132543:-900.000000 --370.728643:-53.632543:-900.000000 +17.480000:-53.632543:-900.000000 PORT TypeIn:"1" FIN_BOX @@ -263,7 +263,7 @@ BOX wx:CheckBox:Box50 ISEXEC:FALSE -394.807418:132.862997:-900.000000 --373.177418:130.362997:-900.000000 +21.000000:130.362997:-900.000000 PORT Title:"Active" FIN_BOX @@ -313,7 +313,7 @@ BOX creaVtk:PlaneWidget_Base:Box57 ISEXEC:FALSE -363.831600:-51.704534:-900.000000 --341.421600:-54.204534:-900.000000 +10.440000:-54.204534:-900.000000 PORT Param:"-1" PORT @@ -323,7 +323,7 @@ BOX creaVtk:PlaneWidget_Base:Box60 ISEXEC:FALSE -335.517560:-51.686120:-900.000000 --313.107560:-54.186120:-900.000000 +10.440000:-54.186120:-900.000000 PORT Param:"1" PORT @@ -333,25 +333,25 @@ BOX std:MultipleInputs:Box61 ISEXEC:FALSE -391.119447:-40.831654:-900.000000 --369.149447:-43.331654:-900.000000 +21.000000:-43.331654:-900.000000 FIN_BOX BOX creaVtk:MeshManager:Box62 ISEXEC:FALSE -118.710595:82.225283:-900.000000 --96.680595:79.725283:-900.000000 +9.680000:79.725283:-900.000000 FIN_BOX BOX std:MultipleInputs:Box73 ISEXEC:FALSE -354.803800:-75.117455:-900.000000 --332.833800:-77.617455:-900.000000 +21.000000:-77.617455:-900.000000 FIN_BOX BOX creaVtk:PointPickerNearest:Box75 ISEXEC:FALSE -238.037741:46.670015:-900.000000 --215.587741:44.170015:-900.000000 +12.200000:44.170015:-900.000000 PORT Active:"true" FIN_BOX @@ -359,7 +359,7 @@ BOX creaMaracasVisu:wxVtkBaseView_Info:Box76 ISEXEC:FALSE -259.552459:91.687133:-900.000000 --232.272459:89.187133:-900.000000 +27.280000:89.187133:-900.000000 PORT InteractionType:"6" FIN_BOX @@ -375,7 +375,7 @@ BOX vtk:ImageVtkProperties:Box83 ISEXEC:FALSE -219.373063:72.307772:-900.000000 --196.838063:69.807772:-900.000000 +16.720000:69.807772:-900.000000 FIN_BOX BOX std:SharedMemory:Box85 @@ -387,19 +387,19 @@ BOX std:SharedMemory:Box86 ISEXEC:FALSE -303.246870:36.722338:-900.000000 --280.486870:34.222338:-900.000000 +22.760000:34.222338:-900.000000 FIN_BOX BOX std:SharedMemory:Box87 ISEXEC:FALSE -297.141632:30.701141:-900.000000 --274.381632:28.201141:-900.000000 +22.760000:28.201141:-900.000000 FIN_BOX BOX std:MathOperationVector:Box88 ISEXEC:FALSE -247.017714:-58.438454:-900.000000 --222.497714:-60.938454:-900.000000 +24.520000:-60.938454:-900.000000 PORT Type:"3" FIN_BOX @@ -407,13 +407,13 @@ BOX creaMaracasVisu:SetPosition:Box89 ISEXEC:FALSE -280.871840:-68.898121:-900.000000 --259.211840:-71.398121:-900.000000 +12.200000:-71.398121:-900.000000 FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_info_tool:Box90 ISEXEC:FALSE -253.040214:81.680557:-900.000000 --229.960214:79.180557:-900.000000 +19.240000:79.180557:-900.000000 PORT Type:"1" FIN_BOX @@ -429,7 +429,7 @@ BOX creaVtk:PointPicker:Box92 ISEXEC:FALSE -284.610941:53.006854:-900.000000 --262.915941:50.506854:-900.000000 +15.720000:50.506854:-900.000000 PORT TypeEvent:"2" FIN_BOX @@ -437,7 +437,7 @@ BOX std:ConcatStrings_tool:Box94 ISEXEC:FALSE -215.261074:-7.270627:-900.000000 --192.821074:-9.770627:-900.000000 +10.440000:-9.770627:-900.000000 PORT Type:"1" FIN_BOX @@ -451,7 +451,7 @@ BOX std:ConcatStrings_tool:Box97 ISEXEC:FALSE -183.589771:-31.275624:-900.000000 --161.149771:-33.775624:-900.000000 +10.440000:-33.775624:-900.000000 PORT Type:"1" FIN_BOX @@ -465,7 +465,7 @@ BOX std:ConcatStrings_tool:Box99 ISEXEC:FALSE -213.431372:-20.340330:-900.000000 --190.991372:-22.840330:-900.000000 +10.440000:-22.840330:-900.000000 PORT Type:"1" FIN_BOX @@ -503,7 +503,7 @@ BOX wx:RadioButton:Box104 ISEXEC:FALSE -401.448024:96.315673:-900.000000 --364.608024:93.815673:-900.000000 +36.840000:93.815673:-900.000000 PORT In0:"Magenta" PORT @@ -515,7 +515,7 @@ BOX std:StringSelect:Box105 ISEXEC:FALSE -380.523773:80.828432:-900.000000 --356.003773:78.328432:-900.000000 +24.520000:78.328432:-900.000000 PORT In0:"false" PORT @@ -561,7 +561,7 @@ BOX std:GetVectorDoubleElement:Box111 ISEXEC:FALSE -470.779229:42.331938:-900.000000 --447.544229:39.831938:-900.000000 +10.440000:39.831938:-900.000000 PORT I:"0" FIN_BOX @@ -569,7 +569,7 @@ BOX std:GetVectorDoubleElement:Box112 ISEXEC:FALSE -499.976555:42.295735:-900.000000 --476.741555:39.795735:-900.000000 +10.440000:39.795735:-900.000000 PORT I:"1" FIN_BOX @@ -577,7 +577,7 @@ BOX creaMaracasVisu:wxVtkBaseView_Info:Box113 ISEXEC:FALSE -320.718977:101.018811:-900.000000 --293.438977:98.518811:-900.000000 +27.280000:98.518811:-900.000000 PORT InteractionType:"8" FIN_BOX @@ -585,7 +585,7 @@ BOX creaMaracasVisu:wxVtkBaseView_info_tool:Box114 ISEXEC:FALSE -319.417530:85.078645:-900.000000 --296.227530:82.578645:-900.000000 +19.240000:82.578645:-900.000000 PORT Type:"1" FIN_BOX @@ -601,7 +601,7 @@ BOX std:ConcatStrings_tool:Box116 ISEXEC:FALSE -202.680134:-3.848758:-900.000000 --180.130134:-6.348758:-900.000000 +10.440000:-6.348758:-900.000000 PORT Type:"1" FIN_BOX @@ -609,7 +609,7 @@ BOX std:ConcatStrings:Box117 ISEXEC:FALSE -479.325602:127.929555:-900.000000 --456.565602:125.429555:-900.000000 +22.760000:125.429555:-900.000000 PORT In1:"true" FIN_BOX @@ -617,13 +617,13 @@ BOX std:Mul:Box118 ISEXEC:FALSE -474.686679:98.376440:-900.000000 --453.601679:95.876440:-900.000000 +8.680000:95.876440:-900.000000 FIN_BOX BOX std:ReplaceCleanString:Box119 ISEXEC:FALSE -469.644099:116.669178:-900.000000 --446.979099:114.169178:-900.000000 +10.440000:114.169178:-900.000000 PORT Replace:"1" PORT diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs index 75c8bc3..0fe362a 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs # ---------------------------------- include std @@ -28,7 +28,7 @@ new wx:LayoutLine Box79 set Box79.WinTitle "New Surface ( Magenta )" new wx:CommandButton Box80 - set Box80.Label "Run" + set Box80.Label "Refresh" new std:MagicBox Box66 diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg index f780121..04ed010 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg # ---------------------------------- APP_START @@ -235,7 +235,7 @@ ISEXEC:FALSE -107.307880:18.830890:-900.000000 -85.032880:16.330890:-900.000000 PORT -Label:"Run" +Label:"Refresh" FIN_BOX BOX std:MagicBox:Box66 diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs index 4178e0e..8bad5a3 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs # ---------------------------------- include std @@ -81,7 +81,7 @@ new wx:LayoutLine Box79 set Box79.WinTitle "New Surface ( Magenta = Red+Yellow )" new wx:CommandButton Box80 - set Box80.Label "Run" + set Box80.Label "Refresh" new std:MagicBox Box66 diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg index 0622cf7..aa0c1c2 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg # ---------------------------------- APP_START @@ -77,7 +77,7 @@ BOX creaMaracasVisu:ShowNPoints:showNpoints ISEXEC:FALSE 24.787568:83.025910:-900.000000 -61.627568:80.525910:-900.000000 +46.637568:80.525910:-900.000000 PORT Radio:"2" PORT @@ -95,7 +95,7 @@ BOX creaMaracasVisu:ManualContourModel_Box:Box06 ISEXEC:FALSE 29.075845:30.364799:-900.000000 -53.595845:27.864799:-900.000000 +52.285845:27.864799:-900.000000 PORT DoubleContour:"1" PORT @@ -123,7 +123,7 @@ BOX creaMaracasVisu:DrawAxisTree3D:Box30 ISEXEC:FALSE 66.011927:-0.645212:-900.000000 -94.051927:-3.145212:-900.000000 +88.191927:-3.145212:-900.000000 PORT Colour:"0 0 1" PORT @@ -139,7 +139,7 @@ BOX creaMaracasVisu:ManualContourModel_Box:Box29 ISEXEC:FALSE 76.240145:29.637449:-900.000000 -100.760145:27.137449:-900.000000 +99.450145:27.137449:-900.000000 PORT NbPoints:"40" PORT @@ -151,7 +151,7 @@ BOX creaMaracasVisu:wxPopupMenu:Box57 ISEXEC:FALSE -291.724262:77.620511:-900.000000 --269.659262:75.120511:-900.000000 +17.480000:75.120511:-900.000000 PORT WithCtrlKey:"true" FIN_BOX @@ -159,7 +159,7 @@ BOX std:AddStringToVector:Box58 ISEXEC:FALSE -304.297403:100.641432:-900.000000 --279.777403:98.141432:-900.000000 +24.520000:98.141432:-900.000000 PORT In0:"+ Add point" PORT @@ -191,13 +191,13 @@ BOX vtk:ImageVtkProperties:Box68 ISEXEC:FALSE -111.766259:110.196821:-900.000000 --89.231259:107.696821:-900.000000 +16.720000:107.696821:-900.000000 FIN_BOX BOX std:VectorFilterDouble:Box70 ISEXEC:FALSE 49.750242:60.953814:-900.000000 -76.030242:58.453814:-900.000000 +72.180242:58.453814:-900.000000 PORT Type:"11" FIN_BOX @@ -205,7 +205,7 @@ BOX creaVtk:BooleanOperationPolyDataFilter:Box77 ISEXEC:FALSE -85.849843:-22.221970:-900.000000 --62.119843:-24.721970:-900.000000 +12.200000:-24.721970:-900.000000 PORT BoxProcessMode:"Manual" PORT @@ -215,7 +215,7 @@ BOX wx:ComboBox:Box78 ISEXEC:FALSE -153.877713:-5.775167:-900.000000 --127.597713:-8.275167:-900.000000 +26.280000:-8.275167:-900.000000 PORT In:"Union Intersection Difference" FIN_BOX @@ -223,7 +223,7 @@ BOX wx:LayoutLine:Box79 ISEXEC:FALSE -144.841026:-82.628158:-900.000000 --111.521026:-85.128158:-900.000000 +33.320000:-85.128158:-900.000000 PORT Orientation:"H" PORT @@ -235,19 +235,19 @@ ISEXEC:FALSE -107.184095:21.801731:-900.000000 -84.909095:19.301731:-900.000000 PORT -Label:"Run" +Label:"Refresh" FIN_BOX BOX std:MagicBox:Box66 ISEXEC:FALSE -148.055989:80.219744:-900.000000 --126.455989:77.719744:-900.000000 +8.680000:77.719744:-900.000000 FIN_BOX BOX std:MagicBox:Box67 ISEXEC:FALSE -67.526006:124.007723:-900.000000 --45.926006:121.507723:-900.000000 +8.680000:121.507723:-900.000000 FIN_BOX BOX creaMaracasVisu:PolyDataToActor_Widget:Box48 @@ -259,13 +259,13 @@ BOX vtk:vtkImageDataPointerRelay:Box35 ISEXEC:FALSE -107.091396:123.633118:-900.000000 --83.881396:121.133118:-900.000000 +6.920000:121.133118:-900.000000 FIN_BOX BOX wx:Slider:Box34 ISEXEC:FALSE -198.941120:-3.426364:-900.000000 --169.141120:-5.926364:-900.000000 +29.800000:-5.926364:-900.000000 PORT In:"50" PORT @@ -283,7 +283,7 @@ BOX std:Div:Box36 ISEXEC:FALSE -190.788172:-9.261990:-900.000000 --169.863172:-11.761990:-900.000000 +8.680000:-11.761990:-900.000000 PORT In2:"100" FIN_BOX @@ -291,7 +291,7 @@ BOX creaMaracasVisu:PolyDataToActor_Widget:Box37 ISEXEC:FALSE -67.388857:-39.476785:-900.000000 --44.368857:-41.976785:-900.000000 +13.960000:-41.976785:-900.000000 PORT color:"0 1 1" PORT @@ -301,7 +301,7 @@ BOX wx:LayoutLine:Box38 ISEXEC:FALSE -190.854929:-82.522396:-900.000000 --157.534929:-85.022396:-900.000000 +33.320000:-85.022396:-900.000000 PORT Orientation:"H" PORT @@ -311,19 +311,19 @@ BOX wx:LayoutTab:Box39 ISEXEC:FALSE -195.888488:-89.508403:-900.000000 --162.568488:-92.008403:-900.000000 +33.320000:-92.008403:-900.000000 FIN_BOX BOX wx:LayoutTab:Box40 ISEXEC:FALSE -148.825313:-89.038628:-900.000000 --115.505313:-91.538628:-900.000000 +33.320000:-91.538628:-900.000000 FIN_BOX BOX wx:CommandButton:Box42 ISEXEC:FALSE -91.903796:13.441695:-900.000000 --69.628796:10.941695:-900.000000 +21.000000:10.941695:-900.000000 PORT Label:"Apply (Magenta->To Red)" FIN_BOX @@ -331,7 +331,7 @@ BOX wx:CommandButton:Box43 ISEXEC:FALSE -85.356515:8.083838:-900.000000 --63.081515:5.583838:-900.000000 +21.000000:5.583838:-900.000000 PORT Label:"Reset Tool" FIN_BOX @@ -339,7 +339,7 @@ BOX wx:LayoutLine:Box44 ISEXEC:FALSE -154.036190:-43.432527:-900.000000 --120.716190:-45.932527:-900.000000 +33.320000:-45.932527:-900.000000 PORT Orientation:"V" PORT @@ -349,7 +349,7 @@ BOX creaVtk:MeshManager_tool:Box45 ISEXEC:FALSE -90.848443:-133.408000:-900.000000 --68.348443:-135.908000:-900.000000 +10.440000:-135.908000:-900.000000 PORT Tool:"30" FIN_BOX @@ -357,13 +357,13 @@ BOX std:MagicBox:Box46 ISEXEC:FALSE -137.131256:113.921532:-900.000000 --115.531256:111.421532:-900.000000 +8.680000:111.421532:-900.000000 FIN_BOX BOX wx:ComboBox:Box49 ISEXEC:FALSE -182.639251:-13.479145:-900.000000 --156.359251:-15.979145:-900.000000 +26.280000:-15.979145:-900.000000 PORT In:"25 50 100 150" PORT @@ -375,7 +375,7 @@ BOX wx:LayoutLine:Box50 ISEXEC:FALSE -57.295971:-56.374591:-900.000000 --23.975971:-58.874591:-900.000000 +33.320000:-58.874591:-900.000000 PORT Orientation:"V" PORT @@ -391,7 +391,7 @@ BOX creaMaracasVisu:ShowNPoints_Tools:Box52 ISEXEC:FALSE -48.321002:-133.648902:-900.000000 --25.886002:-136.148902:-900.000000 +12.200000:-136.148902:-900.000000 PORT Type:"120" FIN_BOX @@ -399,7 +399,7 @@ BOX std:MultipleInputs:Box53 ISEXEC:FALSE -96.292390:-13.293248:-900.000000 --74.322390:-15.793248:-900.000000 +21.000000:-15.793248:-900.000000 FIN_BOX BOX std:MultipleInputs:Box55 @@ -425,31 +425,31 @@ BOX std:MagicBox:Box64 ISEXEC:FALSE -243.113826:124.330340:-900.000000 --221.513826:121.830340:-900.000000 +8.680000:121.830340:-900.000000 FIN_BOX BOX std:MagicBox:Box65 ISEXEC:FALSE -220.296210:124.504415:-900.000000 --198.696210:122.004415:-900.000000 +8.680000:122.004415:-900.000000 FIN_BOX BOX std:MagicBox:Box69 ISEXEC:FALSE -197.793508:124.678490:-900.000000 --176.193508:122.178490:-900.000000 +8.680000:122.178490:-900.000000 FIN_BOX BOX std:MagicBox:Box71 ISEXEC:FALSE -273.359367:124.504415:-900.000000 --251.759367:122.004415:-900.000000 +8.680000:122.004415:-900.000000 FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE -180.819147:-56.018495:-900.000000 --158.024147:-58.518495:-900.000000 +13.960000:-58.518495:-900.000000 PORT colorMesh:"0 1 1" FIN_BOX @@ -457,7 +457,7 @@ BOX wx:LayoutLine:Box81 ISEXEC:FALSE -184.734921:-96.564525:-900.000000 --151.414921:-99.064525:-900.000000 +33.320000:-99.064525:-900.000000 PORT WinTitle:"Step 1. Surface" FIN_BOX @@ -465,13 +465,13 @@ BOX wx:LayoutTab:Box82 ISEXEC:FALSE -142.286608:-51.350487:-900.000000 --108.966608:-53.850487:-900.000000 +33.320000:-53.850487:-900.000000 FIN_BOX BOX wx:OutputText:Box84 ISEXEC:FALSE -127.611417:-38.148449:-900.000000 --105.941417:-40.648449:-900.000000 +19.240000:-40.648449:-900.000000 FIN_BOX BOX wx:LayoutTab:Box86 @@ -483,25 +483,25 @@ BOX wx:OutputText:Box87 ISEXEC:FALSE -35.032220:-44.152050:-900.000000 --13.362220:-46.652050:-900.000000 +19.240000:-46.652050:-900.000000 FIN_BOX BOX wx:OutputText:Box88 ISEXEC:FALSE -31.367033:-49.235762:-900.000000 --9.697033:-51.735762:-900.000000 +19.240000:-51.735762:-900.000000 FIN_BOX BOX creaVtk:MeshManager:Box92 ISEXEC:FALSE -56.608588:-81.789032:-900.000000 --34.578588:-84.289032:-900.000000 +9.680000:-84.289032:-900.000000 FIN_BOX BOX creaVtk:MeshManager_tool:Box93 ISEXEC:FALSE -61.627153:-92.643884:-900.000000 --39.127153:-95.143884:-900.000000 +10.440000:-95.143884:-900.000000 PORT Tool:"35" FIN_BOX @@ -509,13 +509,13 @@ BOX std:MagicBox:Box94 ISEXEC:FALSE -70.989776:-33.864327:-900.000000 --49.389776:-36.364327:-900.000000 +8.680000:-36.364327:-900.000000 FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_Info:Box96 ISEXEC:FALSE -157.021318:90.558496:-900.000000 --129.741318:88.058496:-900.000000 +27.280000:88.058496:-900.000000 FIN_BOX BOX creaVtk:PolyDataNormals:Box97 @@ -527,7 +527,7 @@ BOX wx:LayoutLine:Box98 ISEXEC:FALSE -143.911108:-17.437953:-900.000000 --110.591108:-19.937953:-900.000000 +33.320000:-19.937953:-900.000000 PORT Orientation:"H" FIN_BOX @@ -535,7 +535,7 @@ BOX std:AddStringToVector:Box99 ISEXEC:FALSE -309.024176:108.151656:-900.000000 --284.504176:105.651656:-900.000000 +24.520000:105.651656:-900.000000 PORT In0:"Auto Add Points (Start/Stop)" FIN_BOX @@ -543,7 +543,7 @@ BOX std:VectorFilterString:Box100 ISEXEC:FALSE -265.790737:67.872984:-900.000000 --237.750737:65.372984:-900.000000 +28.040000:65.372984:-900.000000 PORT In0:"0 1 2 3 4 5 6 7 8 9 10 " PORT @@ -555,7 +555,7 @@ BOX std:ConcatStrings:Box101 ISEXEC:FALSE -265.899318:61.380437:-900.000000 --243.139318:58.880437:-900.000000 +22.760000:58.880437:-900.000000 FIN_BOX CONNECTIONS:125 CONNECTION diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs index 377a055..6cf1094 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs # ---------------------------------- include std @@ -81,7 +81,7 @@ new wx:LayoutLine Box79 set Box79.WinTitle "New Surface ( Magenta = Red+Yellow )" new wx:CommandButton Box80 - set Box80.Label "Run" + set Box80.Label "Refresh" new std:MagicBox Box66 diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg index 26e0a3f..31857b8 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg @@ -34,7 +34,7 @@ FIN_COMPLEX_PORT COMPLEXINPUTS:10 COMPLEX_PORT boxChange --6.086529:137.355528:-900.000000 +-19.066963:139.102894:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT point @@ -185,7 +185,7 @@ ISEXEC:FALSE -107.184095:21.801731:-900.000000 -84.909095:19.301731:-900.000000 PORT -Label:"Run" +Label:"Refresh" FIN_BOX BOX std:MagicBox:Box66 @@ -204,6 +204,8 @@ creaMaracasVisu:PolyDataToActor_Widget:Box48 ISEXEC:FALSE 31.257913:65.319677:-900.000000 54.277913:62.819677:-900.000000 +PORT +meshOpacity:"100" FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box35 @@ -320,8 +322,8 @@ FIN_BOX BOX std:MagicBox:Box63 ISEXEC:FALSE --8.402303:123.950335:-900.000000 -13.197697:121.450335:-900.000000 +-23.878975:123.201464:-900.000000 +-2.278975:120.701464:-900.000000 FIN_BOX BOX std:MagicBox:Box64 @@ -378,8 +380,8 @@ FIN_BOX BOX wx:LayoutTab:Box86 ISEXEC:FALSE -6.177265:-64.532410:-900.000000 -39.497265:-67.032410:-900.000000 +77.320030:-67.527895:-900.000000 +110.640030:-70.027895:-900.000000 FIN_BOX BOX creaVtk:MeshManager:Box92 @@ -450,16 +452,16 @@ FIN_BOX BOX creaVtk:ImageThresholdConnectivity:Box102 ISEXEC:FALSE -19.177439:87.075774:-900.000000 -42.697439:84.575774:-900.000000 +20.022876:88.062117:-900.000000 +43.542876:85.562117:-900.000000 PORT Border:"50" FIN_BOX BOX vtk:ImageGaussianSmooth:Box103 ISEXEC:FALSE -19.477167:81.435900:-900.000000 -42.482167:78.935900:-900.000000 +25.113411:82.140430:-900.000000 +48.118411:79.640430:-900.000000 PORT StdDevX:"1.5" PORT @@ -482,16 +484,16 @@ FIN_BOX BOX wx:LayoutLine:Box105 ISEXEC:FALSE -128.386195:58.791024:-900.000000 -161.706195:56.291024:-900.000000 +84.502680:90.614393:-900.000000 +117.822680:88.114393:-900.000000 PORT WinTitle:"1.2 Surface" FIN_BOX BOX creaMaracasVisu:SliderMinMax:Box106 ISEXEC:FALSE -92.830015:73.481518:-900.000000 -124.390015:70.981518:-900.000000 +48.946500:105.304887:-900.000000 +80.506500:102.804887:-900.000000 PORT InMax:"2000" PORT @@ -506,8 +508,8 @@ FIN_BOX BOX wx:Slider:Box107 ISEXEC:FALSE -130.091159:73.205717:-900.000000 -159.891159:70.705717:-900.000000 +86.207644:105.029086:-900.000000 +116.007644:102.529086:-900.000000 PORT In:"15" PORT @@ -524,16 +526,16 @@ FIN_BOX BOX wx:CommandButton:Box108 ISEXEC:FALSE -165.587341:74.473916:-900.000000 -187.972341:71.973916:-900.000000 +121.703826:106.297285:-900.000000 +144.088826:103.797285:-900.000000 PORT Label:"Refresh" FIN_BOX BOX std:ConcatStrings:Box110 ISEXEC:FALSE -93.368742:67.099539:-900.000000 -116.128742:64.599539:-900.000000 +49.485227:98.922908:-900.000000 +72.245227:96.422908:-900.000000 PORT In2:" " FIN_BOX @@ -827,9 +829,6 @@ CONNECTION Box102:Out:Box103:In NumberOfControlPoints:0 CONNECTION -Box103:Out:Box104:In -NumberOfControlPoints:0 -CONNECTION Box104:Out:Box48:polydata NumberOfControlPoints:0 CONNECTION @@ -889,4 +888,7 @@ NumberOfControlPoints:0 CONNECTION Box112:BoxChange:Box72:_execute NumberOfControlPoints:0 +CONNECTION +Box103:Out:Box104:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs index 40a033d..9110042 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs @@ -61,13 +61,14 @@ new wx:LayoutLine Box79 set Box79.WinTitle "New Surface ( Magenta = Red+Yellow )" new wx:CommandButton Box80 - set Box80.Label "Run" + set Box80.Label "Refresh" new std:MagicBox Box66 new std:MagicBox Box67 new creaMaracasVisu:PolyDataToActor_Widget Box48 + set Box48.meshOpacity "100" new vtk:vtkImageDataPointerRelay Box35 @@ -275,7 +276,6 @@ connect showNpoints.lstPointsX Box102.LstX connect showNpoints.lstPointsY Box102.LstY connect showNpoints.lstPointsZ Box102.LstZ connect Box102.Out Box103.In -connect Box103.Out Box104.In connect Box104.Out Box48.polydata connect Box35.Out Box102.In connect Box104.Out Box77.In2 @@ -296,6 +296,7 @@ connect Box111.BoxChange Box62._execute connect Box63.BoxChange Box112.In1 connect Box37.boxchange Box112.In3 connect Box112.BoxChange Box72._execute +connect Box103.Out Box104.In # Complex input ports input point showNpoints.In " " diff --git a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg index a6c7359..7390eca 100644 --- a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg +++ b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBG BlackBox Diagram file -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/PolyDataToActor_Widget.bbg # ---------------------------------- APP_START @@ -13,59 +13,59 @@ PACKAGENAME:creaMaracasVisu COMPLEXOUTPUTS:3 COMPLEX_PORT widget --2.037812:-82.749770:-900.000000 +-16.692045:-81.340709:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT boxchange -48.028303:-85.261950:-900.000000 +33.374070:-83.852889:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT vtkprop3D -60.073531:-84.713710:-900.000000 +45.419298:-83.304649:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:7 COMPLEX_PORT render -67.330358:11.206273:-900.000000 +67.189452:16.701611:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT polydata -52.086514:10.717451:-900.000000 +51.945608:16.212789:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT color -34.196671:10.024718:-900.000000 +34.055765:15.520056:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT boxexecute --29.830735:10.105471:-900.000000 +-29.971641:15.600809:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT scalarvisibility -90.426694:9.453874:-900.000000 +90.567600:16.358272:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT active -16.755647:9.838178:-900.000000 +16.614741:15.333516:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT meshOpacity --5.769633:10.480618:-900.000000 +-5.910539:15.975956:-900.000000 FIN_COMPLEX_PORT BOXES:8 BOX wx:LayoutLine:Box04 ISEXEC:FALSE --4.766527:-48.767110:-900.000000 -28.553473:-51.267110:-900.000000 +-16.179920:-48.062580:-900.000000 +17.140080:-50.562580:-900.000000 PORT Orientation:"V" FIN_BOX BOX vtk:PolyDataToActor:Box09 ISEXEC:FALSE -45.132224:-46.323772:-900.000000 -71.412224:-48.823772:-900.000000 +30.477991:-46.605584:-900.000000 +56.757991:-49.105584:-900.000000 FIN_BOX BOX std:MagicBox:Box10 @@ -76,16 +76,16 @@ FIN_BOX BOX vtk:UpdateRender:Box11 ISEXEC:FALSE -74.359302:-58.093679:-900.000000 -96.384302:-60.593679:-900.000000 +59.282350:-58.798209:-900.000000 +81.307350:-61.298209:-900.000000 PORT Active:"true" FIN_BOX BOX wx:Slider:Box13 ISEXEC:FALSE --13.704404:-6.213707:-900.000000 -16.095596:-8.713707:-900.000000 +-10.463564:-2.972867:-900.000000 +19.336436:-5.472867:-900.000000 PORT In:"50" PORT @@ -102,8 +102,8 @@ FIN_BOX BOX std:Div:Box14 ISEXEC:FALSE --4.082559:-10.382832:-900.000000 -16.842441:-12.882832:-900.000000 +-12.114206:-10.241926:-900.000000 +8.810794:-12.741926:-900.000000 PORT In2:"100" FIN_BOX @@ -122,8 +122,8 @@ FIN_BOX BOX std:MultipleInputs:Box08 ISEXEC:FALSE --27.821638:-25.674906:-900.000000 --5.851638:-28.174906:-900.000000 +-36.135097:-21.729535:-900.000000 +-14.165097:-24.229535:-900.000000 FIN_BOX CONNECTIONS:20 CONNECTION diff --git a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs index a0b3399..d1cc122 100644 --- a/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs +++ b/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs # ---------------------------------- include std -- 2.47.1