Filter object for the SelectionSengleton This object is a link between the selection filter class and the selection singleton. More...
#include <SelectionFilter.h>
Public Member Functions | |
virtual bool | allow (App::Document *, App::DocumentObject *, const char *) |
SelectionFilterGate (const char *filter) | |
construct with the filter string More... | |
SelectionFilterGate (SelectionFilter *filter) | |
~SelectionFilterGate () | |
Public Member Functions inherited from Gui::SelectionGate | |
virtual | ~SelectionGate () |
Protected Member Functions | |
SelectionFilterGate () | |
Protected Attributes | |
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... | |
Detailed Description
Filter object for the SelectionSengleton This object is a link between the selection filter class and the selection singleton.
Created with a filter string and registered in the selection it will only allow the described object types to be selected.
- See also
- SelectionFilter
- SelectionSingleton
Constructor & Destructor Documentation
◆ SelectionFilterGate() [1/3]
SelectionFilterGate::SelectionFilterGate | ( | const char * | filter | ) |
construct with the filter string
References Filter.
◆ SelectionFilterGate() [2/3]
SelectionFilterGate::SelectionFilterGate | ( | SelectionFilter * | filter | ) |
References Filter.
◆ ~SelectionFilterGate()
SelectionFilterGate::~SelectionFilterGate | ( | ) |
References Filter.
◆ SelectionFilterGate() [3/3]
|
protected |
References Filter.
Member Function Documentation
◆ allow()
|
virtual |
Implements Gui::SelectionGate.
Reimplemented in PartDesignGui::CombineSelectionFilterGates, PartDesignGui::NoDependentsSelection, SketcherGui::CarbonCopySelection, SketcherGui::ExternalSelection, SurfaceGui::GeomFillSurface::EdgeSelection, PartDesignGui::ReferenceSelection, FemGui::FemSelectionGate, SketcherGui::ExtendSelection, SketcherGui::TrimmingSelection, SketcherGui::FilletSelection, SketcherGui::GenericConstraintSelection, SurfaceGui::FillingPanel::ShapeSelection, PartGui::EdgeFaceSelection, PartGui::SweepWidget::Private::EdgeSelection, PartGui::FaceSelection, PartGui::ThicknessWidget::Private::FaceSelection, PartGui::DlgExtrusion::EdgeSelection, PartGui::DlgRevolution::EdgeSelection, SurfaceGui::FillingUnboundPanel::ShapeSelection, SurfaceGui::FillingVertexPanel::VertexSelection, PartGui::ShapeSelection, PartGui::DlgProjectionOnSurface::FaceSelection, PartGui::DlgProjectionOnSurface::EdgeSelection, and PartGui::BoxSelection::FaceSelectionGate.
References Filter, and Gui::SelectionFilter::test().
Member Data Documentation
◆ Filter
|
protected |
Referenced by allow(), SelectionFilterGate(), and ~SelectionFilterGate().
The documentation for this class was generated from the following files:
- src/Gui/SelectionFilter.h
- src/Gui/SelectionFilter.cpp