ReverseEngineering: improve mesh segmentation

This commit is contained in:
wmayer
2020-03-04 23:04:06 +01:00
parent 2cda87f23a
commit cda6628f14
7 changed files with 252 additions and 72 deletions

View File

@@ -54,9 +54,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
Gui::MenuItem* item = root->findItem("&Windows");
Gui::MenuItem* reen = new Gui::MenuItem;
root->insertItem(item, reen);
reen->setCommand("&REEN");
*reen << "Reen_ApproxPlane"
<< "Reen_ApproxSurface";
reen->setCommand("&Reverse Engineering");
Gui::MenuItem *reconstruct = new Gui::MenuItem();
reconstruct->setCommand("Surface reconstruction");
@@ -74,6 +72,15 @@ Gui::MenuItem* Workbench::setupMenuBar() const
<< "Reen_MeshBoundary";
*reen << segm;
Gui::MenuItem *approx = new Gui::MenuItem();
approx->setCommand("Approximation");
*approx << "Reen_ApproxPlane"
<< "Reen_ApproxCylinder"
<< "Reen_ApproxSphere"
<< "Separator"
<< "Reen_ApproxSurface";
*reen << approx;
return root;
}