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