SHAPER  9.15.0
PartSet_GlobalFilter Class Reference

A class which filters groups object in addition to documents (see issue #310) More...

Inheritance diagram for PartSet_GlobalFilter:
Inheritance graph

Public Member Functions

 PartSet_GlobalFilter (ModuleBase_IWorkshop *theWorkshop)
 Constructor. More...
 
virtual Standard_Boolean IsOk (const Handle &&theOwner) const
 Returns True if selected presentation can be selected. 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
 

Detailed Description

A class which filters groups object in addition to documents (see issue #310)

Constructor & Destructor Documentation

◆ PartSet_GlobalFilter()

PartSet_GlobalFilter::PartSet_GlobalFilter ( ModuleBase_IWorkshop theWorkshop)

Constructor.

Parameters
theWorkshopa pointer to workshop

Member Function Documentation

◆ IsOk()

Standard_Boolean PartSet_GlobalFilter::IsOk ( const Handle &&  theOwner) const
virtual

Returns True if selected presentation can be selected.

Parameters
theOwneran owner of the persentation

Reimplemented from ModuleBase_ShapeDocumentFilter.

◆ addNonSelectableType()

void ModuleBase_ShapeDocumentFilter::addNonSelectableType ( const QString &  theType)
inlineinherited

Add an object type name to list of non selectable objects.

Parameters
theType- a name of an object type

◆ removeNonSelectableType()

void ModuleBase_ShapeDocumentFilter::removeNonSelectableType ( const QString &  theType)
inlineinherited

Removes an object type name from list of non selectable objects.

Parameters
theType- a name of an object type

◆ nonSelectableTypes()

QStringList ModuleBase_ShapeDocumentFilter::nonSelectableTypes ( ) const
inlineinherited

Returns list of non-selectable an object type names.