Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
SelectMgr_CompositionFilter Class Reference

A framework to define a compound filter composed of
two or more simple filters.

#include <SelectMgr_CompositionFilter.hxx>

Inheritance diagram for SelectMgr_CompositionFilter:
Inheritance graph
[legend]

Public Member Functions

void Add (const Handle< SelectMgr_Filter > &afilter)
 Adds the filter afilter to a filter object created by a
filter class inheriting this framework.

void Remove (const Handle< SelectMgr_Filter > &aFilter)
 Removes the filter aFilter from this framework.

Standard_Boolean IsEmpty () const
 Returns true if this framework is empty.

Standard_Boolean IsIn (const Handle< SelectMgr_Filter > &aFilter) const
 Returns true if the filter aFilter is in this framework.

const SelectMgr_ListOfFilterStoredFilters () const
 Returns the list of stored filters from this framework.

void Clear ()
 Clears the filters used in this framework.

virtual Standard_Boolean ActsOn (const TopAbs_ShapeEnum aStandardMode) const
 Returns true in an AIS local context, if this filter
operates on a type of subshape defined in a filter
class inheriting this framework.
This function completes IsOk in an AIS local context.

Protected Attributes

SelectMgr_ListOfFilter myFilters

Member Function Documentation

virtual Standard_Boolean SelectMgr_CompositionFilter::ActsOn ( const TopAbs_ShapeEnum  aStandardMode) const [virtual]

Reimplemented from SelectMgr_Filter.


Field Documentation


The documentation for this class was generated from the following file: