SketcherGui::GenericConstraintSelection Class Reference
The GenericConstraintSelection class SelectionFilterGate with changeable filters. More...
Public Member Functions | |
| bool | allow (App::Document *, App::DocumentObject *pObj, const char *sSubName) |
| GenericConstraintSelection (App::DocumentObject *obj) | |
| void | setAllowedSelTypes (unsigned int types) |
Public Member Functions inherited from Gui::SelectionFilterGate | |
| SelectionFilterGate (const char *filter) | |
| construct with the filter string More... | |
| SelectionFilterGate (SelectionFilter *filter) | |
| ~SelectionFilterGate () | |
Public Member Functions inherited from Gui::SelectionGate | |
| virtual | ~SelectionGate () |
Protected Attributes | |
| int | allowedSelTypes |
Protected Attributes inherited from Gui::SelectionFilterGate | |
| SelectionFilter * | Filter |
Additional Inherited Members | |
Public Attributes inherited from Gui::SelectionGate | |
| std::string | notAllowedReason |
| notAllowedReason is a string that sets the message to be displayed in statusbar for cluing the user on why is the selection not allowed. More... | |
Protected Member Functions inherited from Gui::SelectionFilterGate | |
| SelectionFilterGate () | |
Detailed Description
The GenericConstraintSelection class SelectionFilterGate with changeable filters.
In a constraint creation mode like point on object, if the first selection object can be a point, the next has to be a curve for the constraint to make sense. Thus filters are changeable so that same filter can be kept on while in one mode.
Constructor & Destructor Documentation
◆ GenericConstraintSelection()
| SketcherGui::GenericConstraintSelection::GenericConstraintSelection | ( | App::DocumentObject * | obj | ) |
Member Function Documentation
◆ allow()
|
virtual |
◆ setAllowedSelTypes()
| void SketcherGui::GenericConstraintSelection::setAllowedSelTypes | ( | unsigned int | types | ) |
Member Data Documentation
◆ allowedSelTypes
|
protected |
The documentation for this class was generated from the following file:
- src/Mod/Sketcher/Gui/CommandConstraints.cpp
Public Member Functions inherited from
1.8.17