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 (SelectionFilter *filter) | |
| SelectionFilterGate (const char *filter) | |
| construct with the filter string | |
| ~SelectionFilterGate () | |
Protected Attributes | |
| SelectionFilter * | Filter |
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 descibed object types to be selected.
Definition at line 99 of file SelectionFilter.h.
| SelectionFilterGate::SelectionFilterGate | ( | const char * | filter | ) |
construct with the filter string
Definition at line 54 of file SelectionFilter.cpp.
References Filter.
| SelectionFilterGate::SelectionFilterGate | ( | SelectionFilter * | filter | ) |
Definition at line 59 of file SelectionFilter.cpp.
References Filter.
| SelectionFilterGate::~SelectionFilterGate | ( | ) |
Definition at line 64 of file SelectionFilter.cpp.
References Filter.
| bool SelectionFilterGate::allow | ( | App::Document * | pDoc, | |
| App::DocumentObject * | pObj, | |||
| const char * | sSubName | |||
| ) | [virtual] |
Implements Gui::SelectionGate.
Reimplemented in PartGui::EdgeSelection, PartGui::FaceSelection, PartGui::ShapeSelection, PartDesignGui::EdgeSelection, SketcherGui::FilletSelection, and SketcherGui::TrimmingSelection.
Definition at line 69 of file SelectionFilter.cpp.
References Filter, and Gui::SelectionFilter::test().
SelectionFilter* Gui::SelectionFilterGate::Filter [protected] |
Definition at line 109 of file SelectionFilter.h.
Referenced by allow(), SelectionFilterGate(), and ~SelectionFilterGate().
1.6.1