GEOM_TypeFilter Class Reference

#include <GEOM_TypeFilter.h>

Inheritance diagram for GEOM_TypeFilter:

Inheritance graph

Public Member Functions

 GEOM_TypeFilter (SalomeApp_Study *study, const int type, const bool isShapeType=false)
 ~GEOM_TypeFilter ()
virtual bool isOk (const SUIT_DataOwner *) const
int type () 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

int myType
bool myIsShapeType

Constructor & Destructor Documentation

GEOM_TypeFilter::GEOM_TypeFilter SalomeApp_Study *  study,
const int  type,
const bool  isShapeType = false
 

GEOM_TypeFilter::~GEOM_TypeFilter  ) 
 


Member Function Documentation

bool GEOM_TypeFilter::isOk const SUIT_DataOwner *   )  const [virtual]
 

Reimplemented from GEOM_SelectionFilter.

int GEOM_TypeFilter::type  )  const
 

GEOM::GEOM_Object_ptr GEOM_SelectionFilter::getObject const SUIT_DataOwner *  ,
const   bool = true
const [protected, inherited]
 

bool GEOM_SelectionFilter::getShape const GEOM::GEOM_Object_ptr &  ,
TopoDS_Shape & 
const [protected, inherited]
 

bool GEOM_SelectionFilter::contains const   int  )  const [protected, inherited]
 

void GEOM_SelectionFilter::add const   int  )  [protected, inherited]
 

void GEOM_SelectionFilter::remove const   int  )  [protected, inherited]
 

void GEOM_SelectionFilter::setAll const   bool  )  [protected, inherited]
 

bool GEOM_SelectionFilter::isAll  )  const [protected, inherited]
 

bool GEOM_SelectionFilter::isShapeOk const TopoDS_Shape &   )  const [protected, inherited]
 

Reimplemented in GEOM_EdgeFilter, and GEOM_FaceFilter.


Field Documentation

int GEOM_TypeFilter.myType [private]
 

bool GEOM_TypeFilter.myIsShapeType [private]