#include <FeatureRevolution.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Revolution () | |
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::PropertyAngle | Angle |
App::PropertyVector | Axis |
App::PropertyVector | Base |
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 esign/App/FeatureRevolution.h.
PartDesign::Revolution::Revolution | ( | ) |
Definition at line 52 of file esign/App/FeatureRevolution.cpp.
References ADD_PROPERTY, Base::Angle, and SketcherExample::f.
void * PartDesign::Revolution::create | ( | void | ) | [static] |
Reimplemented from PartDesign::SketchBased.
Definition at line 50 of file esign/App/FeatureRevolution.cpp.
App::DocumentObjectExecReturn * PartDesign::Revolution::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 69 of file esign/App/FeatureRevolution.cpp.
References Angle, Axis, FemExample::b, Base, draftlibs::dxfLibrary::copy, Base::BoundBox3< _Precision >::Enlarge(), Part::Feature::getClassTypeId(), Part::Part2DObject::getClassTypeId(), Base::Placement::getRotation(), App::PropertyContainer::getTypeId(), App::PropertyFloat::getValue(), App::PropertyVector::getValue(), App::PropertyLink::getValue(), Base::Type::isDerivedFrom(), PartDesign::SketchBased::makeFace(), Base::BoundBox3< _Precision >::MaxX, Base::BoundBox3< _Precision >::MaxY, Base::BoundBox3< _Precision >::MaxZ, Base::Rotation::multVec(), App::GeoFeature::Placement, result, Part::Feature::Shape, PartDesign::SketchBased::Sketch, App::DocumentObject::StdReturn, Mesh2Shape::wires, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Base::Type PartDesign::Revolution::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartDesign::SketchBased.
Definition at line 50 of file esign/App/FeatureRevolution.cpp.
const App::PropertyData & PartDesign::Revolution::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartDesign::SketchBased.
Definition at line 50 of file esign/App/FeatureRevolution.cpp.
const App::PropertyData * PartDesign::Revolution::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartDesign::SketchBased.
Definition at line 50 of file esign/App/FeatureRevolution.cpp.
Base::Type PartDesign::Revolution::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartDesign::SketchBased.
Definition at line 50 of file esign/App/FeatureRevolution.cpp.
const char* PartDesign::Revolution::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the view provider
Reimplemented from Part::Feature.
Definition at line 50 of file esign/App/FeatureRevolution.h.
void PartDesign::Revolution::init | ( | void | ) | [static] |
Reimplemented from PartDesign::SketchBased.
Definition at line 50 of file esign/App/FeatureRevolution.cpp.
Referenced by initPartDesign().
short PartDesign::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 59 of file esign/App/FeatureRevolution.cpp.
References Angle, Axis, Base, App::Property::isTouched(), and PartDesign::SketchBased::Sketch.
Definition at line 42 of file esign/App/FeatureRevolution.h.
Referenced by execute(), mustExecute(), and PartDesignGui::TaskRevolutionParameters::TaskRevolutionParameters().
Definition at line 41 of file esign/App/FeatureRevolution.h.
Referenced by execute(), mustExecute(), and PartDesignGui::TaskRevolutionParameters::TaskRevolutionParameters().
Definition at line 40 of file esign/App/FeatureRevolution.h.
Referenced by execute(), and mustExecute().