#include <PrimitiveFeature.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Wedge () | |
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::PropertyFloat | X2max |
App::PropertyFloat | X2min |
App::PropertyFloat | Xmax |
App::PropertyFloat | Xmin |
App::PropertyFloat | Ymax |
App::PropertyFloat | Ymin |
App::PropertyFloat | Z2max |
App::PropertyFloat | Z2min |
App::PropertyFloat | Zmax |
App::PropertyFloat | Zmin |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
void | onChanged (const App::Property *prop) |
get called by the container when a property was changed | |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 215 of file PrimitiveFeature.h.
Wedge::Wedge | ( | ) |
Definition at line 563 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, SketcherExample::f, and App::Prop_None.
void * Part::Wedge::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 561 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Wedge::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 593 of file PrimitiveFeature.cpp.
References App::PropertyFloat::getValue(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, App::DocumentObject::StdReturn, X2max, X2min, Xmax, Xmin, Ymax, Ymin, Z2max, Z2min, Zmax, and Zmin.
Base::Type Part::Wedge::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 561 of file PrimitiveFeature.cpp.
const App::PropertyData & Part::Wedge::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 561 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Wedge::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 561 of file PrimitiveFeature.cpp.
Base::Type Part::Wedge::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 561 of file PrimitiveFeature.cpp.
void Part::Wedge::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 561 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Wedge::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 577 of file PrimitiveFeature.cpp.
References App::Property::isTouched(), X2max, X2min, Xmax, Xmin, Ymax, Ymin, Z2max, Z2min, Zmax, and Zmin.
void Wedge::onChanged | ( | const App::Property * | prop | ) | [protected, virtual] |
get called by the container when a property was changed
Reimplemented from Part::Primitive.
Definition at line 646 of file PrimitiveFeature.cpp.
References App::DocumentObject::isRestoring(), App::DocumentObject::recompute(), X2max, X2min, Xmax, Xmin, Ymax, Ymin, Z2max, Z2min, Zmax, and Zmin.
Definition at line 231 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 226 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 227 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 222 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 228 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 223 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 230 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 225 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 229 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 224 of file PrimitiveFeature.h.
Referenced by execute(), mustExecute(), and onChanged().