#include <FeatureExtrusion.h>
Public Member Functions | |
Extrusion () | |
virtual Base::Type | getTypeId (void) const |
methods override feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the feature | |
const char * | getViewProviderName (void) const |
returns the type name of the view provider | |
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::PropertyLink | Base |
App::PropertyVector | Dir |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 33 of file FeatureExtrusion.h.
Extrusion::Extrusion | ( | ) |
Definition at line 37 of file FeatureExtrusion.cpp.
References ADD_PROPERTY, and SketcherExample::f.
void * Part::Extrusion::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeatureExtrusion.cpp.
App::DocumentObjectExecReturn * Extrusion::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 51 of file FeatureExtrusion.cpp.
References Base, Dir, Part::Feature::getClassTypeId(), Part::PropertyPartShape::getShape(), App::PropertyContainer::getTypeId(), App::PropertyVector::getValue(), App::PropertyLink::getValue(), Base::Type::isDerivedFrom(), Part::TopoShape::makePrism(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, App::DocumentObject::StdReturn, draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Base::Type Part::Extrusion::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeatureExtrusion.cpp.
const App::PropertyData & Part::Extrusion::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeatureExtrusion.cpp.
const App::PropertyData * Part::Extrusion::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeatureExtrusion.cpp.
Base::Type Part::Extrusion::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeatureExtrusion.cpp.
const char* Part::Extrusion::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the view provider
Reimplemented from Part::Feature.
Definition at line 49 of file FeatureExtrusion.h.
void Part::Extrusion::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeatureExtrusion.cpp.
Referenced by initPart().
short Extrusion::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.
Definition at line 43 of file FeatureExtrusion.cpp.
References Base, Dir, and App::Property::isTouched().
Definition at line 40 of file FeatureExtrusion.h.
Referenced by execute(), and mustExecute().
Definition at line 41 of file FeatureExtrusion.h.
Referenced by execute(), and mustExecute().