#include <FeaturePartBoolean.h>
Public Member Functions | |
Boolean () | |
virtual Base::Type | getTypeId (void) const |
const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
methods overide 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::PropertyLink | Base |
App::PropertyLink | Tool |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
virtual TopoDS_Shape | runOperation (const TopoDS_Shape &, const TopoDS_Shape &) const =0 |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 33 of file FeaturePartBoolean.h.
Boolean::Boolean | ( | void | ) |
Definition at line 36 of file FeaturePartBoolean.cpp.
References ADD_PROPERTY.
void * Part::Boolean::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in Part::Common, Part::Cut, Part::Fuse, and Part::Section.
Definition at line 33 of file FeaturePartBoolean.cpp.
App::DocumentObjectExecReturn * Boolean::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Part::Feature.
Definition at line 53 of file FeaturePartBoolean.cpp.
References Base, Part::PropertyPartShape::getValue(), App::PropertyLink::getValue(), runOperation(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, App::DocumentObject::StdReturn, and Tool.
Base::Type Part::Boolean::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in Part::Common, Part::Cut, Part::Fuse, and Part::Section.
Definition at line 33 of file FeaturePartBoolean.cpp.
const App::PropertyData & Part::Boolean::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Reimplemented in Part::Common, Part::Cut, Part::Fuse, and Part::Section.
Definition at line 33 of file FeaturePartBoolean.cpp.
const App::PropertyData * Part::Boolean::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Reimplemented in Part::Common, Part::Cut, Part::Fuse, and Part::Section.
Definition at line 33 of file FeaturePartBoolean.cpp.
Base::Type Part::Boolean::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Reimplemented in Part::Common, Part::Cut, Part::Fuse, and Part::Section.
Definition at line 33 of file FeaturePartBoolean.cpp.
const char* Part::Boolean::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from Part::Feature.
Definition at line 51 of file FeaturePartBoolean.h.
void Part::Boolean::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in Part::Common, Part::Cut, Part::Fuse, and Part::Section.
Definition at line 33 of file FeaturePartBoolean.cpp.
Referenced by initPart().
short Boolean::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 42 of file FeaturePartBoolean.cpp.
References Base, App::PropertyLink::getValue(), App::Property::isTouched(), and Tool.
virtual TopoDS_Shape Part::Boolean::runOperation | ( | const TopoDS_Shape & | , | |
const TopoDS_Shape & | ||||
) | const [protected, pure virtual] |
Implemented in Part::Common, Part::Cut, Part::Fuse, and Part::Section.
Referenced by execute().
Definition at line 40 of file FeaturePartBoolean.h.
Referenced by execute(), and mustExecute().
Definition at line 41 of file FeaturePartBoolean.h.
Referenced by execute(), and mustExecute().