SALOME - SMESH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SMESHDS_GroupBase Class Reference

#include <SMESHDS_GroupBase.hxx>

Inheritance diagram for SMESHDS_GroupBase:
Inheritance graph
Collaboration diagram for SMESHDS_GroupBase:
Collaboration graph

Public Member Functions

 SMESHDS_GroupBase (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
int GetID () const
const SMESHDS_MeshGetMesh () const
virtual void SetType (SMDSAbs_ElementType theType)
SMDSAbs_ElementType GetType () const
void SetStoreName (const char *theName)
const char * GetStoreName () const
virtual int Extent ()
virtual bool IsEmpty ()
virtual bool Contains (const int theID)
virtual bool Contains (const SMDS_MeshElement *elem)
virtual SMDS_ElemIteratorPtr GetElements ()=0
int GetID (const int theIndex)
virtual ~SMESHDS_GroupBase ()
void SetColor (const Quantity_Color &theColor)
Quantity_Color GetColor () const
void SetColorGroup (int theColorGroup)
int GetColorGroup () const

Protected Member Functions

const SMDS_MeshElementfindInMesh (const int theID) const
void resetIterator ()

Private Member Functions

 SMESHDS_GroupBase (const SMESHDS_GroupBase &theOther)
SMESHDS_GroupBaseoperator= (const SMESHDS_GroupBase &theOther)

Private Attributes

int myID
const SMESHDS_MeshmyMesh
SMDSAbs_ElementType myType
std::string myStoreName
int myCurIndex
int myCurID
SMDS_ElemIteratorPtr myIterator
Quantity_Color myColor

Detailed Description

Definition at line 40 of file SMESHDS_GroupBase.hxx.


Constructor & Destructor Documentation

SMESHDS_GroupBase::SMESHDS_GroupBase ( const int  theID,
const SMESHDS_Mesh theMesh,
const SMDSAbs_ElementType  theType 
)

Definition at line 73 of file SMESHDS_GroupBase.hxx.


Member Function Documentation

Definition at line 48 of file SMESHDS_GroupBase.hxx.

Definition at line 50 of file SMESHDS_GroupBase.hxx.

virtual void SMESHDS_GroupBase::SetType ( SMDSAbs_ElementType  theType) [virtual]

Reimplemented in SMESHDS_Group.

void SMESHDS_GroupBase::SetStoreName ( const char *  theName)

Definition at line 56 of file SMESHDS_GroupBase.hxx.

const char* SMESHDS_GroupBase::GetStoreName ( ) const

Definition at line 58 of file SMESHDS_GroupBase.hxx.

virtual int SMESHDS_GroupBase::Extent ( ) [virtual]

Reimplemented in SMESHDS_Group.

virtual bool SMESHDS_GroupBase::IsEmpty ( ) [virtual]

Reimplemented in SMESHDS_Group.

virtual bool SMESHDS_GroupBase::Contains ( const int  theID) [virtual]

Reimplemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

virtual bool SMESHDS_GroupBase::Contains ( const SMDS_MeshElement elem) [virtual]

Reimplemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

int SMESHDS_GroupBase::GetID ( const int  theIndex)
void SMESHDS_GroupBase::SetColor ( const Quantity_Color &  theColor)

Definition at line 75 of file SMESHDS_GroupBase.hxx.

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const

Definition at line 78 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup)
const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh ( const int  theID) const [protected]
void SMESHDS_GroupBase::resetIterator ( ) [protected]
SMESHDS_GroupBase& SMESHDS_GroupBase::operator= ( const SMESHDS_GroupBase theOther) [private]

Field Documentation

Definition at line 95 of file SMESHDS_GroupBase.hxx.

Definition at line 96 of file SMESHDS_GroupBase.hxx.

std::string SMESHDS_GroupBase::myStoreName [private]

Definition at line 98 of file SMESHDS_GroupBase.hxx.

Definition at line 100 of file SMESHDS_GroupBase.hxx.

Definition at line 101 of file SMESHDS_GroupBase.hxx.

Quantity_Color SMESHDS_GroupBase::myColor [private]

Definition at line 103 of file SMESHDS_GroupBase.hxx.