28#ifndef _SMESHDS_GroupBase_HeaderFile
29#define _SMESHDS_GroupBase_HeaderFile
37#include <Quantity_Color.hxx>
49 int GetID()
const {
return myID; }
61 virtual smIdType Extent()
const;
63 virtual bool IsEmpty();
65 virtual bool Contains (
const smIdType theID);
71 virtual smIdType GetID (
const int theIndex);
79 { myColor = theColor;}
84 void SetColorGroup (
int theColorGroup);
86 int GetColorGroup()
const;
89 { myDefaultColor = theColor;}
SMDSAbs_ElementType
Type (node, edge, face or volume) of elements.
Definition: SMDSAbs_ElementType.hxx:34
boost::shared_ptr< SMDS_Iterator< const SMDS_MeshElement * > > SMDS_ElemIteratorPtr
Definition: SMDS_ElemIterator.hxx:43
#define SMESHDS_EXPORT
Definition: SMESH_SMESHDS.hxx:37
Base class for elements.
Definition: SMDS_MeshElement.hxx:56
Definition: SMESHDS_GroupBase.hxx:42
SMESHDS_GroupBase(const SMESHDS_GroupBase &theOther)
std::string myStoreName
Definition: SMESHDS_GroupBase.hxx:104
void SetStoreName(const char *theName)
Definition: SMESHDS_GroupBase.hxx:57
const SMESHDS_Mesh * myMesh
Definition: SMESHDS_GroupBase.hxx:102
SMDSAbs_ElementType myType
Definition: SMESHDS_GroupBase.hxx:103
int GetID() const
Definition: SMESHDS_GroupBase.hxx:49
virtual SMDS_ElemIteratorPtr GetElements() const =0
int myID
Definition: SMESHDS_GroupBase.hxx:101
Quantity_Color GetColor() const
Definition: SMESHDS_GroupBase.hxx:81
virtual int GetTic() const =0
SMDSAbs_ElementType GetType() const
Definition: SMESHDS_GroupBase.hxx:55
const char * GetStoreName() const
Definition: SMESHDS_GroupBase.hxx:59
void SetColor(const Quantity_Color &theColor)
Definition: SMESHDS_GroupBase.hxx:78
SMDS_ElemIteratorPtr myIterator
Definition: SMESHDS_GroupBase.hxx:110
smIdType myCurID
Definition: SMESHDS_GroupBase.hxx:109
static Quantity_Color myDefaultColor
Definition: SMESHDS_GroupBase.hxx:112
virtual ~SMESHDS_GroupBase()
Definition: SMESHDS_GroupBase.hxx:76
smIdType myCurIndex
Definition: SMESHDS_GroupBase.hxx:108
Quantity_Color myColor
Definition: SMESHDS_GroupBase.hxx:105
const SMESHDS_Mesh * GetMesh() const
Definition: SMESHDS_GroupBase.hxx:51
static void SetDefaultColor(const Quantity_Color &theColor)
Definition: SMESHDS_GroupBase.hxx:88
Definition: SMESHDS_Mesh.hxx:98