Dialog to create segments from components, regions, the complete or single faces of a mesh. More...
#include <SegmentationManual.h>
Classes | |
class | Private |
Public Slots | |
void | on_cbSelectComp_toggled (bool) |
void | on_cylinderDetect_clicked () |
void | on_deselectAll_clicked () |
void | on_planeDetect_clicked () |
void | on_screenTriangles_toggled (bool) |
void | on_selectAll_clicked () |
void | on_selectComponents_clicked () |
void | on_selectRegion_clicked () |
void | on_selectTriangle_clicked () |
void | on_sphereDetect_clicked () |
void | on_visibleTriangles_toggled (bool) |
Public Member Functions | |
void | createSegment () |
void | reject () |
SegmentationManual (QWidget *parent=0, Qt::WindowFlags fl=0) | |
~SegmentationManual () | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Detailed Description
Dialog to create segments from components, regions, the complete or single faces of a mesh.
Constructor & Destructor Documentation
◆ SegmentationManual()
SegmentationManual::SegmentationManual | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = 0 |
||
) |
◆ ~SegmentationManual()
SegmentationManual::~SegmentationManual | ( | ) |
Member Function Documentation
◆ changeEvent()
|
protected |
◆ createSegment()
void SegmentationManual::createSegment | ( | ) |
References Gui::Document::abortCommand(), Gui::Application::activeDocument(), App::Document::addObject(), Mesh::MeshObject::clearFacetSelection(), MeshGui::MeshSelection::clearSelection(), Gui::Document::commitCommand(), MeshCore::MeshAlgorithm::CountFacetFlag(), Mesh::MeshObject::deleteFacets(), Mesh::PropertyMeshKernel::finishEditing(), Gui::Document::getDocument(), MeshCore::MeshAlgorithm::GetFacetsFlag(), App::Document::getObjectsOfType(), Gui::Application::Instance, Mesh::Feature::Mesh, Gui::Document::openCommand(), MeshCore::MeshFacet::SELECTED, App::PropertyBool::setValue(), Mesh::PropertyMeshKernel::startEditing(), Mesh::MeshObject::swap(), and App::DocumentObject::Visibility.
Referenced by ReverseEngineeringGui::TaskSegmentationManual::clicked().
◆ on_cbSelectComp_toggled
|
slot |
References MeshGui::MeshSelection::setAddComponentOnClick().
◆ on_cylinderDetect_clicked
|
slot |
References MeshCore::Approximation::AddPoints(), ReverseEngineeringGui::SegmentationManual::Private::findGeometry(), MeshCore::CylinderFit::Fit(), MeshCore::CylinderFit::GetAxis(), MeshCore::CylinderFit::GetBase(), MeshCore::Approximation::GetGravity(), MeshCore::CylinderFit::GetInitialAxisFromNormals(), MeshCore::CylinderFit::GetRadius(), and MeshCore::CylinderFit::SetInitialValues().
◆ on_deselectAll_clicked
|
slot |
References MeshGui::MeshSelection::clearSelection().
◆ on_planeDetect_clicked
|
slot |
◆ on_screenTriangles_toggled
|
slot |
◆ on_selectAll_clicked
|
slot |
References MeshGui::MeshSelection::fullSelection().
◆ on_selectComponents_clicked
|
slot |
References MeshGui::MeshSelection::selectComponent().
◆ on_selectRegion_clicked
|
slot |
References MeshGui::MeshSelection::startSelection().
◆ on_selectTriangle_clicked
|
slot |
◆ on_sphereDetect_clicked
|
slot |
◆ on_visibleTriangles_toggled
|
slot |
◆ reject()
void SegmentationManual::reject | ( | ) |
The documentation for this class was generated from the following files:
- src/Mod/ReverseEngineering/Gui/SegmentationManual.h
- src/Mod/ReverseEngineering/Gui/SegmentationManual.cpp