#include <FeaturePocket.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Pocket () | |
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::PropertyLength | Length |
App::PropertyEnumeration | Type |
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 FeaturePocket.h.
Pocket::Pocket | ( | ) |
Definition at line 57 of file FeaturePocket.cpp.
References ADD_PROPERTY, and Base::Length.
void * PartDesign::Pocket::create | ( | void | ) | [static] |
Reimplemented from PartDesign::Subtractive.
Definition at line 55 of file FeaturePocket.cpp.
App::DocumentObjectExecReturn * Pocket::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 72 of file FeaturePocket.cpp.
References draftlibs::dxfLibrary::copy, Part::Feature::getClassTypeId(), Part::Part2DObject::getClassTypeId(), Base::Placement::getRotation(), PartDesign::Feature::getSolid(), App::PropertyContainer::getTypeId(), App::PropertyFloat::getValue(), App::PropertyLink::getValue(), Base::Type::isDerivedFrom(), Length, PartDesign::SketchBased::makeFace(), Base::Rotation::multVec(), App::GeoFeature::Placement, Part::Feature::Shape, PartDesign::SketchBased::Sketch, App::DocumentObject::StdReturn, draftlibs::fcgeo::vec(), Mesh2Shape::wires, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Base::Type PartDesign::Pocket::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartDesign::Subtractive.
Definition at line 55 of file FeaturePocket.cpp.
const App::PropertyData & PartDesign::Pocket::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartDesign::Subtractive.
Definition at line 55 of file FeaturePocket.cpp.
const App::PropertyData * PartDesign::Pocket::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartDesign::Subtractive.
Definition at line 55 of file FeaturePocket.cpp.
Base::Type PartDesign::Pocket::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartDesign::Subtractive.
Definition at line 55 of file FeaturePocket.cpp.
const char* PartDesign::Pocket::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the view provider
Reimplemented from Part::Feature.
Definition at line 49 of file FeaturePocket.h.
void PartDesign::Pocket::init | ( | void | ) | [static] |
Reimplemented from PartDesign::Subtractive.
Definition at line 55 of file FeaturePocket.cpp.
Referenced by initPartDesign().
short Pocket::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 64 of file FeaturePocket.cpp.
References App::Property::isTouched(), Length, and PartDesign::SketchBased::Sketch.
Definition at line 41 of file FeaturePocket.h.
Referenced by execute(), mustExecute(), and PartDesignGui::TaskPocketParameters::TaskPocketParameters().
Definition at line 40 of file FeaturePocket.h.