]> Creatis software - creaMaracasVisu.git/commitdiff
#3536 Mesh_tool_ApplyRegionGrowing contours reaction
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Mon, 21 Aug 2023 10:56:28 +0000 (12:56 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Mon, 21 Aug 2023 10:56:28 +0000 (12:56 +0200)
bbtk/bbs/boxes/Mesh_Application.bbg
bbtk/bbs/boxes/Mesh_Application.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbs

index 77b45eda81f2d188867b6054dc66cec16a598cc7..221e5df193e288609d5ccd436b885cb757160fb1 100644 (file)
@@ -80,8 +80,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box15
 ISEXEC:FALSE
--64.004680:-7.644797:-900.000000
--40.984680:-10.144797:-900.000000
+-51.163626:-1.574390:-900.000000
+-28.143626:-4.074390:-900.000000
 PORT
 color:"1 0.7 0.7"
 PORT
@@ -120,8 +120,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box17
 ISEXEC:FALSE
--101.524329:-45.823864:-900.000000
--78.729329:-48.323864:-900.000000
+-77.251703:-46.232365:-900.000000
+-54.456703:-48.732365:-900.000000
 PORT
 colorMesh:"1 0 0"
 FIN_BOX
@@ -208,8 +208,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box31
 ISEXEC:FALSE
--111.518153:35.023891:-900.000000
--82.478153:32.523891:-900.000000
+-112.424321:35.386358:-900.000000
+-83.384321:32.886358:-900.000000
 FIN_BOX
 BOX
 std:GetVectorDoubleElement:Box32
@@ -376,14 +376,8 @@ FIN_BOX
 BOX
 std:MagicBox:Box63
 ISEXEC:FALSE
-54.284269:78.964621:-900.000000
-75.884269:76.464621:-900.000000
-FIN_BOX
-BOX
-std:MagicBox:Box64
-ISEXEC:FALSE
-87.395694:76.959498:-900.000000
-108.995694:74.459498:-900.000000
+55.371671:76.427350:-900.000000
+76.971671:73.927350:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box65
@@ -592,8 +586,8 @@ FIN_BOX
 BOX
 wx:ComboBox:Box100
 ISEXEC:FALSE
--191.967568:54.056410:-900.000000
--165.687568:51.556410:-900.000000
+-132.261393:56.335272:-900.000000
+-105.981393:53.835272:-900.000000
 PORT
 In:"Red  JET  B&W"
 PORT
@@ -710,8 +704,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:FreePlane:Box117
 ISEXEC:FALSE
-56.462546:15.002506:-900.000000
-78.157546:12.502506:-900.000000
+52.844216:10.901732:-900.000000
+74.539216:8.401732:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box118
@@ -748,22 +742,22 @@ FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box122
 ISEXEC:FALSE
--71.345197:-23.687897:-900.000000
--42.305197:-26.187897:-900.000000
+-70.422868:-23.611036:-900.000000
+-41.382868:-26.111036:-900.000000
 PORT
 InteractionType:"6"
 FIN_BOX
 BOX
 std:MultipleInputs:Box123
 ISEXEC:FALSE
-112.863790:37.723907:-900.000000
-134.943790:35.223907:-900.000000
+90.934516:43.523384:-900.000000
+113.014516:41.023384:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box124
 ISEXEC:FALSE
--82.731707:-34.035380:-900.000000
--53.691707:-36.535380:-900.000000
+-82.577985:-33.727937:-900.000000
+-53.537985:-36.227937:-900.000000
 PORT
 InteractionType:"2"
 FIN_BOX
@@ -782,8 +776,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box127
 ISEXEC:FALSE
--73.289308:-16.460304:-900.000000
--44.249308:-18.960304:-900.000000
+-73.212447:-15.768557:-900.000000
+-44.172447:-18.268557:-900.000000
 PORT
 InteractionType:"5"
 FIN_BOX
@@ -847,7 +841,13 @@ ISEXEC:FALSE
 PORT
 Type:"1"
 FIN_BOX
-CONNECTIONS:245
+BOX
+std:MultipleInputs:Box137
+ISEXEC:FALSE
+-71.845121:6.928998:-900.000000
+-49.765121:4.428998:-900.000000
+FIN_BOX
+CONNECTIONS:247
 CONNECTION
 Box08:MeshBase:Box15:polydata
 NumberOfControlPoints:0
@@ -1395,9 +1395,6 @@ CONNECTION
 Box92:Widget:Box116:Widget6
 NumberOfControlPoints:0
 CONNECTION
-Box64:Out:Box117:possiblePoint
-NumberOfControlPoints:0
-CONNECTION
 Box65:Out:Box117:render
 NumberOfControlPoints:0
 CONNECTION
@@ -1470,12 +1467,6 @@ CONNECTION
 Box124:BoxChange:Box123:In2
 NumberOfControlPoints:0
 CONNECTION
-Box15:boxchange:Box122:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box15:boxchange:Box124:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 PointIn:PointIn:Box125:In
 NumberOfControlPoints:0
 CONNECTION
@@ -1488,9 +1479,6 @@ CONNECTION
 Box66:Out:Box124:wxVtkBaseView
 NumberOfControlPoints:0
 CONNECTION
-Box15:boxchange:Box127:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box67:Out:Box127:wxVtkBaseView1
 NumberOfControlPoints:0
 CONNECTION
@@ -1583,4 +1571,22 @@ NumberOfControlPoints:0
 CONNECTION
 Box125:Out:Box70:point
 NumberOfControlPoints:0
+CONNECTION
+Box125:Out:Box117:possiblePoint
+NumberOfControlPoints:0
+CONNECTION
+Box137:BoxChange:Box127:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box137:BoxChange:Box122:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box137:BoxChange:Box124:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box08:BoxChange:Box137:In1
+NumberOfControlPoints:0
+CONNECTION
+Box123:BoxChange:Box112:BoxExecute
+NumberOfControlPoints:0
 APP_END
index e8a451c3c92bb2612280908b7ef15a8448db69de..cfdd2fa66c62a31504869c0a1d30a41beb69ca59 100644 (file)
@@ -137,8 +137,6 @@ new vtk:ImageVtkProperties Box61
 
 new std:MagicBox Box63
 
-new std:MagicBox Box64
-
 new std:MagicBox Box65
 
 new std:MagicBox Box66
@@ -310,6 +308,8 @@ new std:GetVectorStringElement Box135
 new std:ConcatStrings_tool Box136
   set Box136.Type "1"
 
+new std:MultipleInputs Box137
+
 
 connect Box08.MeshBase Box15.polydata
 connect Box08.MeshTemp Box10.mesh
@@ -482,7 +482,6 @@ connect Box79.Widget Box116.Widget4
 connect Box116.Widget Box97.Widget2
 connect Box115.Widget Box97.Widget4
 connect Box92.Widget Box116.Widget6
-connect Box64.Out Box117.possiblePoint
 connect Box65.Out Box117.render
 connect Box67.Out Box117.wxvtkbaseview1
 connect Box68.Out Box117.wxvtkbaseview2
@@ -507,11 +506,8 @@ connect Box67.Out Box124.wxVtkBaseView1
 connect Box68.Out Box124.wxVtkBaseView2
 connect Box69.Out Box124.wxVtkBaseView3
 connect Box124.BoxChange Box123.In2
-connect Box15.boxchange Box122.BoxExecute
-connect Box15.boxchange Box124.BoxExecute
 connect Box125.Out Box10.point
 connect Box66.Out Box124.wxVtkBaseView
-connect Box15.boxchange Box127.BoxExecute
 connect Box67.Out Box127.wxVtkBaseView1
 connect Box68.Out Box127.wxVtkBaseView2
 connect Box69.Out Box127.wxVtkBaseView3
@@ -543,6 +539,12 @@ connect Box12.BoxChange Box136.BoxExecute
 connect Box70.Active_ConcatString_box Box136.Box_ConcatString
 connect Box123.BoxChange Box70.boxChange
 connect Box125.Out Box70.point
+connect Box125.Out Box117.possiblePoint
+connect Box137.BoxChange Box127.BoxExecute
+connect Box137.BoxChange Box122.BoxExecute
+connect Box137.BoxChange Box124.BoxExecute
+connect Box08.BoxChange Box137.In1
+connect Box123.BoxChange Box112.BoxExecute
 
 # Complex input ports
 input MeshIn Box56.In " "
index 681184817b65a41f4fd2bd169eb3712ed7617cac..136de75378956a932478c9e565ad48ac90d51396 100644 (file)
@@ -60,7 +60,7 @@ COMPLEX_PORT
 meshmanagermodel
 -153.486767:202.488610:-900.000000
 FIN_COMPLEX_PORT
-BOXES:92
+BOXES:90
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -146,8 +146,8 @@ FIN_BOX
 BOX
 wx:CommandButton:Box80
 ISEXEC:FALSE
--97.575485:55.864317:-900.000000
--75.300485:53.364317:-900.000000
+-98.057929:57.552871:-900.000000
+-75.782929:55.052871:-900.000000
 PORT
 Label:"Run"
 FIN_BOX
@@ -180,8 +180,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box37
 ISEXEC:FALSE
--64.104184:-51.447194:-900.000000
--41.084184:-53.947194:-900.000000
+-72.836352:-56.225173:-900.000000
+-49.816352:-58.725173:-900.000000
 PORT
 color:"0 1 1"
 PORT
@@ -212,8 +212,8 @@ FIN_BOX
 BOX
 wx:CommandButton:Box42
 ISEXEC:FALSE
--90.674903:52.782696:-900.000000
--68.399903:50.282696:-900.000000
+-89.478761:52.982053:-900.000000
+-67.203761:50.482053:-900.000000
 PORT
 Label:"Apply  (Magenta->To Red)"
 FIN_BOX
@@ -238,8 +238,8 @@ FIN_BOX
 BOX
 creaVtk:MeshManager_tool:Box45
 ISEXEC:FALSE
--86.462754:-156.067395:-900.000000
--63.962754:-158.567395:-900.000000
+-83.332354:-156.891184:-900.000000
+-60.832354:-159.391184:-900.000000
 PORT
 Tool:"30"
 FIN_BOX
@@ -266,8 +266,8 @@ FIN_BOX
 BOX
 std:MultipleInputs:Box53
 ISEXEC:FALSE
--81.907379:-1.781615:-900.000000
--59.937379:-4.281615:-900.000000
+-79.116380:-3.575828:-900.000000
+-57.146380:-6.075828:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box55
@@ -278,18 +278,12 @@ FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box62
 ISEXEC:FALSE
--231.981368:-18.117247:-900.000000
--209.186368:-20.617247:-900.000000
+-193.338156:-61.553416:-900.000000
+-170.543156:-64.053416:-900.000000
 PORT
 colorMesh:"1 1 0"
 FIN_BOX
 BOX
-std:MagicBox:Box63
-ISEXEC:FALSE
--32.775386:183.480645:-900.000000
--11.175386:180.980645:-900.000000
-FIN_BOX
-BOX
 std:MagicBox:Box64
 ISEXEC:FALSE
 -247.134041:192.673999:-900.000000
@@ -350,24 +344,18 @@ FIN_BOX
 BOX
 creaVtk:MeshManager:Box92
 ISEXEC:FALSE
--38.201426:-32.514189:-900.000000
--16.171426:-35.014189:-900.000000
+-34.413642:-27.330906:-900.000000
+-12.383642:-29.830906:-900.000000
 FIN_BOX
 BOX
 creaVtk:MeshManager_tool:Box93
 ISEXEC:FALSE
--57.374341:-145.041131:-900.000000
--34.874341:-147.541131:-900.000000
+-8.441250:-138.121300:-900.000000
+14.058750:-140.621300:-900.000000
 PORT
 Tool:"35"
 FIN_BOX
 BOX
-std:MagicBox:Box94
-ISEXEC:FALSE
--70.083608:-34.154301:-900.000000
--48.483608:-36.654301:-900.000000
-FIN_BOX
-BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box96
 ISEXEC:FALSE
 -167.653292:103.516214:-900.000000
@@ -476,14 +464,14 @@ FIN_BOX
 BOX
 std:MultipleInputs:Box111
 ISEXEC:FALSE
--35.317463:-7.198513:-900.000000
--13.237463:-9.698513:-900.000000
+-39.815353:-5.452079:-900.000000
+-17.735353:-7.952079:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box112
 ISEXEC:FALSE
--125.402519:-66.212760:-900.000000
--103.322519:-68.712760:-900.000000
+-130.015740:-65.718486:-900.000000
+-107.935740:-68.218486:-900.000000
 FIN_BOX
 BOX
 creaVtk:MarchingCubes2:Box113
@@ -550,8 +538,8 @@ FIN_BOX
 BOX
 creaVtk:PolyDataToImageData:Box127
 ISEXEC:FALSE
--14.496502:-51.621874:-900.000000
-8.413498:-54.121874:-900.000000
+-8.095872:-49.085871:-900.000000
+14.814128:-51.585871:-900.000000
 PORT
 BoxProcessMode:"Manual"
 FIN_BOX
@@ -564,14 +552,14 @@ FIN_BOX
 BOX
 vtk:BinaryOperations:Box129
 ISEXEC:FALSE
--18.030559:-91.275801:-900.000000
-4.374441:-93.775801:-900.000000
+-18.030559:-89.778002:-900.000000
+4.374441:-92.278002:-900.000000
 FIN_BOX
 BOX
 creaVtk:ImageThreshold:Box130
 ISEXEC:FALSE
--4.271628:-97.467402:-900.000000
-18.018372:-99.967402:-900.000000
+-4.407792:-98.284383:-900.000000
+17.882208:-100.784383:-900.000000
 PORT
 InValue:"255"
 PORT
@@ -582,8 +570,8 @@ FIN_BOX
 BOX
 creaVtk:MarchingCubes2:Box131
 ISEXEC:FALSE
--6.206057:-110.728197:-900.000000
-16.188943:-113.228197:-900.000000
+-3.734689:-110.892955:-900.000000
+18.660311:-113.392955:-900.000000
 PORT
 Value:"128"
 FIN_BOX
@@ -602,16 +590,16 @@ FIN_BOX
 BOX
 creaVtk:PolyDataNormals:Box133
 ISEXEC:FALSE
--6.907754:-117.254824:-900.000000
-15.497246:-119.754824:-900.000000
+-7.731543:-118.078613:-900.000000
+14.673457:-120.578613:-900.000000
 PORT
 BoxProcessMode:"Manual"
 FIN_BOX
 BOX
 std:StringSelect:Box134
 ISEXEC:FALSE
-9.772334:-73.640117:-900.000000
-34.292334:-76.140117:-900.000000
+17.250216:-71.710341:-900.000000
+41.770216:-74.210341:-900.000000
 PORT
 In0:"0  128"
 PORT
@@ -624,16 +612,16 @@ FIN_BOX
 BOX
 std:GetVectorStringElement:Box135
 ISEXEC:FALSE
--3.047477:-81.497421:-900.000000
-20.017523:-83.997421:-900.000000
+-3.047477:-81.361257:-900.000000
+20.017523:-83.861257:-900.000000
 PORT
 I:"0"
 FIN_BOX
 BOX
 std:GetVectorStringElement:Box136
 ISEXEC:FALSE
-23.113302:-81.876846:-900.000000
-46.178302:-84.376846:-900.000000
+31.283114:-81.468355:-900.000000
+54.348114:-83.968355:-900.000000
 PORT
 I:"1"
 FIN_BOX
@@ -791,7 +779,7 @@ ISEXEC:FALSE
 -28.340233:193.606657:-900.000000
 -6.630233:191.106657:-900.000000
 FIN_BOX
-CONNECTIONS:166
+CONNECTIONS:164
 CONNECTION
 Box58:Out:Box57:In
 NumberOfControlPoints:0
@@ -943,9 +931,6 @@ CONNECTION
 Box81:Widget:Box08:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box94:BoxChange:Box37:boxexecute
-NumberOfControlPoints:0
-CONNECTION
 Box71:Out:Box96:wxVtkBaseView
 NumberOfControlPoints:0
 CONNECTION
@@ -1006,12 +991,6 @@ CONNECTION
 Box111:BoxChange:Box62:_execute
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:Box112:In1
-NumberOfControlPoints:0
-CONNECTION
-Box37:boxchange:Box112:In3
-NumberOfControlPoints:0
-CONNECTION
 Box112:BoxChange:Box72:_execute
 NumberOfControlPoints:0
 CONNECTION
@@ -1120,9 +1099,6 @@ CONNECTION
 Box133:Out:Box45:Mesh
 NumberOfControlPoints:0
 CONNECTION
-Box133:BoxChange:Box94:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box133:BoxChange:Box93:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
@@ -1290,4 +1266,10 @@ NumberOfControlPoints:0
 CONNECTION
 Box118:BoxChange:Box111:In2
 NumberOfControlPoints:0
+CONNECTION
+Box133:BoxChange:Box112:In3
+NumberOfControlPoints:0
+CONNECTION
+Box111:BoxChange:Box112:In2
+NumberOfControlPoints:0
 APP_END
index 407eadf52d16050f08283e0f631c35eb6a8c6343..77d22cb76034ead1c902c7a1553ff891779e545a 100644 (file)
@@ -104,8 +104,6 @@ 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
@@ -131,8 +129,6 @@ new creaVtk:MeshManager Box92
 new creaVtk:MeshManager_tool Box93
   set Box93.Tool "35"
 
-new std:MagicBox Box94
-
 new creaMaracasVisu:wxVtkBaseView_Info Box96
 
 new wx:LayoutLine Box98
@@ -335,7 +331,6 @@ connect Box92.MeshManagerModel Box93.MeshManagerModel
 connect Box92.MeshBase Box72._polydata
 connect Box92.MeshBase Box37.polydata
 connect Box81.Widget Box08.Widget2
-connect Box94.BoxChange Box37.boxexecute
 connect Box71.Out Box96.wxVtkBaseView
 connect Box96.vtkRenderer Box66.In
 connect Box43.Widget Box44.Widget1
@@ -356,8 +351,6 @@ connect Box106.OutStart Box110.In1
 connect Box106.OutEnd Box110.In3
 connect Box110.Out Box102.Threshold
 connect Box111.BoxChange Box62._execute
-connect Box63.BoxChange Box112.In1
-connect Box37.boxchange Box112.In3
 connect Box112.BoxChange Box72._execute
 connect Box113.Out Box48.polydata
 connect Box113.Out Box62._polydata
@@ -394,7 +387,6 @@ connect Box131.Out Box133.In
 connect Box53.BoxChange Box133.BoxExecute
 connect Box133.Out Box93.Mesh
 connect Box133.Out Box45.Mesh
-connect Box133.BoxChange Box94.BoxExecute
 connect Box133.BoxChange Box93.BoxExecute
 connect Box78.Out Box134.In
 connect Box134.Out Box135.In
@@ -448,6 +440,8 @@ connect Box158.BoxChange Box154.BoxExecute
 connect Box158.BoxChange Box111.In1
 connect Box118.BoxChange Box48.boxexecute
 connect Box118.BoxChange Box111.In2
+connect Box133.BoxChange Box112.In3
+connect Box111.BoxChange Box112.In2
 
 # Complex input ports
 input mesh Box67.In " "