#include <PrimitiveFeature.h>
Public Member Functions | |
| virtual Base::Type | getTypeId (void) const |
| Primitive () | |
| virtual | ~Primitive () |
methods override feature | |
| App::DocumentObjectExecReturn * | execute (void)=0 |
| 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) |
Protected Member Functions | |
| virtual const App::PropertyData & | getPropertyData (void) const |
| void | onChanged (const App::Property *prop) |
| get called by the container when a property was changed | |
Static Protected Member Functions | |
| static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 33 of file PrimitiveFeature.h.
| Primitive::Primitive | ( | void | ) |
Definition at line 81 of file PrimitiveFeature.cpp.
| Primitive::~Primitive | ( | ) | [virtual] |
Definition at line 86 of file PrimitiveFeature.cpp.
| void * Part::Primitive::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
Definition at line 79 of file PrimitiveFeature.cpp.
| App::DocumentObjectExecReturn* Part::Primitive::execute | ( | void | ) | [pure virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Implemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
| Base::Type Part::Primitive::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
Definition at line 79 of file PrimitiveFeature.cpp.
| const App::PropertyData & Part::Primitive::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
Definition at line 79 of file PrimitiveFeature.cpp.
| const App::PropertyData * Part::Primitive::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
Definition at line 79 of file PrimitiveFeature.cpp.
| Base::Type Part::Primitive::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
Definition at line 79 of file PrimitiveFeature.cpp.
| void Part::Primitive::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
Definition at line 79 of file PrimitiveFeature.cpp.
Referenced by initPart().
| short Primitive::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 Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.
Definition at line 90 of file PrimitiveFeature.cpp.
| void Primitive::onChanged | ( | const App::Property * | prop | ) | [protected, virtual] |
get called by the container when a property was changed
Reimplemented from Part::Feature.
Reimplemented in Part::Box, Part::Circle, Part::Vertex, and Part::Wedge.
Definition at line 95 of file PrimitiveFeature.cpp.
References App::Property::getGroup(), App::DocumentObject::isRestoring(), and App::DocumentObject::recompute().
1.6.1