#include <FeatureMeshSolid.h>
Public Member Functions | |
| virtual Base::Type | getTypeId (void) const |
| Sphere () | |
methods override 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::PropertyFloatConstraint | Radius |
| App::PropertyIntegerConstraint | Sampling |
Protected Member Functions | |
| virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
| static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 38 of file FeatureMeshSolid.h.
| Sphere::Sphere | ( | void | ) |
Definition at line 47 of file FeatureMeshSolid.cpp.
References ADD_PROPERTY, Mesh::floatRange, Mesh::intSampling, and Sketcher::Radius.
| void * Mesh::Sphere::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 45 of file FeatureMeshSolid.cpp.
| App::DocumentObjectExecReturn * Sphere::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Definition at line 62 of file FeatureMeshSolid.cpp.
References Mesh::MeshObject::createSphere(), App::PropertyInteger::getValue(), App::PropertyFloat::getValue(), Mesh::Feature::Mesh, Mesh2Shape::mesh, App::GeoFeature::Placement, Radius, Sampling, Mesh::PropertyMeshKernel::setValue(), and App::DocumentObject::StdReturn.
| Base::Type Mesh::Sphere::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 45 of file FeatureMeshSolid.cpp.
| const App::PropertyData & Mesh::Sphere::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Definition at line 45 of file FeatureMeshSolid.cpp.
| const App::PropertyData * Mesh::Sphere::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Definition at line 45 of file FeatureMeshSolid.cpp.
| Base::Type Mesh::Sphere::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Definition at line 45 of file FeatureMeshSolid.cpp.
| void Mesh::Sphere::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 45 of file FeatureMeshSolid.cpp.
Referenced by initMesh().
| short Sphere::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 55 of file FeatureMeshSolid.cpp.
References App::Property::isTouched(), Radius, and Sampling.
Definition at line 45 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 46 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
1.6.1