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) | |
![]() | |
SelectionFilterGate (const char *filter) | |
construct with the filter string More... | |
SelectionFilterGate (SelectionFilter *filter) | |
~SelectionFilterGate () | |
![]() | |
virtual ~SelectionGate () | |
Protected Attributes | |
int allowedSelTypes | |
![]() | |
SelectionFilter * Filter | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
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