Base class of all shape feature classes in FreeCAD. More...
#include <PartFeatureReference.h>
Public Member Functions | |
FeatureReference (void) | |
Constructor. | |
virtual Base::Type | getTypeId (void) const |
virtual const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
virtual | ~FeatureReference () |
methods override feature | |
virtual App::DocumentObjectExecReturn * | execute (void) |
recalculate the feature | |
virtual short | mustExecute (void) 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 | Reference |
Protected Member Functions | |
TopLoc_Location | getLocation () const |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Base class of all shape feature classes in FreeCAD.
Definition at line 40 of file PartFeatureReference.h.
FeatureReference::FeatureReference | ( | void | ) |
FeatureReference::~FeatureReference | ( | ) | [virtual] |
Definition at line 55 of file PartFeatureReference.cpp.
void * Part::FeatureReference::create | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 47 of file PartFeatureReference.cpp.
App::DocumentObjectExecReturn * FeatureReference::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from App::DocumentObject.
Definition at line 64 of file PartFeatureReference.cpp.
References App::DocumentObject::StdReturn.
Base::Type Part::FeatureReference::getClassTypeId | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 47 of file PartFeatureReference.cpp.
TopLoc_Location FeatureReference::getLocation | ( | ) | const [protected] |
Definition at line 69 of file PartFeatureReference.cpp.
References draftlibs::fcvec::angle(), Base::Placement::getPosition(), Base::Placement::getRotation(), and App::GeoFeature::Placement.
const App::PropertyData & Part::FeatureReference::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 47 of file PartFeatureReference.cpp.
const App::PropertyData * Part::FeatureReference::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from App::PropertyContainer.
Definition at line 47 of file PartFeatureReference.cpp.
Base::Type Part::FeatureReference::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 47 of file PartFeatureReference.cpp.
virtual const char* Part::FeatureReference::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from App::DocumentObject.
Definition at line 59 of file PartFeatureReference.h.
void Part::FeatureReference::init | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 47 of file PartFeatureReference.cpp.
short FeatureReference::mustExecute | ( | void | ) | 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 59 of file PartFeatureReference.cpp.
Definition at line 49 of file PartFeatureReference.h.