Set Operations on meshes Operations so far: Intersections, Union, Difference. More...
#include <FeatureMeshSetOperations.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
SetOperations () | |
methods overide Feature | |
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 | |
App::PropertyString | OperationType |
App::PropertyLink | Source1 |
App::PropertyLink | Source2 |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Set Operations on meshes Operations so far: Intersections, Union, Difference.
Definition at line 43 of file FeatureMeshSetOperations.h.
SetOperations::SetOperations | ( | void | ) |
Definition at line 49 of file FeatureMeshSetOperations.cpp.
References ADD_PROPERTY.
void * Mesh::SetOperations::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 46 of file FeatureMeshSetOperations.cpp.
App::DocumentObjectExecReturn * SetOperations::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Definition at line 70 of file FeatureMeshSetOperations.cpp.
References MeshCore::SetOperations::Difference, SketcherExample::f, Mesh::MeshObject::getKernel(), App::PropertyString::getValue(), Mesh::PropertyMeshKernel::getValue(), App::PropertyLink::getValue(), MeshCore::SetOperations::Inner, MeshCore::SetOperations::Intersect, Mesh::Feature::Mesh, OperationType, MeshCore::SetOperations::Outer, Mesh::PropertyMeshKernel::setValuePtr(), Source1, Source2, App::DocumentObject::StdReturn, Py::type(), and MeshCore::SetOperations::Union.
Base::Type Mesh::SetOperations::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 46 of file FeatureMeshSetOperations.cpp.
const App::PropertyData & Mesh::SetOperations::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Definition at line 46 of file FeatureMeshSetOperations.cpp.
const App::PropertyData * Mesh::SetOperations::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Definition at line 46 of file FeatureMeshSetOperations.cpp.
Base::Type Mesh::SetOperations::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Definition at line 46 of file FeatureMeshSetOperations.cpp.
void Mesh::SetOperations::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 46 of file FeatureMeshSetOperations.cpp.
Referenced by initMesh().
short SetOperations::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 56 of file FeatureMeshSetOperations.cpp.
References App::PropertyLink::getValue(), App::Property::isTouched(), OperationType, Source1, and Source2.
Definition at line 52 of file FeatureMeshSetOperations.h.
Referenced by execute(), and mustExecute().
Definition at line 50 of file FeatureMeshSetOperations.h.
Referenced by execute(), and mustExecute().
Definition at line 51 of file FeatureMeshSetOperations.h.
Referenced by execute(), and mustExecute().