Part::Primitive Class Reference

#include <PrimitiveFeature.h>

Inheritance diagram for Part::Primitive:
Part::Feature App::GeoFeature App::DocumentObject App::PropertyContainer Base::Persistence Base::BaseClass Part::Box Part::Circle Part::Cone Part::Cylinder Part::Ellipsoid Part::Helix Part::Plane Part::Sphere Part::Torus Part::Vertex Part::Wedge

List of all members.

Public Member Functions

virtual Base::Type getTypeId (void) const
 Primitive ()
virtual ~Primitive ()
methods override feature



App::DocumentObjectExecReturnexecute (void)=0
 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)

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (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::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Definition at line 33 of file PrimitiveFeature.h.


Constructor & Destructor Documentation

Primitive::Primitive ( void   ) 

Definition at line 81 of file PrimitiveFeature.cpp.

Primitive::~Primitive (  )  [virtual]

Definition at line 86 of file PrimitiveFeature.cpp.


Member Function Documentation

void * Part::Primitive::create ( void   )  [static]
App::DocumentObjectExecReturn* Part::Primitive::execute ( void   )  [pure virtual]
Base::Type Part::Primitive::getClassTypeId ( void   )  [static]
const App::PropertyData & Part::Primitive::getPropertyData ( void   )  const [protected, virtual]
const App::PropertyData * Part::Primitive::getPropertyDataPtr ( void   )  [static, protected]
Base::Type Part::Primitive::getTypeId ( void   )  const [virtual]
void Part::Primitive::init ( void   )  [static]
short Primitive::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.

Reimplemented in Part::Box, Part::Circle, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, and Part::Wedge.

Definition at line 90 of file PrimitiveFeature.cpp.

void Primitive::onChanged ( const App::Property prop  )  [protected, virtual]

get called by the container when a property was changed

Reimplemented from Part::Feature.

Reimplemented in Part::Box, Part::Circle, Part::Vertex, and Part::Wedge.

Definition at line 95 of file PrimitiveFeature.cpp.

References App::Property::getGroup(), App::DocumentObject::isRestoring(), and App::DocumentObject::recompute().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:36 2011 for FreeCAD by  doxygen 1.6.1