ReverseEngineering: implement mesh segmentation workflow
This commit is contained in:
@@ -50,13 +50,13 @@ Workbench::~Workbench()
|
||||
|
||||
Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
{
|
||||
Gui::MenuItem* root = StdWorkbench::setupMenuBar();
|
||||
Gui::MenuItem* item = root->findItem("&Windows");
|
||||
Gui::MenuItem* reen = new Gui::MenuItem;
|
||||
root->insertItem(item, reen);
|
||||
reen->setCommand("&REEN");
|
||||
*reen << "Reen_ApproxPlane"
|
||||
<< "Reen_ApproxSurface";
|
||||
Gui::MenuItem* root = StdWorkbench::setupMenuBar();
|
||||
Gui::MenuItem* item = root->findItem("&Windows");
|
||||
Gui::MenuItem* reen = new Gui::MenuItem;
|
||||
root->insertItem(item, reen);
|
||||
reen->setCommand("&REEN");
|
||||
*reen << "Reen_ApproxPlane"
|
||||
<< "Reen_ApproxSurface";
|
||||
|
||||
Gui::MenuItem *reconstruct = new Gui::MenuItem();
|
||||
reconstruct->setCommand("Surface reconstruction");
|
||||
@@ -64,7 +64,17 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
<< "Reen_ViewTriangulation";
|
||||
*reen << reconstruct;
|
||||
|
||||
return root;
|
||||
Gui::MenuItem *segm = new Gui::MenuItem();
|
||||
segm->setCommand("Segmentation");
|
||||
*segm << "Mesh_RemeshGmsh"
|
||||
<< "Mesh_VertexCurvature"
|
||||
<< "Mesh_CurvatureInfo"
|
||||
<< "Separator"
|
||||
<< "Reen_Segmentation"
|
||||
<< "Reen_MeshBoundary";
|
||||
*reen << segm;
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
|
||||
Reference in New Issue
Block a user