#include <FeatureRevolution.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Revolution () | |
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 | Angle |
App::PropertyVector | Axis |
App::PropertyVector | Base |
App::PropertyLink | Source |
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 App/FeatureRevolution.h.
Revolution::Revolution | ( | ) |
Definition at line 39 of file App/FeatureRevolution.cpp.
References ADD_PROPERTY, Base::Angle, Part::angleRangeU, and SketcherExample::f.
void * Part::Revolution::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 37 of file App/FeatureRevolution.cpp.
App::DocumentObjectExecReturn * Revolution::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 57 of file App/FeatureRevolution.cpp.
References Angle, Axis, FemExample::b, Base, Part::Feature::getClassTypeId(), Part::PropertyPartShape::getShape(), App::PropertyContainer::getTypeId(), App::PropertyFloat::getValue(), App::PropertyVector::getValue(), App::PropertyLink::getValue(), Base::Type::isDerivedFrom(), Part::TopoShape::revolve(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, Source, App::DocumentObject::StdReturn, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Base::Type Part::Revolution::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 37 of file App/FeatureRevolution.cpp.
const App::PropertyData & Part::Revolution::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 37 of file App/FeatureRevolution.cpp.
const App::PropertyData * Part::Revolution::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 37 of file App/FeatureRevolution.cpp.
Base::Type Part::Revolution::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 37 of file App/FeatureRevolution.cpp.
void Part::Revolution::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 37 of file App/FeatureRevolution.cpp.
Referenced by initPart().
short Revolution::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 48 of file App/FeatureRevolution.cpp.
References Axis, Base, App::Property::isTouched(), and Source.
Definition at line 43 of file App/FeatureRevolution.h.
Referenced by execute().
Definition at line 42 of file App/FeatureRevolution.h.
Referenced by execute(), and mustExecute().
Definition at line 41 of file App/FeatureRevolution.h.
Referenced by execute(), and mustExecute().
Definition at line 40 of file App/FeatureRevolution.h.
Referenced by execute(), and mustExecute().