SelectionGate The selection gate allows or disallows selection of certain types. More...
#include <Selection.h>
Public Member Functions | |
virtual bool | allow (App::Document *, App::DocumentObject *, const char *)=0 |
SelectionGate The selection gate allows or disallows selection of certain types.
It has to be registered to the selection.
Definition at line 176 of file Selection.h.
virtual bool Gui::SelectionGate::allow | ( | App::Document * | , | |
App::DocumentObject * | , | |||
const char * | ||||
) | [pure virtual] |
Implemented in Gui::SelectionFilterGate, PartGui::EdgeSelection, PartGui::FaceSelection, PartGui::ShapeSelection, PartDesignGui::EdgeSelection, SketcherGui::FilletSelection, and SketcherGui::TrimmingSelection.
Referenced by Gui::SelectionSingleton::addSelection(), and Gui::SelectionSingleton::setPreselect().