Part::Vertex Class Reference

#include <PrimitiveFeature.h>

Inheritance diagram for Part::Vertex:
Part::Primitive Part::Feature App::GeoFeature App::DocumentObject App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

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



App::DocumentObjectExecReturnexecute (void)
 recalculate the Feature
short mustExecute () const
 mustExecute We call this method to check if the object was modified to be invoked.
void onChanged (const App::Property *)
 get called by the container when a property was changed

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Public Attributes

App::PropertyFloat X
App::PropertyFloat Y
App::PropertyFloat Z

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Definition at line 52 of file PrimitiveFeature.h.


Constructor & Destructor Documentation

Vertex::Vertex (  ) 

Definition at line 115 of file PrimitiveFeature.cpp.

References ADD_PROPERTY, and SketcherExample::f.

Vertex::~Vertex (  )  [virtual]

Definition at line 122 of file PrimitiveFeature.cpp.


Member Function Documentation

void * Part::Vertex::create ( void   )  [static]

Reimplemented from Part::Primitive.

Definition at line 113 of file PrimitiveFeature.cpp.

App::DocumentObjectExecReturn * Vertex::execute ( void   )  [virtual]
Base::Type Part::Vertex::getClassTypeId ( void   )  [static]

Reimplemented from Part::Primitive.

Definition at line 113 of file PrimitiveFeature.cpp.

const App::PropertyData & Part::Vertex::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from Part::Primitive.

Definition at line 113 of file PrimitiveFeature.cpp.

const App::PropertyData * Part::Vertex::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from Part::Primitive.

Definition at line 113 of file PrimitiveFeature.cpp.

Base::Type Part::Vertex::getTypeId ( void   )  const [virtual]

Reimplemented from Part::Primitive.

Definition at line 113 of file PrimitiveFeature.cpp.

void Part::Vertex::init ( void   )  [static]

Reimplemented from Part::Primitive.

Definition at line 113 of file PrimitiveFeature.cpp.

Referenced by initPart().

short Vertex::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::Primitive.

Definition at line 126 of file PrimitiveFeature.cpp.

References App::Property::isTouched(), X, Y, and Z.

void Vertex::onChanged ( const App::Property prop  )  [virtual]

get called by the container when a property was changed

Reimplemented from Part::Primitive.

Definition at line 150 of file PrimitiveFeature.cpp.

References App::DocumentObject::isRestoring(), App::DocumentObject::recompute(), X, Y, and Z.


Member Data Documentation

Definition at line 60 of file PrimitiveFeature.h.

Referenced by execute(), mustExecute(), and onChanged().

Definition at line 61 of file PrimitiveFeature.h.

Referenced by execute(), mustExecute(), and onChanged().

Definition at line 62 of file PrimitiveFeature.h.

Referenced by execute(), mustExecute(), and onChanged().


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

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