SHAPER  9.12.0
ModuleBase_FilterValidated Class Reference

A filter which provides filtering of selection in 3d viewer. More...

Inheritance diagram for ModuleBase_FilterValidated:
Inheritance graph

Public Member Functions

 ModuleBase_FilterValidated (ModuleBase_IWorkshop *theWorkshop)
 Constructor. More...
 
virtual Standard_Boolean IsOk (const Handle &&theOwner) const
 Returns true if the owner is computed from decomposition (it is global selection, not the sub-shapes) of if the selected result is a construction and the result feature is composite and has sub-elements. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ModuleBase_FilterValidated()

ModuleBase_FilterValidated::ModuleBase_FilterValidated ( ModuleBase_IWorkshop theWorkshop)
inline

Constructor.

Parameters
theWorkshopinstance of workshop interface

Member Function Documentation

◆ IsOk()

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

Returns true if the owner is computed from decomposition (it is global selection, not the sub-shapes) of if the selected result is a construction and the result feature is composite and has sub-elements.

Parameters
theOwnerthe result of selection
Returns
whether the owner is selectable in the viewer