App::MeasureDistance Class Reference

#include <MeasureDistance.h>

Inheritance diagram for App::MeasureDistance:
App::DocumentObject App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

virtual DocumentObjectExecReturnexecute (void)
 recalculate the object
const char * getViewProviderName (void) const
 returns the type name of the ViewProvider
 MeasureDistance (void)
 Constructor.
virtual ~MeasureDistance ()

Public Attributes

App::PropertyDistance Distance
App::PropertyVector P1
App::PropertyVector P2

Protected Member Functions

virtual void onChanged (const Property *prop)
 get called by the container when a property was changed

Detailed Description

Definition at line 35 of file MeasureDistance.h.


Constructor & Destructor Documentation

MeasureDistance::MeasureDistance ( void   ) 
MeasureDistance::~MeasureDistance (  )  [virtual]

Definition at line 45 of file MeasureDistance.cpp.


Member Function Documentation

DocumentObjectExecReturn * MeasureDistance::execute ( void   )  [virtual]
const char* App::MeasureDistance::getViewProviderName ( void   )  const [inline, virtual]

returns the type name of the ViewProvider

Reimplemented from App::DocumentObject.

Definition at line 52 of file MeasureDistance.h.

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

get called by the container when a property was changed

Reimplemented from App::DocumentObject.

Definition at line 55 of file MeasureDistance.cpp.

References App::DocumentObject::isRestoring(), P1, P2, and App::DocumentObject::recompute().


Member Data Documentation

Definition at line 46 of file MeasureDistance.h.

Referenced by Gui::PointMarker::customEvent(), and execute().

Definition at line 44 of file MeasureDistance.h.

Referenced by Gui::PointMarker::customEvent(), execute(), and onChanged().

Definition at line 45 of file MeasureDistance.h.

Referenced by Gui::PointMarker::customEvent(), execute(), and onChanged().


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

Generated on Wed Nov 23 19:01:43 2011 for FreeCAD by  doxygen 1.6.1