PartDesign feature Base class of all PartDesign features. More...
#include <Feature.h>
Public Member Functions | |
Feature () | |
Constructor. | |
virtual Base::Type | getTypeId (void) const |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
TopoDS_Shape | getSolid (const TopoDS_Shape &) const |
Get a solid of the given shape. | |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
PartDesign feature Base class of all PartDesign features.
This kind of features only produce solids or fail.
Definition at line 39 of file Feature.h.
PartDesign::Feature::Feature | ( | void | ) |
void * PartDesign::Feature::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, and PartDesign::Subtractive.
Definition at line 39 of file Feature.cpp.
Base::Type PartDesign::Feature::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, and PartDesign::Subtractive.
Definition at line 39 of file Feature.cpp.
const App::PropertyData & PartDesign::Feature::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, and PartDesign::Subtractive.
Definition at line 39 of file Feature.cpp.
const App::PropertyData * PartDesign::Feature::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, and PartDesign::Subtractive.
Definition at line 39 of file Feature.cpp.
TopoDS_Shape PartDesign::Feature::getSolid | ( | const TopoDS_Shape & | shape | ) | const [protected] |
Get a solid of the given shape.
If no solid is found an exception is raised.
Definition at line 45 of file Feature.cpp.
Referenced by PartDesign::Pocket::execute(), and PartDesign::Pad::execute().
Base::Type PartDesign::Feature::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, and PartDesign::Subtractive.
Definition at line 39 of file Feature.cpp.
void PartDesign::Feature::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, and PartDesign::Subtractive.
Definition at line 39 of file Feature.cpp.
Referenced by initPartDesign().