]> Creatis software - creaMaracasVisu.git/commitdiff
#3506 New Tool Cut Surface
authorPablo Garzon <gapablo2001@gmail.com>
Tue, 18 Apr 2023 11:43:51 +0000 (13:43 +0200)
committerPablo Garzon <gapablo2001@gmail.com>
Tue, 18 Apr 2023 11:43:51 +0000 (13:43 +0200)
bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs
bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx

index 2f5adcba85ba19887ee2651c5d5830afab332597..43e0ad14c5ed7095bd8398ef7f5d00b850aa13c4 100644 (file)
@@ -590,40 +590,40 @@ FIN_BOX
 BOX
 std:ConcatStrings:Box114
 ISEXEC:FALSE
--394.516096:29.248600:-900.000000
--371.756096:26.748600:-900.000000
+-464.728425:29.536946:-900.000000
+-441.968425:27.036946:-900.000000
 PORT
 In2:" -1"
 FIN_BOX
 BOX
 std:ConcatStrings:Box115
 ISEXEC:FALSE
--362.131869:29.576639:-900.000000
--339.371869:27.076639:-900.000000
+-432.344198:29.864985:-900.000000
+-409.584198:27.364985:-900.000000
 PORT
 In2:" 1"
 FIN_BOX
 BOX
 wx:CommandButton:Box116
 ISEXEC:FALSE
--402.563131:9.856815:-900.000000
--380.178131:7.356815:-900.000000
+-472.775460:10.145161:-900.000000
+-450.390460:7.645161:-900.000000
 PORT
 Label:"-"
 FIN_BOX
 BOX
 wx:CommandButton:Box117
 ISEXEC:FALSE
--362.697963:9.548441:-900.000000
--340.312963:7.048441:-900.000000
+-432.910292:9.836787:-900.000000
+-410.525292:7.336787:-900.000000
 PORT
 Label:"+"
 FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints_Tools:Box118
 ISEXEC:FALSE
--401.088249:-8.216654:-900.000000
--378.543249:-10.716654:-900.000000
+-471.300578:-7.928308:-900.000000
+-448.755578:-10.428308:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -632,8 +632,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints_Tools:Box119
 ISEXEC:FALSE
--363.988157:-10.065434:-900.000000
--341.443157:-12.565434:-900.000000
+-434.200486:-9.777088:-900.000000
+-411.655486:-12.277088:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -642,16 +642,16 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box120
 ISEXEC:FALSE
--382.198143:-41.181829:-900.000000
--348.878143:-43.681829:-900.000000
+-447.700334:-24.146328:-900.000000
+-414.380334:-26.646328:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
 BOX
 std:GetVectorDoubleSubVector:Box121
 ISEXEC:FALSE
--336.669415:39.830082:-900.000000
--313.209415:37.330082:-900.000000
+-442.992795:41.165125:-900.000000
+-419.532795:38.665125:-900.000000
 PORT
 ErrorValue:"0"
 PORT
@@ -662,40 +662,40 @@ FIN_BOX
 BOX
 std:ConcatStrings:Box123
 ISEXEC:FALSE
--305.792387:20.683809:-900.000000
--283.032387:18.183809:-900.000000
+-389.611778:32.311374:-900.000000
+-366.851778:29.811374:-900.000000
 PORT
 In2:" -1"
 FIN_BOX
 BOX
 std:ConcatStrings:Box124
 ISEXEC:FALSE
--268.999559:20.416092:-900.000000
--246.239559:17.916092:-900.000000
+-352.818950:32.043657:-900.000000
+-330.058950:29.543657:-900.000000
 PORT
 In2:" 1"
 FIN_BOX
 BOX
 wx:CommandButton:Box125
 ISEXEC:FALSE
--313.839422:1.292024:-900.000000
--291.454422:-1.207976:-900.000000
+-397.658813:12.919589:-900.000000
+-375.273813:10.419589:-900.000000
 PORT
 Label:"-"
 FIN_BOX
 BOX
 wx:CommandButton:Box126
 ISEXEC:FALSE
