Class : SMESH_NumberFilter Description : Filter for geom or smesh objects. More...
#include <SMESH_NumberFilter.hxx>
Public Member Functions | |
SMESH_NumberFilter (const char *theKind, const TopAbs_ShapeEnum theSubShapeType, const int theNumber, const TopAbs_ShapeEnum theShapeType=TopAbs_SHAPE, GEOM::GEOM_Object_ptr theMainObj=GEOM::GEOM_Object::_nil(), const bool theIsClosedOnly=false) | |
Class : SMESH_NumberFilter Description : Filter for geom objects. More... | |
SMESH_NumberFilter (const char *theKind, const TopAbs_ShapeEnum theSubShapeType, const int theNumber, const TColStd_MapOfInteger &theShapeTypes, GEOM::GEOM_Object_ptr theMainObj=GEOM::GEOM_Object::_nil(), const bool theIsClosedOnly=false) | |
virtual | ~SMESH_NumberFilter () |
virtual bool | isOk (const SUIT_DataOwner *) const |
void | SetSubShapeType (const TopAbs_ShapeEnum) |
void | SetNumber (const int) |
void | SetClosedOnly (const bool) |
void | SetShapeType (const TopAbs_ShapeEnum) |
void | SetShapeTypes (const TColStd_MapOfInteger &) |
void | SetMainShape (GEOM::GEOM_Object_ptr) |
Private Member Functions | |
GEOM::GEOM_Object_ptr | getGeom (const SUIT_DataOwner *, const bool extractReference=true) const |
Private Attributes | |
std::string | myKind |
TopAbs_ShapeEnum | mySubShapeType |
int | myNumber |
bool | myIsClosedOnly |
TColStd_MapOfInteger | myShapeTypes |
GEOM::GEOM_Object_var | myMainObj |
Class : SMESH_NumberFilter Description : Filter for geom or smesh objects.
Filter geom objects by number of subshapes of the given type Parameters of constructor:
SMESH_NumberFilter::SMESH_NumberFilter | ( | const char * | theKind, |
const TopAbs_ShapeEnum | theSubShapeType, | ||
const int | theNumber, | ||
const TopAbs_ShapeEnum | theShapeType = TopAbs_SHAPE , |
||
GEOM::GEOM_Object_ptr | theMainObj = GEOM::GEOM_Object::_nil() , |
||
const bool | theIsClosedOnly = false |
||
) |
Class : SMESH_NumberFilter Description : Filter for geom objects.
Filter geom objects by number of subshapes of the given type
References myIsClosedOnly, myKind, myMainObj, myNumber, myShapeTypes, and mySubShapeType.
SMESH_NumberFilter::SMESH_NumberFilter | ( | const char * | theKind, |
const TopAbs_ShapeEnum | theSubShapeType, | ||
const int | theNumber, | ||
const TColStd_MapOfInteger & | theShapeTypes, | ||
GEOM::GEOM_Object_ptr | theMainObj = GEOM::GEOM_Object::_nil() , |
||
const bool | theIsClosedOnly = false |
||
) |
References myIsClosedOnly, myKind, myMainObj, myNumber, myShapeTypes, and mySubShapeType.
|
virtual |
|
private |
|
virtual |
References getGeom(), myIsClosedOnly, myMainObj, myNumber, myShapeTypes, and mySubShapeType.
void SMESH_NumberFilter::SetClosedOnly | ( | const bool | theIsClosedOnly | ) |
References myIsClosedOnly.
void SMESH_NumberFilter::SetMainShape | ( | GEOM::GEOM_Object_ptr | theMainObj | ) |
References myMainObj.
void SMESH_NumberFilter::SetShapeType | ( | const TopAbs_ShapeEnum | theShapeType | ) |
References myShapeTypes.
void SMESH_NumberFilter::SetShapeTypes | ( | const TColStd_MapOfInteger & | ) |
void SMESH_NumberFilter::SetSubShapeType | ( | const TopAbs_ShapeEnum | theSubShapeType | ) |
References mySubShapeType.
|
private |
Referenced by isOk(), SetClosedOnly(), and SMESH_NumberFilter().
|
private |
Referenced by SMESH_NumberFilter().
|
private |
Referenced by isOk(), SetMainShape(), and SMESH_NumberFilter().
|
private |
Referenced by isOk(), SetNumber(), and SMESH_NumberFilter().
|
private |
Referenced by isOk(), SetShapeType(), and SMESH_NumberFilter().
|
private |
Referenced by isOk(), SetSubShapeType(), and SMESH_NumberFilter().