#include <FeatureMirroring.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Mirroring () | |
methods override feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the feature | |
const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
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::PropertyVector | Base |
App::PropertyVector | Normal |
App::PropertyLink | Source |
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 34 of file FeatureMirroring.h.
Mirroring::Mirroring | ( | ) |
Definition at line 42 of file FeatureMirroring.cpp.
References ADD_PROPERTY, ADD_PROPERTY_TYPE, and App::Prop_None.
void * Part::Mirroring::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 40 of file FeatureMirroring.cpp.
App::DocumentObjectExecReturn * Mirroring::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 75 of file FeatureMirroring.cpp.
References Base, Part::Feature::getClassTypeId(), Part::PropertyPartShape::getShape(), App::PropertyContainer::getTypeId(), App::PropertyVector::getValue(), App::PropertyLink::getValue(), Base::Type::isDerivedFrom(), Part::TopoShape::mirror(), Normal, Part::PropertyPartShape::setValue(), Part::Feature::Shape, Source, App::DocumentObject::StdReturn, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Base::Type Part::Mirroring::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 40 of file FeatureMirroring.cpp.
const App::PropertyData & Part::Mirroring::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 40 of file FeatureMirroring.cpp.
const App::PropertyData * Part::Mirroring::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 40 of file FeatureMirroring.cpp.
Base::Type Part::Mirroring::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 40 of file FeatureMirroring.cpp.
const char* Part::Mirroring::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from Part::Feature.
Definition at line 51 of file FeatureMirroring.h.
void Part::Mirroring::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 40 of file FeatureMirroring.cpp.
Referenced by initPart().
short Mirroring::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 49 of file FeatureMirroring.cpp.
References Base, App::Property::isTouched(), Normal, and Source.
void Mirroring::onChanged | ( | const App::Property * | prop | ) | [protected, virtual] |
get called by the container when a property was changed
Reimplemented from Part::Feature.
Definition at line 60 of file FeatureMirroring.cpp.
References Base, App::DocumentObject::isRestoring(), Normal, and App::DocumentObject::recompute().
Definition at line 42 of file FeatureMirroring.h.
Referenced by execute(), mustExecute(), onChanged(), PartGui::ViewProviderMirror::setEdit(), and PartGui::ViewProviderMirror::unsetEdit().
Definition at line 43 of file FeatureMirroring.h.
Referenced by execute(), mustExecute(), onChanged(), PartGui::ViewProviderMirror::setEdit(), and PartGui::ViewProviderMirror::unsetEdit().
Definition at line 41 of file FeatureMirroring.h.
Referenced by execute(), and mustExecute().