Mesh::Feature Class Reference

Base class of all mesh feature classes in FreeCAD. More...

#include <MeshFeature.h>

Inheritance diagram for Mesh::Feature:
App::GeoFeature App::DocumentObject App::PropertyContainer Base::Persistence Base::BaseClass Mesh::Cone Mesh::Cube Mesh::Cylinder Mesh::Ellipsoid Mesh::FixDefects Mesh::Import Mesh::SegmentByMesh Mesh::SetOperations Mesh::Sphere Mesh::Torus Mesh::Transform

List of all members.

Public Member Functions

 Feature (void)
 Constructor.
virtual PyObjectgetPyObject (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::PropertyDatagetPropertyData (void) const

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Base class of all mesh feature classes in FreeCAD.

This class holds a MeshKernel object.

Author:
Werner Mayer

Definition at line 53 of file MeshFeature.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void * Mesh::Feature::create ( void   )  [static]
App::DocumentObjectExecReturn * Feature::execute ( void   )  [virtual]
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]
const App::PropertyData * Mesh::Feature::getPropertyDataPtr ( void   )  [static, protected]
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]
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]
void Feature::onChanged ( const App::Property prop  )  [virtual]

Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:20 2011 for FreeCAD by  doxygen 1.6.1