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=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
~SegmentationManual () | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Dialog to create segments from components, regions, the complete or single faces of a mesh.
SegmentationManual::SegmentationManual | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
SegmentationManual::~SegmentationManual | ( | ) |
|
protected |
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(), draftutils.translate::QT_TRANSLATE_NOOP, MeshCore::MeshFacet::SELECTED, App::PropertyBool::setValue(), Mesh::PropertyMeshKernel::startEditing(), Mesh::MeshObject::swap(), and App::DocumentObject::Visibility.
Referenced by ReverseEngineeringGui::TaskSegmentationManual::clicked().
|
slot |
References MeshGui::MeshSelection::setAddComponentOnClick().
|
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().
|
slot |
References MeshGui::MeshSelection::clearSelection().
|
slot |
|
slot |
|
slot |
References MeshGui::MeshSelection::fullSelection().
|
slot |
References MeshGui::MeshSelection::selectComponent().
|
slot |
References MeshGui::MeshSelection::startSelection().
|
slot |
|
slot |
|
slot |
void SegmentationManual::reject | ( | void | ) |
References MeshGui::MeshSelection::clearSelection(), and MeshGui::MeshSelection::setEnabledViewerSelection().
Referenced by draftguitools.gui_hatch.Draft_Hatch_TaskPanel::accept(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), ReverseEngineeringGui::TaskSegmentationManual::clicked(), femexamples.examplesgui.FemExamples::clicked(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().