Inspection::Feature Class Reference

The inspection feature. More...

#include <InspectionFeature.h>

Inheritance diagram for Inspection::Feature:
App::DocumentObject App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

 Feature (void)
 Constructor.
virtual Base::Type getTypeId (void) const
const char * getViewProviderName (void) const
 returns the type name of the ViewProvider
virtual ~Feature ()
Actions



App::DocumentObjectExecReturnexecute (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

Properties



App::PropertyLink Actual
App::PropertyFloatList Distances
App::PropertyLinkList Nominals
App::PropertyFloat SearchRadius
App::PropertyFloat Thickness

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

The inspection feature.

Author:
Werner Mayer

Definition at line 161 of file InspectionFeature.h.


Constructor & Destructor Documentation

Feature::Feature ( void   ) 

Constructor.

Definition at line 480 of file InspectionFeature.cpp.

References ADD_PROPERTY, and SketcherExample::f.

Feature::~Feature (  )  [virtual]

Definition at line 489 of file InspectionFeature.cpp.


Member Function Documentation

void * Inspection::Feature::create ( void   )  [static]

Reimplemented from App::PropertyContainer.

Definition at line 478 of file InspectionFeature.cpp.

App::DocumentObjectExecReturn * Feature::execute ( void   )  [virtual]
Base::Type Inspection::Feature::getClassTypeId ( void   )  [static]

Reimplemented from App::PropertyContainer.

Definition at line 478 of file InspectionFeature.cpp.

Referenced by CmdInspectElement::isActive().

const App::PropertyData & Inspection::Feature::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from App::PropertyContainer.

Definition at line 478 of file InspectionFeature.cpp.

const App::PropertyData * Inspection::Feature::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from App::PropertyContainer.

Definition at line 478 of file InspectionFeature.cpp.

Base::Type Inspection::Feature::getTypeId ( void   )  const [virtual]

Reimplemented from App::PropertyContainer.

Definition at line 478 of file InspectionFeature.cpp.

const char* Inspection::Feature::getViewProviderName ( void   )  const [inline, virtual]

returns the type name of the ViewProvider

Reimplemented from App::DocumentObject.

Definition at line 187 of file InspectionFeature.h.

void Inspection::Feature::init ( void   )  [static]

Reimplemented from App::PropertyContainer.

Definition at line 478 of file InspectionFeature.cpp.

Referenced by initInspection().

short Feature::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 App::DocumentObject.

Definition at line 493 of file InspectionFeature.cpp.

References Actual, App::Property::isTouched(), Nominals, SearchRadius, and Thickness.


Member Data Documentation

Definition at line 174 of file InspectionFeature.h.

Referenced by execute(), and mustExecute().

Definition at line 176 of file InspectionFeature.h.

Referenced by execute().

Definition at line 175 of file InspectionFeature.h.

Referenced by execute(), and mustExecute().

Definition at line 172 of file InspectionFeature.h.

Referenced by execute(), and mustExecute().

Definition at line 173 of file InspectionFeature.h.

Referenced by mustExecute().


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

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