The FixDefects class fixes defects in the attached mesh kernel. More...
#include <FeatureMeshDefects.h>
Public Member Functions | |
FixDefects (void) | |
Constructor. | |
virtual Base::Type | getTypeId (void) const |
virtual | ~FixDefects () |
methods override Feature | |
virtual App::DocumentObjectExecReturn * | execute (void) |
recalculate the Feature | |
short | mustExecute () const |
mustExecute We call this method to check if the object was modified to be invoked. | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
Properties | |
App::PropertyLink | Source |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
The FixDefects class fixes defects in the attached mesh kernel.
Definition at line 37 of file FeatureMeshDefects.h.
FixDefects::FixDefects | ( | void | ) |
FixDefects::~FixDefects | ( | ) | [virtual] |
Definition at line 49 of file FeatureMeshDefects.cpp.
void * Mesh::FixDefects::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Reimplemented in Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, and Mesh::RemoveComponents.
Definition at line 42 of file FeatureMeshDefects.cpp.
App::DocumentObjectExecReturn * FixDefects::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Reimplemented in Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, and Mesh::RemoveComponents.
Definition at line 60 of file FeatureMeshDefects.cpp.
References App::DocumentObject::StdReturn.
Base::Type Mesh::FixDefects::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Reimplemented in Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, and Mesh::RemoveComponents.
Definition at line 42 of file FeatureMeshDefects.cpp.
const App::PropertyData & Mesh::FixDefects::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Reimplemented in Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, and Mesh::RemoveComponents.
Definition at line 42 of file FeatureMeshDefects.cpp.
const App::PropertyData * Mesh::FixDefects::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Reimplemented in Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, and Mesh::RemoveComponents.
Definition at line 42 of file FeatureMeshDefects.cpp.
Base::Type Mesh::FixDefects::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Reimplemented in Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, and Mesh::RemoveComponents.
Definition at line 42 of file FeatureMeshDefects.cpp.
void Mesh::FixDefects::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Reimplemented in Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, and Mesh::RemoveComponents.
Definition at line 42 of file FeatureMeshDefects.cpp.
Referenced by initMesh().
short FixDefects::mustExecute | ( | ) | const [virtual] |
mustExecute We call this method to check if the object was modified to be invoked.
If the object label or an argument is modified. If we must recompute the object - to call the method execute(). 0: no recompution is needed 1: recompution needed -1: the document examine all links of this object and if one is touched -> recompute
Reimplemented from App::DocumentObject.
Definition at line 53 of file FeatureMeshDefects.cpp.
References App::Property::isTouched(), and Source.
Definition at line 48 of file FeatureMeshDefects.h.
Referenced by 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(), and mustExecute().