--273.974254:0.983651:-900.000000
--251.589254:-1.516349:-900.000000
+-357.793645:12.611216:-900.000000
+-335.408645:10.111216:-900.000000
 PORT
 Label:"+"
 FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints_Tools:Box127
 ISEXEC:FALSE
--313.198600:-23.573073:-900.000000
--290.653600:-26.073073:-900.000000
+-397.017991:-11.945508:-900.000000
+-374.472991:-14.445508:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -704,8 +704,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints_Tools:Box128
 ISEXEC:FALSE
--275.264449:-23.992037:-900.000000
--252.719449:-26.492037:-900.000000
+-359.083840:-12.364472:-900.000000
+-336.538840:-14.864472:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -714,8 +714,8 @@ FIN_BOX
 BOX
 std:GetVectorDoubleSubVector:Box130
 ISEXEC:FALSE
--266.934210:39.860547:-900.000000
--243.474210:37.360547:-900.000000
+-383.724561:42.940086:-900.000000
+-360.264561:40.440086:-900.000000
 PORT
 ErrorValue:"0"
 PORT
@@ -726,8 +726,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box131
 ISEXEC:FALSE
--324.196226:-36.073803:-900.000000
--290.876226:-38.573803:-900.000000
+-384.639381:-22.701742:-900.000000
+-351.319381:-25.201742:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
@@ -1040,9 +1040,6 @@ CONNECTION
 Box92:MeshManagerModel:Box93:MeshManagerModel
 NumberOfControlPoints:0
 CONNECTION
-Box77:BoxChange:Box93:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box92:MeshBase:Box72:_polydata
 NumberOfControlPoints:0
 CONNECTION
@@ -1079,12 +1076,6 @@ 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
@@ -1215,12 +1206,21 @@ CONNECTION
 Box133:Widget:Box50:Widget6
 NumberOfControlPoints:0
 CONNECTION
-Box105:Out:Box77:In2
-NumberOfControlPoints:0
-CONNECTION
 Box60:Out:Box130:In
 NumberOfControlPoints:0
 CONNECTION
 Box60:Out:Box121:In
 NumberOfControlPoints:0
+CONNECTION
+Box77:Out:Box93:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box77:BoxChange:Box93:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box105:Out:Box77:In2
+NumberOfControlPoints:0
+CONNECTION
+Box77:Out:Box45:Mesh
+NumberOfControlPoints:0
 APP_END
index 40d33841cf89cf89238769e08c18c155f5b09489..f3ea3d335abb88de4626172a076dd2e295902e41 100644 (file)
@@ -359,7 +359,6 @@ 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
@@ -372,8 +371,6 @@ 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
@@ -416,9 +413,12 @@ connect Box103.Widget Box50.Widget5
 connect Box131.Widget Box50.Widget7
 connect Box132.Widget Box50.Widget8
 connect Box133.Widget Box50.Widget6
-connect Box105.Out Box77.In2
 connect Box60.Out Box130.In
 connect Box60.Out Box121.In
+connect Box77.Out Box93.Mesh
+connect Box77.BoxChange Box93.BoxExecute
+connect Box105.Out Box77.In2
+connect Box77.Out Box45.Mesh
 
 # Complex input ports
 input point showNpoints.In " "
index 4a631401c6001f16867d4472e7ddee60df52035c..ed139208ac6705952579c03568e991dfd11bea5e 100644 (file)
@@ -408,7 +408,6 @@ void ShowNPoints_Tools::CreateExpandedSurface()
                        p[2] = lstZ[i] + 4*dV[2];
                        wsp->AddPoint(p[0] ,p[1], p[2],"");
                }
-               
                std::vector<double> outData = {centroid[0], centroid[1], centroid[2]};
                bbSetOutputOut(outData);
        }