Base class of all mesh feature classes in FreeCAD. More...
#include <MeshFeature.h>
Public Member Functions | |
Feature (void) | |
Constructor. | |
virtual PyObject * | getPyObject (void) |
handles the MeshPy object | |
virtual Base::Type | getTypeId (void) const |
virtual const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
virtual | ~Feature () |
methods overide Feature | |
virtual App::DocumentObjectExecReturn * | execute (void) |
recalculate the Feature | |
virtual void | onChanged (const App::Property *prop) |
get called by the container when a property was changed | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
Properties | |
PropertyMeshKernel | Mesh |
Property that holds the mesh data. | |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Base class of all mesh feature classes in FreeCAD.
This class holds a MeshKernel object.
Definition at line 53 of file MeshFeature.h.
Feature::Feature | ( | void | ) |
Constructor.
Definition at line 50 of file MeshFeature.cpp.
References ADD_PROPERTY_TYPE, and App::Prop_Output.
Feature::~Feature | ( | ) | [virtual] |
Definition at line 55 of file MeshFeature.cpp.
void * Mesh::Feature::create | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Reimplemented in Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 48 of file MeshFeature.cpp.
App::DocumentObjectExecReturn * Feature::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from App::DocumentObject.
Reimplemented in Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 59 of file MeshFeature.cpp.
References App::DocumentObject::StdReturn.
Base::Type Mesh::Feature::getClassTypeId | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Reimplemented in Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 48 of file MeshFeature.cpp.
Referenced by CmdApproxSurface::activated(), CmdMeshFillupHoles::activated(), CmdMeshBoundingBox::activated(), CmdMeshFlipNormals::activated(), CmdMeshHarmonizeNormals::activated(), CmdMeshSmoothing::activated(), CmdMeshEvaluateSolid::activated(), CmdMeshEvaluation::activated(), CmdMeshToolMesh::activated(), CmdMeshPolySplit::activated(), CmdMeshPolyCut::activated(), CmdMeshAddFacet::activated(), CmdMeshPolySelect::activated(), CmdMeshPolySegm::activated(), CmdMeshVertexCurvature::activated(), CmdMeshFromGeometry::activated(), CmdMeshExport::activated(), CmdMeshIntersection::activated(), CmdMeshDifference::activated(), CmdMeshUnion::activated(), CmdMeshDemolding::activated(), CmdMeshTransform::activated(), Inspection::Feature::execute(), CmdApproxSurface::isActive(), CmdMeshFillInteractiveHole::isActive(), CmdMeshFillupHoles::isActive(), CmdMeshBoundingBox::isActive(), CmdMeshFlipNormals::isActive(), CmdMeshHarmonizeNormals::isActive(), CmdMeshSmoothing::isActive(), CmdMeshEvaluateSolid::isActive(), CmdMeshRemoveCompByHand::isActive(), CmdMeshRemoveComponents::isActive(), CmdMeshEvaluateFacet::isActive(), CmdMeshEvaluation::isActive(), CmdMeshToolMesh::isActive(), CmdMeshPolySplit::isActive(), CmdMeshPolyCut::isActive(), CmdMeshAddFacet::isActive(), CmdMeshPolySelect::isActive(), CmdMeshPolySegm::isActive(), CmdMeshVertexCurvature::isActive(), CmdMeshExport::isActive(), CmdMeshIntersection::isActive(), CmdMeshDifference::isActive(), CmdMeshUnion::isActive(), CmdMeshDemolding::isActive(), CmdMeshTransform::isActive(), MeshGui::DlgEvaluateMeshImp::on_meshNameButton_activated(), MeshGui::DlgEvaluateMeshImp::refreshList(), CamGui::Cutting::selectMesh(), and MeshGui::Workbench::setupContextMenu().
const App::PropertyData & Mesh::Feature::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from App::PropertyContainer.
Reimplemented in Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 48 of file MeshFeature.cpp.
const App::PropertyData * Mesh::Feature::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from App::PropertyContainer.
Reimplemented in Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 48 of file MeshFeature.cpp.
PyObject * Feature::getPyObject | ( | void | ) | [virtual] |
handles the MeshPy object
Reimplemented from App::DocumentObject.
Definition at line 64 of file MeshFeature.cpp.
References Py::_None(), Py::Object::is(), Py::new_reference_to(), and App::DocumentObject::PythonObject.
Base::Type Mesh::Feature::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from App::PropertyContainer.
Reimplemented in Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 48 of file MeshFeature.cpp.
Referenced by Mesh::MeshFeaturePy::representation().
virtual const char* Mesh::Feature::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from App::DocumentObject.
Reimplemented in Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 76 of file MeshFeature.h.
void Mesh::Feature::init | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Reimplemented in Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, and Mesh::TransformDemolding.
Definition at line 48 of file MeshFeature.cpp.
Referenced by initMesh().
void Feature::onChanged | ( | const App::Property * | prop | ) | [virtual] |
get called by the container when a property was changed
Reimplemented from App::DocumentObject.
Definition at line 73 of file MeshFeature.cpp.
References Base::Placement::fromMatrix(), Mesh::MeshObject::getTransform(), Mesh::PropertyMeshKernel::getValue(), Mesh, Mesh2Shape::mesh, draftTools::p, App::GeoFeature::Placement, and Mesh::MeshObject::setTransform().
Property that holds the mesh data.
Definition at line 65 of file MeshFeature.h.
Referenced by CmdSandboxMeshLoaderFuture::activated(), CmdSandboxMeshLoaderBoost::activated(), CmdSandboxMeshLoader::activated(), CmdMeshSmoothing::activated(), CmdMeshEvaluateSolid::activated(), CmdMeshFromGeometry::activated(), MeshGui::ViewProviderMeshNode::attach(), MeshGui::RemoveComponents::deleteSelection(), Inspection::Feature::execute(), Mesh::Cube::execute(), Mesh::Torus::execute(), Mesh::Cone::execute(), Mesh::Cylinder::execute(), Mesh::Ellipsoid::execute(), Mesh::Sphere::execute(), Mesh::SetOperations::execute(), Mesh::SegmentByMesh::execute(), Mesh::Import::execute(), Mesh::Export::execute(), Mesh::RemoveComponents::execute(), Mesh::FillHoles::execute(), Mesh::FixIndices::execute(), Mesh::FixDeformations::execute(), Mesh::FixDegenerations::execute(), Mesh::FixDuplicatedPoints::execute(), Mesh::FixDuplicatedFaces::execute(), Mesh::FixNonManifolds::execute(), Mesh::FlipNormals::execute(), Mesh::HarmonizeNormals::execute(), Mesh::Curvature::execute(), MeshGui::ViewProviderMesh::faceInfo(), MeshGui::ViewProviderMesh::fillHole(), Mesh::MeshFeaturePy::fixDegenerations(), Mesh::MeshFeaturePy::fixIndices(), Mesh::MeshFeaturePy::fixSelfIntersections(), Mesh::MeshFeaturePy::harmonizeNormals(), importer(), insert(), MeshGui::RemoveComponents::invertSelection(), MeshGui::DlgEvaluateMeshImp::on_analyzeDegeneratedButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_analyzeDuplicatedFacesButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_analyzeDuplicatedPointsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_analyzeFoldsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_analyzeIndicesButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_analyzeNonmanifoldsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_analyzeOrientationButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_analyzeSelfIntersectionButton_clicked(), MeshGui::RemoveComponents::on_deselectComponents_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairSelfIntersectionButton_clicked(), MeshGui::RemoveComponents::on_selectAll_clicked(), MeshGui::RemoveComponents::on_selectComponents_clicked(), onChanged(), open(), Mesh::MeshFeaturePy::removeDuplicatedFacets(), Mesh::MeshFeaturePy::removeDuplicatedPoints(), Mesh::MeshFeaturePy::removeFoldsOnSurface(), Mesh::MeshFeaturePy::removeNonManifolds(), show(), MeshGui::ViewProviderMeshFolds::showDefects(), MeshGui::ViewProviderMeshSelfIntersections::showDefects(), MeshGui::ViewProviderMeshIndices::showDefects(), MeshGui::ViewProviderMeshDegenerations::showDefects(), MeshGui::ViewProviderMeshDuplicatedPoints::showDefects(), MeshGui::ViewProviderMeshDuplicatedFaces::showDefects(), MeshGui::ViewProviderMeshNonManifolds::showDefects(), MeshGui::ViewProviderMeshOrientation::showDefects(), MeshGui::DlgEvaluateMeshImp::showInformation(), MeshGui::ViewProviderMeshNode::showOpenEdges(), Mesh::MeshFeaturePy::smooth(), and MeshGui::ViewProviderMesh::splitMesh().