#include <FeatureMeshSolid.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Torus () | |
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 | Radius1 |
App::PropertyFloatConstraint | Radius2 |
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 126 of file FeatureMeshSolid.h.
Torus::Torus | ( | void | ) |
Definition at line 202 of file FeatureMeshSolid.cpp.
References ADD_PROPERTY, Mesh::floatRange, and Mesh::intSampling.
void * Mesh::Torus::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 200 of file FeatureMeshSolid.cpp.
App::DocumentObjectExecReturn * Torus::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Definition at line 221 of file FeatureMeshSolid.cpp.
References Mesh::MeshObject::createTorus(), App::PropertyInteger::getValue(), App::PropertyFloat::getValue(), Mesh::Feature::Mesh, Mesh2Shape::mesh, App::GeoFeature::Placement, Radius1, Radius2, Sampling, Mesh::PropertyMeshKernel::setValue(), and App::DocumentObject::StdReturn.
Base::Type Mesh::Torus::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 200 of file FeatureMeshSolid.cpp.
const App::PropertyData & Mesh::Torus::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Definition at line 200 of file FeatureMeshSolid.cpp.
const App::PropertyData * Mesh::Torus::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Definition at line 200 of file FeatureMeshSolid.cpp.
Base::Type Mesh::Torus::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Definition at line 200 of file FeatureMeshSolid.cpp.
void Mesh::Torus::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 200 of file FeatureMeshSolid.cpp.
Referenced by initMesh().
short Torus::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 212 of file FeatureMeshSolid.cpp.
References App::Property::isTouched(), Radius1, Radius2, and Sampling.
Definition at line 133 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 134 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 135 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().