Back to index

salome-smesh  6.5.0
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
SMESHFILTERSSELECTION_EXPORT Protocol Reference

Class : SMESH_NumberFilter Description : Filter for geom or smesh objects. More...

#include <SMESH_LogicalFilter.hxx>

Collaboration diagram for SMESHFILTERSSELECTION_EXPORT:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { LO_OR, LO_AND, LO_NOT, LO_UNDEFINED }

Public Member Functions

 SMESH_LogicalFilter (const QList< SUIT_SelectionFilter * > &, const int, bool takeOwnership=false)
virtual ~SMESH_LogicalFilter ()
virtual bool isOk (const SUIT_DataOwner *) const
void setFilters (const QList< SUIT_SelectionFilter * > &)
void setOperation (const int)
const QList
< SUIT_SelectionFilter * > 
getFilters () const
int getOperation () const
 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)
 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)
 SMESH_TypeFilter (MeshObjectType theType)
 ~SMESH_TypeFilter ()
virtual bool isOk (const SUIT_DataOwner *) const
MeshObjectType type () const

Protected Attributes

MeshObjectType myType

Private Member Functions

void deleteFilters ()
GEOM::GEOM_Object_ptr getGeom (const SUIT_DataOwner *, const bool extractReference=true) const

Private Attributes

QList< SUIT_SelectionFilter * > myFilters
int myOperation
bool myOwnership
std::string myKind
TopAbs_ShapeEnum mySubShapeType
int myNumber
bool myIsClosedOnly
TColStd_MapOfInteger myShapeTypes
GEOM::GEOM_Object_var myMainObj

Detailed Description

Class : SMESH_NumberFilter Description : Filter for geom or smesh objects.

Filter geom objects by number of subshapes of the given type Parameters of constructor:

Definition at line 35 of file SMESH_LogicalFilter.hxx.


Member Enumeration Documentation

anonymous enum
Enumerator:
LO_OR 
LO_AND 
LO_NOT 
LO_UNDEFINED 

Definition at line 38 of file SMESH_LogicalFilter.hxx.


Constructor & Destructor Documentation


Member Function Documentation

const QList<SUIT_SelectionFilter*> SMESHFILTERSSELECTION_EXPORT::getFilters ( ) const
GEOM::GEOM_Object_ptr SMESHFILTERSSELECTION_EXPORT::getGeom ( const SUIT_DataOwner *  ,
const bool  extractReference = true 
) const [private]
virtual bool SMESHFILTERSSELECTION_EXPORT::isOk ( const SUIT_DataOwner *  ) const [virtual]
virtual bool SMESHFILTERSSELECTION_EXPORT::isOk ( const SUIT_DataOwner *  ) const [virtual]
virtual bool SMESHFILTERSSELECTION_EXPORT::isOk ( const SUIT_DataOwner *  ) const [virtual]
void SMESHFILTERSSELECTION_EXPORT::setFilters ( const QList< SUIT_SelectionFilter * > &  )
void SMESHFILTERSSELECTION_EXPORT::SetMainShape ( GEOM::GEOM_Object_ptr  )
void SMESHFILTERSSELECTION_EXPORT::SetShapeType ( const TopAbs_ShapeEnum  )
void SMESHFILTERSSELECTION_EXPORT::SetShapeTypes ( const TColStd_MapOfInteger &  )
void SMESHFILTERSSELECTION_EXPORT::SetSubShapeType ( const TopAbs_ShapeEnum  )
SMESHFILTERSSELECTION_EXPORT::SMESH_LogicalFilter ( const QList< SUIT_SelectionFilter * > &  ,
const int  ,
bool  takeOwnership = false 
)
SMESHFILTERSSELECTION_EXPORT::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 
)
SMESHFILTERSSELECTION_EXPORT::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 
)

Member Data Documentation

QList<SUIT_SelectionFilter*> SMESHFILTERSSELECTION_EXPORT::myFilters [private]

Definition at line 55 of file SMESH_LogicalFilter.hxx.

Definition at line 91 of file SMESH_NumberFilter.hxx.

std::string SMESHFILTERSSELECTION_EXPORT::myKind [private]

Definition at line 88 of file SMESH_NumberFilter.hxx.

GEOM::GEOM_Object_var SMESHFILTERSSELECTION_EXPORT::myMainObj [private]

Definition at line 93 of file SMESH_NumberFilter.hxx.

Definition at line 90 of file SMESH_NumberFilter.hxx.

Definition at line 56 of file SMESH_LogicalFilter.hxx.

Definition at line 57 of file SMESH_LogicalFilter.hxx.

TColStd_MapOfInteger SMESHFILTERSSELECTION_EXPORT::myShapeTypes [private]

Definition at line 92 of file SMESH_NumberFilter.hxx.

Definition at line 89 of file SMESH_NumberFilter.hxx.

Definition at line 44 of file SMESH_TypeFilter.hxx.


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