#include <PrimitiveFeature.h>
Public Member Functions | |
Ellipsoid () | |
virtual Base::Type | getTypeId (void) const |
virtual const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
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 | Angle1 |
App::PropertyFloatConstraint | Angle2 |
App::PropertyFloatConstraint | Angle3 |
App::PropertyFloatConstraint | Radius1 |
App::PropertyFloatConstraint | Radius2 |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 111 of file PrimitiveFeature.h.
Ellipsoid::Ellipsoid | ( | void | ) |
Definition at line 282 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, Part::angleRangeU, Part::angleRangeV, SketcherExample::f, Part::floatRange, and App::Prop_None.
void * Part::Ellipsoid::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 280 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Ellipsoid::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 311 of file PrimitiveFeature.cpp.
References Angle1, Angle2, Angle3, App::PropertyFloat::getValue(), Radius1, Radius2, scale, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Ellipsoid::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 280 of file PrimitiveFeature.cpp.
Referenced by PartGui::ViewProviderEllipsoid::updateData().
const App::PropertyData & Part::Ellipsoid::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 280 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Ellipsoid::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 280 of file PrimitiveFeature.cpp.
Base::Type Part::Ellipsoid::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 280 of file PrimitiveFeature.cpp.
virtual const char* Part::Ellipsoid::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from Part::Feature.
Definition at line 130 of file PrimitiveFeature.h.
void Part::Ellipsoid::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 280 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Ellipsoid::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::Primitive.
Definition at line 296 of file PrimitiveFeature.cpp.
References Angle1, Angle2, Angle3, App::Property::isTouched(), Radius1, and Radius2.
Definition at line 120 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 121 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 122 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 118 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 119 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().