#include <FeatureMeshSolid.h>
Public Member Functions | |
Ellipsoid () | |
virtual Base::Type | getTypeId (void) const |
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 58 of file FeatureMeshSolid.h.
Ellipsoid::Ellipsoid | ( | void | ) |
Definition at line 79 of file FeatureMeshSolid.cpp.
References ADD_PROPERTY, Mesh::floatRange, and Mesh::intSampling.
void * Mesh::Ellipsoid::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 77 of file FeatureMeshSolid.cpp.
App::DocumentObjectExecReturn * Ellipsoid::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Definition at line 98 of file FeatureMeshSolid.cpp.
References Mesh::MeshObject::createEllipsoid(), 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::Ellipsoid::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 77 of file FeatureMeshSolid.cpp.
const App::PropertyData & Mesh::Ellipsoid::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Definition at line 77 of file FeatureMeshSolid.cpp.
const App::PropertyData * Mesh::Ellipsoid::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Definition at line 77 of file FeatureMeshSolid.cpp.
Base::Type Mesh::Ellipsoid::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Definition at line 77 of file FeatureMeshSolid.cpp.
void Mesh::Ellipsoid::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 77 of file FeatureMeshSolid.cpp.
Referenced by initMesh().
short Ellipsoid::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 89 of file FeatureMeshSolid.cpp.
References App::Property::isTouched(), Radius1, Radius2, and Sampling.
Definition at line 65 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 66 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 67 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().