27 #ifndef _SMESHDS_GroupBase_HeaderFile
28 #define _SMESHDS_GroupBase_HeaderFile
36 #include <Quantity_Color.hxx>
48 int GetID()
const {
return myID; }
76 { myColor = theColor;}
SMDSAbs_ElementType
Type (node, edge, face or volume) of elements.
boost::shared_ptr< SMDS_Iterator< const SMDS_MeshElement * > > SMDS_ElemIteratorPtr
virtual bool Contains(const int theID)
SMESHDS_GroupBase(const SMESHDS_GroupBase &theOther)
int GetID(const int theIndex)
SMESHDS_GroupBase(const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
void SetStoreName(const char *theName)
const SMESHDS_Mesh * myMesh
const SMESHDS_Mesh * GetMesh() const
SMDSAbs_ElementType myType
Quantity_Color GetColor() const
SMDSAbs_ElementType GetType() const
virtual bool Contains(const SMDS_MeshElement *elem)
virtual SMDS_ElemIteratorPtr GetElements()=0
void SetColorGroup(int theColorGroup)
void SetColor(const Quantity_Color &theColor)
SMDS_ElemIteratorPtr myIterator
int GetColorGroup() const
virtual void SetType(SMDSAbs_ElementType theType)
virtual ~SMESHDS_GroupBase()
const SMDS_MeshElement * findInMesh(const int theID) const
const char * GetStoreName() const