#include <PrimitiveFeature.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Vertex () | |
virtual | ~Vertex () |
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. | |
void | onChanged (const App::Property *) |
get called by the container when a property was changed | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyFloat | X |
App::PropertyFloat | Y |
App::PropertyFloat | Z |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 52 of file PrimitiveFeature.h.
Vertex::Vertex | ( | ) |
Definition at line 115 of file PrimitiveFeature.cpp.
References ADD_PROPERTY, and SketcherExample::f.
Vertex::~Vertex | ( | ) | [virtual] |
Definition at line 122 of file PrimitiveFeature.cpp.
void * Part::Vertex::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 113 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Vertex::execute | ( | void | ) | [virtual] |
recalculate the Feature
Implements Part::Primitive.
Definition at line 135 of file PrimitiveFeature.cpp.
References App::PropertyFloat::getValue(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, App::DocumentObject::StdReturn, X, Y, and Z.
Base::Type Part::Vertex::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 113 of file PrimitiveFeature.cpp.
const App::PropertyData & Part::Vertex::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 113 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Vertex::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 113 of file PrimitiveFeature.cpp.
Base::Type Part::Vertex::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 113 of file PrimitiveFeature.cpp.
void Part::Vertex::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 113 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Vertex::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 126 of file PrimitiveFeature.cpp.
References App::Property::isTouched(), X, Y, and Z.
void Vertex::onChanged | ( | const App::Property * | prop | ) | [virtual] |
get called by the container when a property was changed
Reimplemented from Part::Primitive.
Definition at line 150 of file PrimitiveFeature.cpp.
References App::DocumentObject::isRestoring(), App::DocumentObject::recompute(), X, Y, and Z.
Definition at line 60 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 61 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 62 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().