SHAPER
9.12.0
|
A filter which provides filtering of selection in 3d viewer. More...
Public Member Functions | |
ModuleBase_ShapeDocumentFilter (ModuleBase_IWorkshop *theWorkshop) | |
Constructor. More... | |
virtual Standard_Boolean | IsOk (const Handle &&theOwner) const |
Returns True if the given owner is acceptable for selection. More... | |
void | addNonSelectableType (const QString &theType) |
Add an object type name to list of non selectable objects. More... | |
void | removeNonSelectableType (const QString &theType) |
Removes an object type name from list of non selectable objects. More... | |
QStringList | nonSelectableTypes () const |
Returns list of non-selectable an object type names. More... | |
Data Fields | |
DEFINE_STANDARD_RTTIEXT(ModuleBase_ShapeDocumentFilter, SelectMgr_Filter) protected QStringList | myNonSelectableTypes |
A filter which provides filtering of selection in 3d viewer.
Installing of this filter lets to select objects which belong to currently active document or to global document
|
inline |
Constructor.
theWorkshop | instance of workshop interface |
|
virtual |
Returns True if the given owner is acceptable for selection.
theOwner | the selected owner |
Reimplemented in PartSet_GlobalFilter.
|
inline |
Add an object type name to list of non selectable objects.
theType | - a name of an object type |
|
inline |
Removes an object type name from list of non selectable objects.
theType | - a name of an object type |
|
inline |
Returns list of non-selectable an object type names.