#include <PrimitiveFeature.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Torus () | |
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 174 of file PrimitiveFeature.h.
Torus::Torus | ( | void | ) |
Definition at line 446 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, Part::angleRangeU, Part::floatRange, App::Prop_None, and Part::torusRangeV.
void * Part::Torus::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 444 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Torus::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 475 of file PrimitiveFeature.cpp.
References Angle1, Angle2, Angle3, App::PropertyFloat::getValue(), RobotExample::pos, Radius1, Radius2, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Torus::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 444 of file PrimitiveFeature.cpp.
const App::PropertyData & Part::Torus::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 444 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Torus::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 444 of file PrimitiveFeature.cpp.
Base::Type Part::Torus::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 444 of file PrimitiveFeature.cpp.
void Part::Torus::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 444 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Torus::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 460 of file PrimitiveFeature.cpp.
References Angle1, Angle2, Angle3, App::Property::isTouched(), Radius1, and Radius2.
Definition at line 183 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 184 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 185 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 181 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 182 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().