SALOME - SMESH
SMESHDS_Group Class Reference

#include <SMESHDS_Group.hxx>

Inheritance diagram for SMESHDS_Group:
Inheritance graph
Collaboration diagram for SMESHDS_Group:
Collaboration graph

Public Member Functions

 SMESHDS_Group (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
virtual void SetType (SMDSAbs_ElementType theType)
virtual int Extent ()
virtual bool IsEmpty ()
virtual bool Contains (const int theID)
virtual bool Contains (const SMDS_MeshElement *elem)
virtual SMDS_ElemIteratorPtr GetElements ()
bool Add (const int theID)
bool Remove (const int theID)
void Clear ()
SMDS_MeshGroupSMDSGroup ()
int GetID () const
int GetID (const int theIndex)
const SMESHDS_MeshGetMesh () const
SMDSAbs_ElementType GetType () const
void SetStoreName (const char *theName)
const char * GetStoreName () const
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 Attributes

SMDS_MeshGroup myGroup

Detailed Description

Definition at line 38 of file SMESHDS_Group.hxx.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from SMESHDS_GroupBase.

virtual int SMESHDS_Group::Extent ( ) [virtual]

Reimplemented from SMESHDS_GroupBase.

virtual bool SMESHDS_Group::IsEmpty ( ) [virtual]

Reimplemented from SMESHDS_GroupBase.

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

Reimplemented from SMESHDS_GroupBase.

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

Reimplemented from SMESHDS_GroupBase.

bool SMESHDS_Group::Add ( const int  theID)
bool SMESHDS_Group::Remove ( const int  theID)

Definition at line 64 of file SMESHDS_Group.hxx.

int SMESHDS_GroupBase::GetID ( ) const [inherited]

Definition at line 48 of file SMESHDS_GroupBase.hxx.

int SMESHDS_GroupBase::GetID ( const int  theIndex) [inherited]
const SMESHDS_Mesh* SMESHDS_GroupBase::GetMesh ( ) const [inherited]

Definition at line 50 of file SMESHDS_GroupBase.hxx.

Definition at line 54 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetStoreName ( const char *  theName) [inherited]

Definition at line 56 of file SMESHDS_GroupBase.hxx.

const char* SMESHDS_GroupBase::GetStoreName ( ) const [inherited]

Definition at line 58 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetColor ( const Quantity_Color &  theColor) [inherited]

Definition at line 75 of file SMESHDS_GroupBase.hxx.

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const [inherited]

Definition at line 78 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup) [inherited]
int SMESHDS_GroupBase::GetColorGroup ( ) const [inherited]
const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh ( const int  theID) const [protected, inherited]
void SMESHDS_GroupBase::resetIterator ( ) [protected, inherited]

Field Documentation

Definition at line 68 of file SMESHDS_Group.hxx.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines