#include <FeatureMeshSolid.h>
Public Member Functions | |
Cube () | |
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 | Height |
App::PropertyFloatConstraint | Length |
App::PropertyFloatConstraint | Width |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 147 of file FeatureMeshSolid.h.
Cube::Cube | ( | void | ) |
Definition at line 238 of file FeatureMeshSolid.cpp.
References ADD_PROPERTY_TYPE, SketcherExample::f, Mesh::floatRange, Base::Length, and App::Prop_None.
void * Mesh::Cube::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 236 of file FeatureMeshSolid.cpp.
App::DocumentObjectExecReturn * Cube::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Definition at line 257 of file FeatureMeshSolid.cpp.
References Mesh::MeshObject::createCube(), App::PropertyFloat::getValue(), Height, Length, Mesh::Feature::Mesh, Mesh2Shape::mesh, App::GeoFeature::Placement, Mesh::PropertyMeshKernel::setValue(), App::DocumentObject::StdReturn, and Width.
Base::Type Mesh::Cube::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 236 of file FeatureMeshSolid.cpp.
const App::PropertyData & Mesh::Cube::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Definition at line 236 of file FeatureMeshSolid.cpp.
const App::PropertyData * Mesh::Cube::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Definition at line 236 of file FeatureMeshSolid.cpp.
Base::Type Mesh::Cube::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Definition at line 236 of file FeatureMeshSolid.cpp.
void Mesh::Cube::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 236 of file FeatureMeshSolid.cpp.
Referenced by initMesh().
short Cube::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 248 of file FeatureMeshSolid.cpp.
References Height, App::Property::isTouched(), Length, and Width.
Definition at line 156 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 154 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 155 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().