SHAPER  9.12.0
ModuleBase_Filter Class Referenceabstract

This object is assigned by the name in the XML file to the specific attribute or to the whole feature. More...

Public Member Functions

 ModuleBase_Filter ()
 Constructor. More...
 
 HandleggetFilter ()
 Returns an OCC selection filter. More...
 
virtual void setArguments (const std::list< std::string > &theArguments)=0
 Sets the arguments to the filter. More...
 

Protected Member Functions

virtual void createFilter ()=0
 It creates an internal instance of the OCC filter. More...
 

Protected Attributes

 HandlemmyFilter
 current instance of the OCC selection filter More...
 

Detailed Description

This object is assigned by the name in the XML file to the specific attribute or to the whole feature.

If isOK method of the filter returns "false", it is signalized in user interface that the processed entity should not be selected. Filterss must be registered in the filters factory to be correctly identified by the XML string-ID.

Constructor & Destructor Documentation

◆ ModuleBase_Filter()

ModuleBase_Filter::ModuleBase_Filter ( )
inline

Constructor.

Member Function Documentation

◆ HandleggetFilter()

ModuleBase_Filter::HandleggetFilter ( )

Returns an OCC selection filter.

It can be appended into the context of a viewer It creates a filter if it has not be created yet.

Returns
the selection filter

◆ setArguments()

virtual void ModuleBase_Filter::setArguments ( const std::list< std::string > &  theArguments)
pure virtual

Sets the arguments to the filter.

Parameters
theArgumentsa list of arguments

◆ createFilter()

virtual void ModuleBase_Filter::createFilter ( )
protectedpure virtual

It creates an internal instance of the OCC filter.

Field Documentation

◆ HandlemmyFilter

ModuleBase_Filter::HandlemmyFilter
protected

current instance of the OCC selection filter