Version: 9.12.0
GEOM_SelectionFilter Class Reference

#include <GEOM_SelectionFilter.h>

Inheritance diagram for GEOM_SelectionFilter:
Inheritance graph

Public Member Functions

 GEOM_SelectionFilter (SalomeApp_Study *study, const bool theAll=false)
 
 ~GEOM_SelectionFilter ()
 
virtual bool isOk (const SUIT_DataOwner *) const
 

Protected Member Functions

GEOM::GEOM_Object_ptr getObject (const SUIT_DataOwner *, const bool=true) const
 
bool getShape (const GEOM::GEOM_Object_ptr &, TopoDS_Shape &) const
 
bool contains (const int) const
 
void add (const int)
 
void remove (const int)
 
void setAll (const bool)
 
bool isAll () const
 
bool isShapeOk (const TopoDS_Shape &) const
 

Private Attributes

QList< int > myTypes
 
bool myAll
 

Constructor & Destructor Documentation

◆ GEOM_SelectionFilter()

GEOM_SelectionFilter::GEOM_SelectionFilter ( SalomeApp_Study *  study,
const bool  theAll = false 
)

References myAll.

◆ ~GEOM_SelectionFilter()

GEOM_SelectionFilter::~GEOM_SelectionFilter ( )

Member Function Documentation

◆ add()

void GEOM_SelectionFilter::add ( const int  type)
protected

References contains(), and myTypes.

◆ contains()

bool GEOM_SelectionFilter::contains ( const int  type) const
protected

References myTypes.

◆ getObject()

GEOM::GEOM_Object_ptr GEOM_SelectionFilter::getObject ( const SUIT_DataOwner *  sOwner,
const bool  extractReference = true 
) const
protected

◆ getShape()

bool GEOM_SelectionFilter::getShape ( const GEOM::GEOM_Object_ptr &  theObject,
TopoDS_Shape &  theShape 
) const
protected

◆ isAll()

bool GEOM_SelectionFilter::isAll ( ) const
protected

References myAll.

◆ isOk()

bool GEOM_SelectionFilter::isOk ( const SUIT_DataOwner *  sOwner) const
virtual

◆ isShapeOk()

bool GEOM_SelectionFilter::isShapeOk ( const TopoDS_Shape &  ) const
protected

◆ remove()

void GEOM_SelectionFilter::remove ( const int  type)
protected

References contains(), and myTypes.

◆ setAll()

void GEOM_SelectionFilter::setAll ( const bool  all)
protected

References myAll.

Member Data Documentation

◆ myAll

bool GEOM_SelectionFilter::myAll
private

◆ myTypes

QList<int> GEOM_SelectionFilter::myTypes
private

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