26#ifndef _SMESH_NumberFilter_HeaderFile
27#define _SMESH_NumberFilter_HeaderFile
31#include "SUIT_SelectionFilter.h"
33#include <TopAbs_ShapeEnum.hxx>
34#include <TColStd_MapOfInteger.hxx>
36#include <SALOMEconfig.h>
37#include CORBA_SERVER_HEADER(GEOM_Gen)
60 const TopAbs_ShapeEnum theSubShapeType,
62 const TopAbs_ShapeEnum theShapeType = TopAbs_SHAPE,
63 GEOM::GEOM_Object_ptr theMainObj = GEOM::GEOM_Object::_nil(),
64 const bool theIsClosedOnly =
false );
67 const TopAbs_ShapeEnum theSubShapeType,
69 const TColStd_MapOfInteger& theShapeTypes,
70 GEOM::GEOM_Object_ptr theMainObj = GEOM::GEOM_Object::_nil(),
71 const bool theIsClosedOnly =
false );
75 virtual bool isOk (
const SUIT_DataOwner*)
const;
77 void SetSubShapeType (
const TopAbs_ShapeEnum);
78 void SetNumber (
const int);
79 void SetClosedOnly (
const bool);
80 void SetShapeType (
const TopAbs_ShapeEnum);
82 void SetMainShape (GEOM::GEOM_Object_ptr);
85 GEOM::GEOM_Object_ptr getGeom (
const SUIT_DataOwner*,
const bool extractReference =
true )
const;
#define SMESHFILTERSSELECTION_EXPORT
Definition: SMESH_Type.h:39
Class : SMESH_NumberFilter Description : Filter for geom or smesh objects.
Definition: SMESH_NumberFilter.hxx:57
TColStd_MapOfInteger myShapeTypes
Definition: SMESH_NumberFilter.hxx:92
void SetShapeTypes(const TColStd_MapOfInteger &)
std::string myKind
Definition: SMESH_NumberFilter.hxx:88
TopAbs_ShapeEnum mySubShapeType
Definition: SMESH_NumberFilter.hxx:89
GEOM::GEOM_Object_var myMainObj
Definition: SMESH_NumberFilter.hxx:93
bool myIsClosedOnly
Definition: SMESH_NumberFilter.hxx:91
int myNumber
Definition: SMESH_NumberFilter.hxx:90