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::SMESHDS_Group ( const int  theID,
const SMESHDS_Mesh theMesh,
const SMDSAbs_ElementType  theType 
)

Member Function Documentation

◆ SetType()

virtual void SMESHDS_Group::SetType ( SMDSAbs_ElementType  theType)
virtual

Reimplemented from SMESHDS_GroupBase.

◆ Extent()

virtual int SMESHDS_Group::Extent ( )
virtual

Reimplemented from SMESHDS_GroupBase.

◆ IsEmpty()

virtual bool SMESHDS_Group::IsEmpty ( )
virtual

Reimplemented from SMESHDS_GroupBase.

◆ Contains() [1/2]

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

Reimplemented from SMESHDS_GroupBase.

◆ Contains() [2/2]

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

Reimplemented from SMESHDS_GroupBase.

◆ GetElements()

virtual SMDS_ElemIteratorPtr SMESHDS_Group::GetElements ( )
virtual

Implements SMESHDS_GroupBase.

◆ Add()

bool SMESHDS_Group::Add ( const int  theID)

◆ Remove()

bool SMESHDS_Group::Remove ( const int  theID)

◆ Clear()

void SMESHDS_Group::Clear ( )

◆ SMDSGroup()

SMDS_MeshGroup& SMESHDS_Group::SMDSGroup ( )

Definition at line 64 of file SMESHDS_Group.hxx.

◆ GetID() [1/2]

int SMESHDS_GroupBase::GetID ( ) const
inherited

Definition at line 48 of file SMESHDS_GroupBase.hxx.

◆ GetID() [2/2]

int SMESHDS_GroupBase::GetID ( const int  theIndex)
inherited

◆ GetMesh()

const SMESHDS_Mesh* SMESHDS_GroupBase::GetMesh ( ) const
inherited

Definition at line 50 of file SMESHDS_GroupBase.hxx.

◆ GetType()

SMDSAbs_ElementType SMESHDS_GroupBase::GetType ( ) const
inherited

Definition at line 54 of file SMESHDS_GroupBase.hxx.

◆ SetStoreName()

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

Definition at line 56 of file SMESHDS_GroupBase.hxx.

◆ GetStoreName()

const char* SMESHDS_GroupBase::GetStoreName ( ) const
inherited

Definition at line 58 of file SMESHDS_GroupBase.hxx.

◆ SetColor()

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

Definition at line 75 of file SMESHDS_GroupBase.hxx.

◆ GetColor()

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const
inherited

Definition at line 78 of file SMESHDS_GroupBase.hxx.

◆ SetColorGroup()

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup)
inherited

◆ GetColorGroup()

int SMESHDS_GroupBase::GetColorGroup ( ) const
inherited

◆ findInMesh()

const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh ( const int  theID) const
protectedinherited

◆ resetIterator()

void SMESHDS_GroupBase::resetIterator ( )
protectedinherited

Field Documentation

◆ myGroup

SMDS_MeshGroup SMESHDS_Group::myGroup
private

Definition at line 68 of file SMESHDS_Group.hxx.