#include <FeaturePad.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Pad () | |
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::PropertyBool | MirroredExtent |
App::PropertyBool | Reversed |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 34 of file FeaturePad.h.
Pad::Pad | ( | ) |
Definition at line 55 of file FeaturePad.cpp.
References ADD_PROPERTY, and Base::Length.
void * PartDesign::Pad::create | ( | void | ) | [static] |
Reimplemented from PartDesign::Additive.
Definition at line 53 of file FeaturePad.cpp.
App::DocumentObjectExecReturn * Pad::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 75 of file FeaturePad.cpp.
References PartDesign::Additive::AddShape, draftlibs::dxfLibrary::copy, Part::Feature::getClassTypeId(), Part::Part2DObject::getClassTypeId(), Base::Placement::getRotation(), PartDesign::Feature::getSolid(), App::PropertyContainer::getTypeId(), App::PropertyFloat::getValue(), App::PropertyBool::getValue(), App::PropertyLink::getValue(), Base::Type::isDerivedFrom(), Length, PartDesign::SketchBased::makeFace(), Base::Rotation::multVec(), App::GeoFeature::Placement, result, Reversed, Part::PropertyPartShape::setValue(), 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::Pad::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartDesign::Additive.
Definition at line 53 of file FeaturePad.cpp.
const App::PropertyData & PartDesign::Pad::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartDesign::Additive.
Definition at line 53 of file FeaturePad.cpp.
const App::PropertyData * PartDesign::Pad::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartDesign::Additive.
Definition at line 53 of file FeaturePad.cpp.
Base::Type PartDesign::Pad::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartDesign::Additive.
Definition at line 53 of file FeaturePad.cpp.
const char* PartDesign::Pad::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the view provider
Reimplemented from Part::Feature.
Definition at line 52 of file FeaturePad.h.
void PartDesign::Pad::init | ( | void | ) | [static] |
Reimplemented from PartDesign::Additive.
Definition at line 53 of file FeaturePad.cpp.
Referenced by initPartDesign().
short Pad::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 65 of file FeaturePad.cpp.
References App::Property::isTouched(), Length, MirroredExtent, Reversed, and PartDesign::SketchBased::Sketch.
Definition at line 41 of file FeaturePad.h.
Referenced by execute(), mustExecute(), and PartDesignGui::TaskPadParameters::TaskPadParameters().
Definition at line 44 of file FeaturePad.h.
Referenced by mustExecute(), and PartDesignGui::TaskPadParameters::TaskPadParameters().
Definition at line 43 of file FeaturePad.h.
Referenced by execute(), mustExecute(), and PartDesignGui::TaskPadParameters::TaskPadParameters().