The inspection feature. More...
#include <InspectionFeature.h>
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::DocumentObjectExecReturn * | execute (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::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
The inspection feature.
Definition at line 161 of file InspectionFeature.h.
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.
void * Inspection::Feature::create | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 478 of file InspectionFeature.cpp.
App::DocumentObjectExecReturn * Feature::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from App::DocumentObject.
Definition at line 506 of file InspectionFeature.cpp.
References Actual, draftlibs::fcgeo::bind(), draftlibs::fcgeo::connect(), Base::Console(), RobotExampleTrajectoryOutOfShapes::count, Inspection::InspectActualGeometry::countPoints(), Distances, Part::Feature::getClassTypeId(), Points::Feature::getClassTypeId(), Mesh::Feature::getClassTypeId(), Inspection::InspectActualGeometry::getPoint(), App::PropertyContainer::getTypeId(), App::PropertyFloat::getValue(), App::PropertyLink::getValue(), App::PropertyLinkList::getValues(), Base::Type::isDerivedFrom(), App::DocumentObject::Label, DistanceInspection::mapped(), Mesh::Feature::Mesh, Mesh2Shape::mesh, Nominals, Points::Feature::Points, pts, SearchRadius, App::PropertyFloatList::setValues(), Part::Feature::Shape, and KDL::sqrt().
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.
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().