From 4f7b806042eb17b6eafcf6da0e660a41e1c97b54 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 29 Dec 2022 15:37:15 +0100 Subject: [PATCH] #3495 bbcreaMaracasVisuShowNPoints_Tools --- bbtk/bbs/boxes/Mesh_Application.bbg | 78 +- bbtk/bbs/boxes/Mesh_Application.bbs | 33 +- .../Mesh_tool_ApplyThresholdConnectivity.bbg | 1049 +++++++++++++++++ .../Mesh_tool_ApplyThresholdConnectivity.bbs | 379 ++++++ .../bbcreaMaracasVisuShowNPoints_Tools.cxx | 7 +- 5 files changed, 1515 insertions(+), 31 deletions(-) create mode 100644 bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg create mode 100644 bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs diff --git a/bbtk/bbs/boxes/Mesh_Application.bbg b/bbtk/bbs/boxes/Mesh_Application.bbg index 1728b2d..5413c8d 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbg +++ b/bbtk/bbs/boxes/Mesh_Application.bbg @@ -56,7 +56,7 @@ COMPLEX_PORT wxvtkbaseview4_In 206.922345:93.364879:-900.000000 FIN_COMPLEX_PORT -BOXES:49 +BOXES:50 BOX creaMaracasVisu:ImageChangeInformation:Box07 ISEXEC:FALSE @@ -84,8 +84,8 @@ FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplySurface:Box10 ISEXEC:FALSE -1.019874:-6.840604:-900.000000 -24.044874:-9.340604:-900.000000 +2.455835:-6.388424:-900.000000 +25.480835:-8.888424:-900.000000 PORT title:"Surface" FIN_BOX @@ -100,8 +100,8 @@ FIN_BOX BOX wx:LayoutTab:Box12 ISEXEC:FALSE --1.524229:-28.130070:-900.000000 -31.795771:-30.630070:-900.000000 +1.203713:-27.107092:-900.000000 +34.523713:-29.607092:-900.000000 FIN_BOX BOX creaMaracasVisu:SetPositionPointPicker:Box13 @@ -144,28 +144,28 @@ FIN_BOX BOX std:StringSelect:Box23 ISEXEC:FALSE --0.033273:-37.759625:-900.000000 -24.486727:-40.259625:-900.000000 +6.786582:-36.566150:-900.000000 +31.306582:-39.066150:-900.000000 PORT -In0:"false false false false false" +In0:"false false false false false false" PORT -In1:"false true false false false" +In1:"false true false false false false" PORT -In2:"false false true false false" +In2:"false false true false false false" PORT -In3:"false false false false false" +In3:"false false false false false false" PORT -In4:"false false false false true" +In4:"false false false false true false" PORT -In5:"false false false false false" +In5:"false false false false false false" PORT -In6:"false false false false false" +In6:"false false false false false false" PORT -In7:"false false false false false" +In7:"false false false false false false" PORT -In8:"false false false false false" +In8:"false false false false false false" PORT -In9:"false false false false false" +In9:"false false false false false false" FIN_BOX BOX std:GetVectorStringElement:Box24 @@ -264,8 +264,8 @@ FIN_BOX BOX std:GetVectorStringElement:Box39 ISEXEC:FALSE -4.531925:-46.027421:-900.000000 -27.486925:-48.527421:-900.000000 +8.282845:-45.345436:-900.000000 +31.237845:-47.845436:-900.000000 PORT I:"2" FIN_BOX @@ -447,7 +447,15 @@ ISEXEC:FALSE 200.941581:77.753594:-900.000000 222.541581:75.253594:-900.000000 FIN_BOX -CONNECTIONS:126 +BOX +creaMaracasVisu:Mesh_tool_ApplyThresholdConnectivity:Box70 +ISEXEC:FALSE +152.701645:-6.897257:-900.000000 +177.141645:-9.397257:-900.000000 +PORT +title:"Threshold" +FIN_BOX +CONNECTIONS:136 CONNECTION Box08:MeshBase:Box15:polydata NumberOfControlPoints:0 @@ -826,4 +834,34 @@ NumberOfControlPoints:0 CONNECTION Box13:boxchange:Box22:BoxExecute NumberOfControlPoints:0 +CONNECTION +Box63:BoxChange:Box70:boxChange +NumberOfControlPoints:0 +CONNECTION +Box07:Out:Box70:image +NumberOfControlPoints:0 +CONNECTION +Box08:MeshTemp:Box70:mesh +NumberOfControlPoints:0 +CONNECTION +Box08:MeshManagerModel:Box70:meshmanagermodel +NumberOfControlPoints:0 +CONNECTION +Box64:Out:Box70:point +NumberOfControlPoints:0 +CONNECTION +Box66:Out:Box70:wxvtkbaseview1 +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box70:wxvtkbaseview2 +NumberOfControlPoints:0 +CONNECTION +Box68:Out:Box70:wxvtkbaseview3 +NumberOfControlPoints:0 +CONNECTION +Box69:Out:Box70:wxvtkbaseview4 +NumberOfControlPoints:0 +CONNECTION +Box70:widget:Box12:Widget9 +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_Application.bbs b/bbtk/bbs/boxes/Mesh_Application.bbs index 79cf0f9..49aaff8 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbs +++ b/bbtk/bbs/boxes/Mesh_Application.bbs @@ -50,16 +50,16 @@ new wx:LayoutLine Box22 set Box22.WinTitle "Final Surface (Red)" new std:StringSelect Box23 - set Box23.In0 "false false false false false" - set Box23.In1 "false true false false false" - set Box23.In2 "false false true false false" - set Box23.In3 "false false false false false" - set Box23.In4 "false false false false true" - set Box23.In5 "false false false false false" - set Box23.In6 "false false false false false" - set Box23.In7 "false false false false false" - set Box23.In8 "false false false false false" - set Box23.In9 "false false false false false" + set Box23.In0 "false false false false false false" + 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.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" + set Box23.In8 "false false false false false false" + set Box23.In9 "false false false false false false" new std:GetVectorStringElement Box24 set Box24.I "1" @@ -164,6 +164,9 @@ new std:MagicBox Box68 new std:MagicBox Box69 +new creaMaracasVisu:Mesh_tool_ApplyThresholdConnectivity Box70 + set Box70.title "Threshold" + connect Box08.MeshBase Box15.polydata connect Box08.MeshTemp Box10.mesh @@ -280,6 +283,16 @@ connect Box69.Out Box46.wxvtkbaseview4 connect Box69.Out Box47.wxvtkbaseview4 connect Box69.Out Box17._wxvtkbaseview2D3 connect Box13.boxchange Box22.BoxExecute +connect Box63.BoxChange Box70.boxChange +connect Box07.Out Box70.image +connect Box08.MeshTemp Box70.mesh +connect Box08.MeshManagerModel Box70.meshmanagermodel +connect Box64.Out Box70.point +connect Box66.Out Box70.wxvtkbaseview1 +connect Box67.Out Box70.wxvtkbaseview2 +connect Box68.Out Box70.wxvtkbaseview3 +connect Box69.Out Box70.wxvtkbaseview4 +connect Box70.widget Box12.Widget9 # Complex input ports input MeshIn Box56.In " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg new file mode 100644 index 0000000..6b62c93 --- /dev/null +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg @@ -0,0 +1,1049 @@ +# ---------------------------------- +# - BBTKGEditor v 1.5 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg +# ---------------------------------- + +APP_START +CATEGORY:demo +DESCRIPTION:Show N Points +AUTHOR:info-dev@creatis.insa-lyon.fr +COMPLEXBOX:TRUE +COMPLEXBOXNAME:Mesh_tool_ApplyThresholdConnectivity +PACKAGENAME:creaMaracasVisu +COMPLEXOUTPUTS:5 +COMPLEX_PORT +widget +-180.910574:-184.919472:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +interactorStyleMaracas +-307.873556:-187.172927:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +interactorStyleMaracas2 +-300.133711:-186.364707:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +interactorStyleMaracas3 +-293.131686:-185.645050:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +interactorStyleMaracas4 +-285.985042:-186.124821:-900.000000 +FIN_COMPLEX_PORT +COMPLEXINPUTS:10 +COMPLEX_PORT +boxChange +-6.086529:137.355528:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +point +8.392837:138.613226:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +wxvtkbaseview1 +-268.019084:133.379456:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +mesh +-59.814076:140.655693:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +image +-96.062149:138.883434:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +wxvtkbaseview2 +-231.668448:132.854505:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +wxvtkbaseview3 +-216.690458:133.262996:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +wxvtkbaseview4 +-193.414893:132.224675:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +title +-167.581636:131.715380:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +meshmanagermodel +-150.374274:130.740991:-900.000000 +FIN_COMPLEX_PORT +BOXES:68 +BOX +creaMaracasVisu:ShowNPoints:showNpoints +ISEXEC:FALSE +24.787568:83.025910:-900.000000 +61.627568:80.525910:-900.000000 +PORT +Radio:"2" +PORT +Type:"3" +PORT +WinTitle:"1.1 Splines" +FIN_BOX +BOX +creaVtk:CreateMeshFromPoints:Box04 +ISEXEC:FALSE +106.856888:30.436127:-900.000000 +129.711888:27.936127:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:ManualContourModel_Box:Box06 +ISEXEC:FALSE +113.707856:40.916137:-900.000000 +138.227856:38.416137:-900.000000 +PORT +DoubleContour:"1" +PORT +NbPoints:"100" +PORT +OpenClose:"true" +PORT +OpenClose2:"false" +FIN_BOX +BOX +wx:LayoutLine:Box08 +ISEXEC:FALSE +-182.125107:-147.642582:-900.000000 +-148.805107:-150.142582:-900.000000 +FIN_BOX +BOX +vtk:UpdateRender:Box11 +ISEXEC:FALSE +50.398091:-54.711454:-900.000000 +72.423091:-57.211454:-900.000000 +PORT +Active:"true" +FIN_BOX +BOX +std:MultipleInputs:Box31 +ISEXEC:FALSE +55.310626:-33.496784:-900.000000 +77.280626:-35.996784:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:ManualContourModel_Box:Box29 +ISEXEC:FALSE +145.118292:37.000505:-900.000000 +169.638292:34.500505:-900.000000 +PORT +NbPoints:"40" +PORT +OpenClose:"true" +PORT +OpenClose2:"false" +FIN_BOX +BOX +creaMaracasVisu:wxPopupMenu:Box57 +ISEXEC:FALSE +-291.724262:77.620511:-900.000000 +-269.659262:75.120511:-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 +PORT +In0:"+ Add point" +PORT +In1:"(+) Insert point" +PORT +In2:"Track point" +PORT +In3:"Set Nearest point" +PORT +In4:"- Erase point" +PORT +In5:"-- Delete all points" +PORT +In6:"----------------------" +PORT +In7:"+> Insert group after" +PORT +In8:"- Delete group" +PORT +In9:"Tool - Inverse Normals" +FIN_BOX +BOX +creaMaracasVisu:ShowNPoints_Tools:Box60 +ISEXEC:FALSE +-271.434991:53.686536:-900.000000 +-248.999991:51.186536:-900.000000 +FIN_BOX +BOX +vtk:ImageVtkProperties:Box68 +ISEXEC:FALSE +-111.766259:110.196821:-900.000000 +-89.231259:107.696821:-900.000000 +FIN_BOX +BOX +std:VectorFilterDouble:Box70 +ISEXEC:FALSE +139.445996:56.689018:-900.000000 +165.725996:54.189018:-900.000000 +PORT +Type:"11" +FIN_BOX +BOX +creaVtk:BooleanOperationPolyDataFilter:Box77 +ISEXEC:FALSE +-85.849843:-22.221970:-900.000000 +-62.119843:-24.721970:-900.000000 +PORT +BoxProcessMode:"Manual" +PORT +ReorientDifferenceCells:"false" +FIN_BOX +BOX +wx:ComboBox:Box78 +ISEXEC:FALSE +-153.877713:-5.775167:-900.000000 +-127.597713:-8.275167:-900.000000 +PORT +In:"Union Intersection Difference" +FIN_BOX +BOX +wx:LayoutLine:Box79 +ISEXEC:FALSE +-144.841026:-82.628158:-900.000000 +-111.521026:-85.128158:-900.000000 +PORT +Orientation:"H" +PORT +WinTitle:"New Surface ( Magenta = Red+Yellow )" +FIN_BOX +BOX +wx:CommandButton:Box80 +ISEXEC:FALSE +-107.184095:21.801731:-900.000000 +-84.909095:19.301731:-900.000000 +PORT +Label:"Run" +FIN_BOX +BOX +std:MagicBox:Box66 +ISEXEC:FALSE +-148.055989:80.219744:-900.000000 +-126.455989:77.719744:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box67 +ISEXEC:FALSE +-67.526006:124.007723:-900.000000 +-45.926006:121.507723:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:PolyDataToActor_Widget:Box48 +ISEXEC:FALSE +59.760405:-21.730927:-900.000000 +82.780405:-24.230927:-900.000000 +FIN_BOX +BOX +vtk:vtkImageDataPointerRelay:Box35 +ISEXEC:FALSE +-107.091396:123.633118:-900.000000 +-83.881396:121.133118:-900.000000 +FIN_BOX +BOX +wx:Slider:Box34 +ISEXEC:FALSE +-198.941120:-3.426364:-900.000000 +-169.141120:-5.926364:-900.000000 +PORT +In:"50" +PORT +Label:"true" +PORT +Max:"100" +PORT +Min:"0" +PORT +ReactiveOnTrack:"true" +PORT +Title:"Splines Opacity" +FIN_BOX +BOX +std:Div:Box36 +ISEXEC:FALSE +-190.788172:-9.261990:-900.000000 +-169.863172:-11.761990:-900.000000 +PORT +In2:"100" +FIN_BOX +BOX +creaMaracasVisu:PolyDataToActor_Widget:Box37 +ISEXEC:FALSE +-67.388857:-39.476785:-900.000000 +-44.368857:-41.976785:-900.000000 +PORT +color:"0 1 1" +PORT +meshOpacity:"100" +FIN_BOX +BOX +wx:LayoutLine:Box38 +ISEXEC:FALSE +-190.854929:-82.522396:-900.000000 +-157.534929:-85.022396:-900.000000 +PORT +Orientation:"H" +PORT +WinTitle:"Interpolated Surface (Yellow)" +FIN_BOX +BOX +wx:LayoutTab:Box39 +ISEXEC:FALSE +-195.888488:-89.508403:-900.000000 +-162.568488:-92.008403:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box40 +ISEXEC:FALSE +-148.825313:-89.038628:-900.000000 +-115.505313:-91.538628:-900.000000 +FIN_BOX +BOX +wx:CommandButton:Box42 +ISEXEC:FALSE +-91.903796:13.441695:-900.000000 +-69.628796:10.941695:-900.000000 +PORT +Label:"Apply (Magenta->To Red)" +FIN_BOX +BOX +wx:CommandButton:Box43 +ISEXEC:FALSE +-85.356515:8.083838:-900.000000 +-63.081515:5.583838:-900.000000 +PORT +Label:"Reset Tool" +FIN_BOX +BOX +wx:LayoutLine:Box44 +ISEXEC:FALSE +-154.036190:-43.432527:-900.000000 +-120.716190:-45.932527:-900.000000 +PORT +Orientation:"V" +PORT +WinTitle:"1.2 Mesh Action" +FIN_BOX +BOX +creaVtk:MeshManager_tool:Box45 +ISEXEC:FALSE +-90.848443:-133.408000:-900.000000 +-68.348443:-135.908000:-900.000000 +PORT +Tool:"30" +FIN_BOX +BOX +std:MagicBox:Box46 +ISEXEC:FALSE +-137.131256:113.921532:-900.000000 +-115.531256:111.421532:-900.000000 +FIN_BOX +BOX +wx:ComboBox:Box49 +ISEXEC:FALSE +-182.639251:-13.479145:-900.000000 +-156.359251:-15.979145:-900.000000 +PORT +In:"25 50 100 150" +PORT +Selection:"1" +PORT +Title:"Number of Points" +FIN_BOX +BOX +wx:LayoutLine:Box50 +ISEXEC:FALSE +-57.295971:-56.374591:-900.000000 +-23.975971:-58.874591:-900.000000 +PORT +Orientation:"V" +PORT +WinTitle:"Config" +FIN_BOX +BOX +std:MultipleInputs:Box51 +ISEXEC:FALSE +-92.949669:-148.627142:-900.000000 +-70.979669:-151.127142:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:ShowNPoints_Tools:Box52 +ISEXEC:FALSE +-48.321002:-133.648902:-900.000000 +-25.886002:-136.148902:-900.000000 +PORT +Type:"120" +FIN_BOX +BOX +std:MultipleInputs:Box53 +ISEXEC:FALSE +-96.292390:-13.293248:-900.000000 +-74.322390:-15.793248:-900.000000 +FIN_BOX +BOX +std:MultipleInputs:Box55 +ISEXEC:FALSE +-54.535637:-149.462814:-900.000000 +-32.565637:-151.962814:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:MeshContours_Widget:Box62 +ISEXEC:FALSE +-228.707140:-3.136982:-900.000000 +-205.912140:-5.636982:-900.000000 +PORT +colorMesh:"1 1 0" +FIN_BOX +BOX +std:MagicBox:Box63 +ISEXEC:FALSE +-8.402303:123.950335:-900.000000 +13.197697:121.450335:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box64 +ISEXEC:FALSE +-243.113826:124.330340:-900.000000 +-221.513826:121.830340:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box65 +ISEXEC:FALSE +-220.296210:124.504415:-900.000000 +-198.696210:122.004415:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box69 +ISEXEC:FALSE +-197.793508:124.678490:-900.000000 +-176.193508:122.178490:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box71 +ISEXEC:FALSE +-273.359367:124.504415:-900.000000 +-251.759367: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 +PORT +colorMesh:"0 1 1" +FIN_BOX +BOX +wx:LayoutLine:Box81 +ISEXEC:FALSE +-184.734921:-96.564525:-900.000000 +-151.414921:-99.064525:-900.000000 +PORT +WinTitle:"Step 1. Surface" +FIN_BOX +BOX +wx:LayoutTab:Box82 +ISEXEC:FALSE +-142.286608:-51.350487:-900.000000 +-108.966608:-53.850487:-900.000000 +FIN_BOX +BOX +wx:OutputText:Box84 +ISEXEC:FALSE +-127.611417:-38.148449:-900.000000 +-105.941417:-40.648449:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box86 +ISEXEC:FALSE +-57.013911:-62.286670:-900.000000 +-23.693911:-64.786670:-900.000000 +FIN_BOX +BOX +wx:OutputText:Box87 +ISEXEC:FALSE +-35.032220:-44.152050:-900.000000 +-13.362220:-46.652050:-900.000000 +FIN_BOX +BOX +wx:OutputText:Box88 +ISEXEC:FALSE +-31.367033:-49.235762:-900.000000 +-9.697033:-51.735762:-900.000000 +FIN_BOX +BOX +creaVtk:MeshManager:Box92 +ISEXEC:FALSE +-56.608588:-81.789032:-900.000000 +-34.578588:-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 +PORT +Tool:"35" +FIN_BOX +BOX +std:MagicBox:Box94 +ISEXEC:FALSE +-70.989776:-33.864327:-900.000000 +-49.389776:-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 +FIN_BOX +BOX +creaVtk:PolyDataNormals:Box97 +ISEXEC:FALSE +-88.026860:-72.332654:-900.000000 +-65.731860:-74.832654:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box98 +ISEXEC:FALSE +-143.911108:-17.437953:-900.000000 +-110.591108:-19.937953:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +std:AddStringToVector:Box99 +ISEXEC:FALSE +-309.024176:108.151656:-900.000000 +-284.504176:105.651656:-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 +PORT +In0:"0 1 2 3 4 5 6 7 8 9 10 " +PORT +In1:"1 5 10 20 30 40 50 0 100 110 210" +PORT +Type:"2" +FIN_BOX +BOX +std:ConcatStrings:Box101 +ISEXEC:FALSE +-265.899318:61.380437:-900.000000 +-243.139318:58.880437:-900.000000 +FIN_BOX +BOX +creaVtk:ImageThresholdConnectivity:Box102 +ISEXEC:FALSE +31.204764:46.455184:-900.000000 +54.724764:43.955184:-900.000000 +PORT +Border:"50" +FIN_BOX +BOX +vtk:ImageGaussianSmooth:Box103 +ISEXEC:FALSE +31.504492:40.815310:-900.000000 +54.509492:38.315310:-900.000000 +PORT +StdDevX:"1.5" +PORT +StdDevY:"1.5" +PORT +StdDevZ:"1.5" +FIN_BOX +BOX +vtk:MarchingCubes:Box104 +ISEXEC:FALSE +27.716977:33.724598:-900.000000 +50.001977:31.224598:-900.000000 +PORT +BoxExecute:"Manual" +PORT +BoxProcessMode:"Manual" +PORT +Value:"128" +FIN_BOX +BOX +wx:LayoutLine:Box105 +ISEXEC:FALSE +-59.159812:50.914092:-900.000000 +-25.839812:48.414092:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:SliderMinMax:Box106 +ISEXEC:FALSE +-94.715992:65.604586:-900.000000 +-63.155992:63.104586:-900.000000 +PORT +InMax:"2000" +PORT +InMaxShow:"-500" +PORT +InMin:"-1100" +PORT +InMinShow:"-1100" +PORT +ShowActual:"false" +FIN_BOX +BOX +wx:Slider:Box107 +ISEXEC:FALSE +-57.454848:65.328785:-900.000000 +-27.654848:62.828785:-900.000000 +PORT +In:"15" +PORT +Label:"true" +PORT +Max:"20" +PORT +Min:"0" +PORT +ReactiveOnTrack:"true" +PORT +Title:"Border" +FIN_BOX +BOX +wx:CommandButton:Box108 +ISEXEC:FALSE +-21.958666:66.596984:-900.000000 +0.426334:64.096984:-900.000000 +PORT +Label:"Refresh" +FIN_BOX +BOX +wx:LayoutTab:Box109 +ISEXEC:FALSE +-59.938192:45.177200:-900.000000 +-26.618192:42.677200:-900.000000 +PORT +WinTitle:"Threshold" +FIN_BOX +BOX +std:ConcatStrings:Box110 +ISEXEC:FALSE +-94.177265:59.222607:-900.000000 +-71.417265:56.722607:-900.000000 +PORT +In2:" " +FIN_BOX +CONNECTIONS:134 +CONNECTION +Box06:LstContourPointsX:Box04:LstX +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstIndexs:Box06:LstIndexsIn +NumberOfControlPoints:0 +CONNECTION +Box06:LstContourPointsY:Box04:LstY +NumberOfControlPoints:0 +CONNECTION +Box06:LstContourPointsZ:Box04:LstZ +NumberOfControlPoints:0 +CONNECTION +Box06:LstIndexsOut:Box04:LstIndexs +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstIndexs:Box29:LstIndexsIn +NumberOfControlPoints:0 +CONNECTION +Box31:BoxChange:Box11:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box58:Out:Box57:In +NumberOfControlPoints:0 +CONNECTION +showNpoints:WidgetShowNPoints:Box60:WidgetShowNPoints +NumberOfControlPoints:0 +CONNECTION +Box57:BoxChange:Box60:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box68:Spacing:Box60:Spacing +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstPointsX:Box70:In0 +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstPointsY:Box70:In1 +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstPointsZ:Box70:In2 +NumberOfControlPoints:0 +CONNECTION +Box70:Out0:Box06:LstControlPointsX +NumberOfControlPoints:0 +CONNECTION +Box70:Out1:Box06:LstControlPointsY +NumberOfControlPoints:0 +CONNECTION +Box70:Out2:Box06:LstControlPointsZ +NumberOfControlPoints:0 +CONNECTION +Box70:Out0:Box29:LstControlPointsX +NumberOfControlPoints:0 +CONNECTION +Box70:Out1:Box29:LstControlPointsY +NumberOfControlPoints:0 +CONNECTION +Box70:Out2:Box29:LstControlPointsZ +NumberOfControlPoints:0 +CONNECTION +Box78:Out:Box77:Operation +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:widget:widget +NumberOfControlPoints:0 +CONNECTION +Box66:Out:Box11:Renderer +NumberOfControlPoints:0 +CONNECTION +point:point:showNpoints:In +NumberOfControlPoints:0 +CONNECTION +Box66:Out:showNpoints:Renderer +NumberOfControlPoints:0 +CONNECTION +mesh:mesh:Box67:In +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box77:In1 +NumberOfControlPoints:0 +CONNECTION +Box66:Out:Box48:render +NumberOfControlPoints:0 +CONNECTION +Box48:boxchange:Box31:In1 +NumberOfControlPoints:0 +CONNECTION +image:image:Box35:In +NumberOfControlPoints:0 +CONNECTION +Box35:Out:Box68:In +NumberOfControlPoints:0 +CONNECTION +Box68:Spacing:Box70:k1 +NumberOfControlPoints:0 +CONNECTION +Box35:Out:showNpoints:Image +NumberOfControlPoints:0 +CONNECTION +Box34:Out:Box36:In1 +NumberOfControlPoints:0 +CONNECTION +Box34:BoxChange:Box31:In2 +NumberOfControlPoints:0 +CONNECTION +title:title:Box08:WinTitle +NumberOfControlPoints:0 +CONNECTION +Box66:Out:Box37:render +NumberOfControlPoints:0 +CONNECTION +Box38:Widget:Box39:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box79:Widget:Box40:Widget2 +NumberOfControlPoints:0 +CONNECTION +meshmanagermodel:meshmanagermodel:Box46:In +NumberOfControlPoints:0 +CONNECTION +Box46:Out:Box45:MeshManagerModel +NumberOfControlPoints:0 +CONNECTION +Box49:OutString:Box06:NbPoints +NumberOfControlPoints:0 +CONNECTION +Box42:BoxChange:Box51:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box45:BoxChange:Box51:In2 +NumberOfControlPoints:0 +CONNECTION +Box52:BoxChange:Box51:In4 +NumberOfControlPoints:0 +CONNECTION +showNpoints:WidgetShowNPoints:Box52:WidgetShowNPoints +NumberOfControlPoints:0 +CONNECTION +Box80:BoxChange:Box53:In2 +NumberOfControlPoints:0 +CONNECTION +Box53:BoxChange:Box77:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box42:BoxChange:Box53:In3 +NumberOfControlPoints:0 +CONNECTION +Box43:BoxChange:Box55:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box52:BoxChange:Box55:In2 +NumberOfControlPoints:0 +CONNECTION +Box43:BoxChange:Box53:In6 +NumberOfControlPoints:0 +CONNECTION +boxChange:boxChange:Box63:In +NumberOfControlPoints:0 +CONNECTION +Box63:BoxChange:showNpoints:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box63:BoxChange:Box62:_execute +NumberOfControlPoints:0 +CONNECTION +wxvtkbaseview2:wxvtkbaseview2:Box64:In +NumberOfControlPoints:0 +CONNECTION +Box64:Out:Box57:wxVtkBaseView2 +NumberOfControlPoints:0 +CONNECTION +Box64:Out:Box62:_wxvtkbaseview2D1 +NumberOfControlPoints:0 +CONNECTION +Box65:Out:Box57:wxVtkBaseView3 +NumberOfControlPoints:0 +CONNECTION +Box65:Out:Box62:_wxvtkbaseview2D2 +NumberOfControlPoints:0 +CONNECTION +wxvtkbaseview3:wxvtkbaseview3:Box65:In +NumberOfControlPoints:0 +CONNECTION +wxvtkbaseview4:wxvtkbaseview4:Box69:In +NumberOfControlPoints:0 +CONNECTION +Box69:Out:Box57:wxVtkBaseView4 +NumberOfControlPoints:0 +CONNECTION +Box69:Out:Box62:_wxvtkbaseview2D3 +NumberOfControlPoints:0 +CONNECTION +wxvtkbaseview1:wxvtkbaseview1:Box71:In +NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box57:wxVtkBaseView +NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box62:_wxvtkbaseview3D1 +NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box72:_wxvtkbaseview3D1 +NumberOfControlPoints:0 +CONNECTION +Box64:Out:Box72:_wxvtkbaseview2D1 +NumberOfControlPoints:0 +CONNECTION +Box65:Out:Box72:_wxvtkbaseview2D2 +NumberOfControlPoints:0 +CONNECTION +Box69:Out:Box72:_wxvtkbaseview2D3 +NumberOfControlPoints:0 +CONNECTION +Box72:_widget:Box79:Widget6 +NumberOfControlPoints:0 +CONNECTION +Box62:_widget:Box38:Widget7 +NumberOfControlPoints:0 +CONNECTION +Box39:Widget:Box81:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box40:Widget:Box81:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box44:Widget:Box82:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box82:Widget:Box79:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box84:Widget:Box44:Widget9 +NumberOfControlPoints:0 +CONNECTION +Box86:Widget:Box38:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box50:Widget:Box86:Widget4 +NumberOfControlPoints:0 +CONNECTION +showNpoints:Widget:Box86:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box87:Widget:Box50:Widget8 +NumberOfControlPoints:0 +CONNECTION +Box88:Widget:Box50:Widget9 +NumberOfControlPoints:0 +CONNECTION +Box49:Widget:Box50:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box34:Widget:Box50:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box57:BoxChange:Box08:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box57:InteractorStyleMaracas:interactorStyleMaracas:interactorStyleMaracas +NumberOfControlPoints:0 +CONNECTION +Box57:InteractorStyleMaracas2:interactorStyleMaracas2:interactorStyleMaracas2 +NumberOfControlPoints:0 +CONNECTION +Box57:InteractorStyleMaracas3:interactorStyleMaracas3:interactorStyleMaracas3 +NumberOfControlPoints:0 +CONNECTION +Box57:InteractorStyleMaracas4:interactorStyleMaracas4:interactorStyleMaracas4 +NumberOfControlPoints:0 +CONNECTION +Box92:MeshManagerModel:Box93:MeshManagerModel +NumberOfControlPoints:0 +CONNECTION +Box77:BoxChange:Box93:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box92:MeshBase:Box72:_polydata +NumberOfControlPoints:0 +CONNECTION +Box92:MeshBase:Box37:polydata +NumberOfControlPoints:0 +CONNECTION +Box37:boxchange:Box72:_execute +NumberOfControlPoints:0 +CONNECTION +Box81:Widget:Box08:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box42:Widget:Box44:Widget6 +NumberOfControlPoints:0 +CONNECTION +Box94:BoxChange:Box37:boxexecute +NumberOfControlPoints:0 +CONNECTION +Box77:BoxChange:Box94:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box96:wxVtkBaseView +NumberOfControlPoints:0 +CONNECTION +Box96:vtkRenderer:Box66:In +NumberOfControlPoints:0 +CONNECTION +Box37:widget:Box79:Widget7 +NumberOfControlPoints:0 +CONNECTION +Box48:widget:Box38:Widget8 +NumberOfControlPoints:0 +CONNECTION +Box77:Out:Box97:In +NumberOfControlPoints:0 +CONNECTION +Box97:Out:Box45:Mesh +NumberOfControlPoints:0 +CONNECTION +Box97:Out:Box93:Mesh +NumberOfControlPoints:0 +CONNECTION +Box43:Widget:Box44:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box78:Widget:Box98:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box80:Widget:Box98:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box98:Widget:Box44:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box99:Out:Box58:StringVector +NumberOfControlPoints:0 +CONNECTION +Box100:Out1:Box101:In1 +NumberOfControlPoints:0 +CONNECTION +Box101:Out:Box60:Type +NumberOfControlPoints:0 +CONNECTION +Box57:Out:Box100:sk1 +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstPointsX:Box102:LstX +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstPointsY:Box102:LstY +NumberOfControlPoints:0 +CONNECTION +showNpoints:lstPointsZ:Box102:LstZ +NumberOfControlPoints:0 +CONNECTION +Box102:Out:Box103:In +NumberOfControlPoints:0 +CONNECTION +Box103:Out:Box104:In +NumberOfControlPoints:0 +CONNECTION +Box104:Out:Box48:polydata +NumberOfControlPoints:0 +CONNECTION +Box35:Out:Box102:In +NumberOfControlPoints:0 +CONNECTION +Box104:Out:Box77:In2 +NumberOfControlPoints:0 +CONNECTION +Box104:Out:Box62:_polydata +NumberOfControlPoints:0 +CONNECTION +Box106:Widget:Box105:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box107:Out:Box102:Border +NumberOfControlPoints:0 +CONNECTION +Box107:Widget:Box105:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box108:Widget:Box105:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box105:Widget:Box109:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box109:Widget:Box81:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box106:OutStart:Box110:In1 +NumberOfControlPoints:0 +CONNECTION +Box106:OutEnd:Box110:In3 +NumberOfControlPoints:0 +CONNECTION +Box110:Out:Box102:Threshold +NumberOfControlPoints:0 +CONNECTION +Box108:BoxChange:Box104:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box104:BoxChange:Box31:BoxExecute +NumberOfControlPoints:0 +APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs new file mode 100644 index 0000000..7513f99 --- /dev/null +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs @@ -0,0 +1,379 @@ +# ---------------------------------- +# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs +# ---------------------------------- + +include std +include itkvtk +include creaMaracasVisu +include creaVtk +include wx +include vtk +include std + +define Mesh_tool_ApplyThresholdConnectivity creaMaracasVisu + +author "info-dev@creatis.insa-lyon.fr" +description "Show N Points" + +category "demo" + +new creaMaracasVisu:ShowNPoints showNpoints + set showNpoints.Radio "2" + set showNpoints.Type "3" + set showNpoints.WinTitle "1.1 Splines" + +new creaVtk:CreateMeshFromPoints Box04 + +new creaMaracasVisu:ManualContourModel_Box Box06 + set Box06.DoubleContour "1" + set Box06.NbPoints "100" + set Box06.OpenClose "true" + set Box06.OpenClose2 "false" + +new wx:LayoutLine Box08 + +new vtk:UpdateRender Box11 + set Box11.Active "true" + +new std:MultipleInputs Box31 + +new creaMaracasVisu:ManualContourModel_Box Box29 + set Box29.NbPoints "40" + set Box29.OpenClose "true" + set Box29.OpenClose2 "false" + +new creaMaracasVisu:wxPopupMenu Box57 + set Box57.WithCtrlKey "true" + +new std:AddStringToVector Box58 + set Box58.In0 "+ Add point" + set Box58.In1 "(+) Insert point" + set Box58.In2 "Track point" + set Box58.In3 "Set Nearest point" + set Box58.In4 "- Erase point" + set Box58.In5 "-- Delete all points" + set Box58.In6 "----------------------" + set Box58.In7 "+> Insert group after" + set Box58.In8 "- Delete group" + set Box58.In9 "Tool - Inverse Normals" + +new creaMaracasVisu:ShowNPoints_Tools Box60 + +new vtk:ImageVtkProperties Box68 + +new std:VectorFilterDouble Box70 + set Box70.Type "11" + +new creaVtk:BooleanOperationPolyDataFilter Box77 + set Box77.BoxProcessMode "Manual" + set Box77.ReorientDifferenceCells "false" + +new wx:ComboBox Box78 + set Box78.In "Union Intersection Difference" + +new wx:LayoutLine Box79 + set Box79.Orientation "H" + set Box79.WinTitle "New Surface ( Magenta = Red+Yellow )" + +new wx:CommandButton Box80 + set Box80.Label "Run" + +new std:MagicBox Box66 + +new std:MagicBox Box67 + +new creaMaracasVisu:PolyDataToActor_Widget Box48 + +new vtk:vtkImageDataPointerRelay Box35 + +new wx:Slider Box34 + set Box34.In "50" + set Box34.Label "true" + set Box34.Max "100" + set Box34.Min "0" + set Box34.ReactiveOnTrack "true" + set Box34.Title "Splines Opacity" + +new std:Div Box36 + set Box36.In2 "100" + +new creaMaracasVisu:PolyDataToActor_Widget Box37 + set Box37.color "0 1 1" + set Box37.meshOpacity "100" + +new wx:LayoutLine Box38 + set Box38.Orientation "H" + set Box38.WinTitle "Interpolated Surface (Yellow)" + +new wx:LayoutTab Box39 + +new wx:LayoutTab Box40 + +new wx:CommandButton Box42 + set Box42.Label "Apply (Magenta->To Red)" + +new wx:CommandButton Box43 + set Box43.Label "Reset Tool" + +new wx:LayoutLine Box44 + set Box44.Orientation "V" + set Box44.WinTitle "1.2 Mesh Action" + +new creaVtk:MeshManager_tool Box45 + set Box45.Tool "30" + +new std:MagicBox Box46 + +new wx:ComboBox Box49 + set Box49.In "25 50 100 150" + set Box49.Selection "1" + set Box49.Title "Number of Points" + +new wx:LayoutLine Box50 + set Box50.Orientation "V" + set Box50.WinTitle "Config" + +new std:MultipleInputs Box51 + +new creaMaracasVisu:ShowNPoints_Tools Box52 + set Box52.Type "120" + +new std:MultipleInputs Box53 + +new std:MultipleInputs Box55 + +new creaMaracasVisu:MeshContours_Widget Box62 + set Box62.colorMesh "1 1 0" + +new std:MagicBox Box63 + +new std:MagicBox Box64 + +new std:MagicBox Box65 + +new std:MagicBox Box69 + +new std:MagicBox Box71 + +new creaMaracasVisu:MeshContours_Widget Box72 + set Box72.colorMesh "0 1 1" + +new wx:LayoutLine Box81 + set Box81.WinTitle "Step 1. Surface" + +new wx:LayoutTab Box82 + +new wx:OutputText Box84 + +new wx:LayoutTab Box86 + +new wx:OutputText Box87 + +new wx:OutputText Box88 + +new creaVtk:MeshManager Box92 + +new creaVtk:MeshManager_tool Box93 + set Box93.Tool "35" + +new std:MagicBox Box94 + +new creaMaracasVisu:wxVtkBaseView_Info Box96 + +new creaVtk:PolyDataNormals Box97 + +new wx:LayoutLine Box98 + set Box98.Orientation "H" + +new std:AddStringToVector Box99 + set Box99.In0 "Auto Add Points (Start/Stop)" + +new std:VectorFilterString Box100 + set Box100.In0 "0 1 2 3 4 5 6 7 8 9 10 " + set Box100.In1 "1 5 10 20 30 40 50 0 100 110 210" + set Box100.Type "2" + +new std:ConcatStrings Box101 + +new creaVtk:ImageThresholdConnectivity Box102 + set Box102.Border "50" + +new vtk:ImageGaussianSmooth Box103 + set Box103.StdDevX "1.5" + set Box103.StdDevY "1.5" + set Box103.StdDevZ "1.5" + +new vtk:MarchingCubes Box104 + set Box104.BoxExecute "Manual" + set Box104.BoxProcessMode "Manual" + set Box104.Value "128" + +new wx:LayoutLine Box105 + +new creaMaracasVisu:SliderMinMax Box106 + set Box106.InMax "2000" + set Box106.InMaxShow "-500" + set Box106.InMin "-1100" + set Box106.InMinShow "-1100" + set Box106.ShowActual "false" + +new wx:Slider Box107 + set Box107.In "15" + set Box107.Label "true" + set Box107.Max "20" + set Box107.Min "0" + set Box107.ReactiveOnTrack "true" + set Box107.Title "Border" + +new wx:CommandButton Box108 + set Box108.Label "Refresh" + +new wx:LayoutTab Box109 + set Box109.WinTitle "Threshold" + +new std:ConcatStrings Box110 + set Box110.In2 " " + + +connect Box06.LstContourPointsX Box04.LstX +connect showNpoints.lstIndexs Box06.LstIndexsIn +connect Box06.LstContourPointsY Box04.LstY +connect Box06.LstContourPointsZ Box04.LstZ +connect Box06.LstIndexsOut Box04.LstIndexs +connect showNpoints.lstIndexs Box29.LstIndexsIn +connect Box31.BoxChange Box11.BoxExecute +connect Box58.Out Box57.In +connect showNpoints.WidgetShowNPoints Box60.WidgetShowNPoints +connect Box57.BoxChange Box60.BoxExecute +connect Box68.Spacing Box60.Spacing +connect showNpoints.lstPointsX Box70.In0 +connect showNpoints.lstPointsY Box70.In1 +connect showNpoints.lstPointsZ Box70.In2 +connect Box70.Out0 Box06.LstControlPointsX +connect Box70.Out1 Box06.LstControlPointsY +connect Box70.Out2 Box06.LstControlPointsZ +connect Box70.Out0 Box29.LstControlPointsX +connect Box70.Out1 Box29.LstControlPointsY +connect Box70.Out2 Box29.LstControlPointsZ +connect Box78.Out Box77.Operation +connect Box66.Out Box11.Renderer +connect Box66.Out showNpoints.Renderer +connect Box67.Out Box77.In1 +connect Box66.Out Box48.render +connect Box48.boxchange Box31.In1 +connect Box35.Out Box68.In +connect Box68.Spacing Box70.k1 +connect Box35.Out showNpoints.Image +connect Box34.Out Box36.In1 +connect Box34.BoxChange Box31.In2 +connect Box66.Out Box37.render +connect Box38.Widget Box39.Widget2 +connect Box79.Widget Box40.Widget2 +connect Box46.Out Box45.MeshManagerModel +connect Box49.OutString Box06.NbPoints +connect Box42.BoxChange Box51.BoxExecute +connect Box45.BoxChange Box51.In2 +connect Box52.BoxChange Box51.In4 +connect showNpoints.WidgetShowNPoints Box52.WidgetShowNPoints +connect Box80.BoxChange Box53.In2 +connect Box53.BoxChange Box77.BoxExecute +connect Box42.BoxChange Box53.In3 +connect Box43.BoxChange Box55.BoxExecute +connect Box52.BoxChange Box55.In2 +connect Box43.BoxChange Box53.In6 +connect Box63.BoxChange showNpoints.BoxExecute +connect Box63.BoxChange Box62._execute +connect Box64.Out Box57.wxVtkBaseView2 +connect Box64.Out Box62._wxvtkbaseview2D1 +connect Box65.Out Box57.wxVtkBaseView3 +connect Box65.Out Box62._wxvtkbaseview2D2 +connect Box69.Out Box57.wxVtkBaseView4 +connect Box69.Out Box62._wxvtkbaseview2D3 +connect Box71.Out Box57.wxVtkBaseView +connect Box71.Out Box62._wxvtkbaseview3D1 +connect Box71.Out Box72._wxvtkbaseview3D1 +connect Box64.Out Box72._wxvtkbaseview2D1 +connect Box65.Out Box72._wxvtkbaseview2D2 +connect Box69.Out Box72._wxvtkbaseview2D3 +connect Box72._widget Box79.Widget6 +connect Box62._widget Box38.Widget7 +connect Box39.Widget Box81.Widget2 +connect Box40.Widget Box81.Widget4 +connect Box44.Widget Box82.Widget2 +connect Box82.Widget Box79.Widget2 +connect Box84.Widget Box44.Widget9 +connect Box86.Widget Box38.Widget2 +connect Box50.Widget Box86.Widget4 +connect showNpoints.Widget Box86.Widget2 +connect Box87.Widget Box50.Widget8 +connect Box88.Widget Box50.Widget9 +connect Box49.Widget Box50.Widget2 +connect Box34.Widget Box50.Widget4 +connect Box57.BoxChange Box08.BoxExecute +connect Box92.MeshManagerModel Box93.MeshManagerModel +connect Box77.BoxChange Box93.BoxExecute +connect Box92.MeshBase Box72._polydata +connect Box92.MeshBase Box37.polydata +connect Box37.boxchange Box72._execute +connect Box81.Widget Box08.Widget2 +connect Box42.Widget Box44.Widget6 +connect Box94.BoxChange Box37.boxexecute +connect Box77.BoxChange Box94.BoxExecute +connect Box71.Out Box96.wxVtkBaseView +connect Box96.vtkRenderer Box66.In +connect Box37.widget Box79.Widget7 +connect Box48.widget Box38.Widget8 +connect Box77.Out Box97.In +connect Box97.Out Box45.Mesh +connect Box97.Out Box93.Mesh +connect Box43.Widget Box44.Widget1 +connect Box78.Widget Box98.Widget2 +connect Box80.Widget Box98.Widget4 +connect Box98.Widget Box44.Widget3 +connect Box99.Out Box58.StringVector +connect Box100.Out1 Box101.In1 +connect Box101.Out Box60.Type +connect Box57.Out Box100.sk1 +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 +connect Box104.Out Box62._polydata +connect Box106.Widget Box105.Widget2 +connect Box107.Out Box102.Border +connect Box107.Widget Box105.Widget3 +connect Box108.Widget Box105.Widget4 +connect Box105.Widget Box109.Widget1 +connect Box109.Widget Box81.Widget3 +connect Box106.OutStart Box110.In1 +connect Box106.OutEnd Box110.In3 +connect Box110.Out Box102.Threshold +connect Box108.BoxChange Box104.BoxExecute +connect Box104.BoxChange Box31.BoxExecute + +# Complex input ports +input point showNpoints.In " " +input mesh Box67.In " " +input image Box35.In " " +input title Box08.WinTitle " " +input meshmanagermodel Box46.In " " +input boxChange Box63.In " " +input wxvtkbaseview2 Box64.In " " +input wxvtkbaseview3 Box65.In " " +input wxvtkbaseview4 Box69.In " " +input wxvtkbaseview1 Box71.In " " + +# Complex output ports +output widget Box08.Widget " " +output interactorStyleMaracas Box57.InteractorStyleMaracas " " +output interactorStyleMaracas2 Box57.InteractorStyleMaracas2 " " +output interactorStyleMaracas3 Box57.InteractorStyleMaracas3 " " +output interactorStyleMaracas4 Box57.InteractorStyleMaracas4 " " + + +endefine diff --git a/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx b/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx index 3d4a11b..eef262f 100644 --- a/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx +++ b/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx @@ -31,7 +31,12 @@ void ShowNPoints_Tools::NearestPointToMesh( vtkPoints *points,vtkStaticPointLoca void ShowNPoints_Tools::CreatePatch_3points() { - + printf("EED ShowNPoints_Tools::CreatePatch_3points Not Implemented !!!!"); + printf("EED ShowNPoints_Tools::CreatePatch_3points Not Implemented !!!!"); + printf("EED ShowNPoints_Tools::CreatePatch_3points Not Implemented !!!!"); + printf("EED ShowNPoints_Tools::CreatePatch_3points Not Implemented !!!!"); + printf("EED ShowNPoints_Tools::CreatePatch_3points Not Implemented !!!!"); + printf("EED ShowNPoints_Tools::CreatePatch_3points Not Implemented !!!!"); } void ShowNPoints_Tools::CreatePatch_4points() -- 2.47.1