SALOME - SMESH
SMESHDS_GroupBase Class Referenceabstract

#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() [1/2]

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

§ ~SMESHDS_GroupBase()

virtual SMESHDS_GroupBase::~SMESHDS_GroupBase ( )
virtual

Definition at line 73 of file SMESHDS_GroupBase.hxx.

§ SMESHDS_GroupBase() [2/2]

SMESHDS_GroupBase::SMESHDS_GroupBase ( const SMESHDS_GroupBase theOther)
private

Member Function Documentation

§ GetID() [1/2]

int SMESHDS_GroupBase::GetID ( ) const

Definition at line 48 of file SMESHDS_GroupBase.hxx.

§ GetMesh()

const SMESHDS_Mesh* SMESHDS_GroupBase::GetMesh ( ) const

Definition at line 50 of file SMESHDS_GroupBase.hxx.

§ SetType()

virtual void SMESHDS_GroupBase::SetType ( SMDSAbs_ElementType  theType)
virtual

Reimplemented in SMESHDS_Group.

§ GetType()

SMDSAbs_ElementType SMESHDS_GroupBase::GetType ( ) const

Definition at line 54 of file SMESHDS_GroupBase.hxx.

§ SetStoreName()

void SMESHDS_GroupBase::SetStoreName ( const char *  theName)

Definition at line 56 of file SMESHDS_GroupBase.hxx.

§ GetStoreName()

const char* SMESHDS_GroupBase::GetStoreName ( ) const

Definition at line 58 of file SMESHDS_GroupBase.hxx.

§ Extent()

virtual int SMESHDS_GroupBase::Extent ( )
virtual

Reimplemented in SMESHDS_Group.

§ IsEmpty()

virtual bool SMESHDS_GroupBase::IsEmpty ( )
virtual

Reimplemented in SMESHDS_Group.

§ Contains() [1/2]

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

Reimplemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

Referenced by SMESHDS_GroupOnGeom::GetShape().

Here is the caller graph for this function:

§ Contains() [2/2]

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

Reimplemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

§ GetElements()

virtual SMDS_ElemIteratorPtr SMESHDS_GroupBase::GetElements ( )
pure virtual

Implemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

Referenced by SMESHDS_GroupOnGeom::GetShape().

Here is the caller graph for this function:

§ GetID() [2/2]

int SMESHDS_GroupBase::GetID ( const int  theIndex)

§ SetColor()

void SMESHDS_GroupBase::SetColor ( const Quantity_Color &  theColor)

Definition at line 75 of file SMESHDS_GroupBase.hxx.

§ GetColor()

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const

Definition at line 78 of file SMESHDS_GroupBase.hxx.

§ SetColorGroup()

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup)

§ GetColorGroup()

int SMESHDS_GroupBase::GetColorGroup ( ) const

§ findInMesh()

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

§ resetIterator()

void SMESHDS_GroupBase::resetIterator ( )
protected

§ operator=()

SMESHDS_GroupBase& SMESHDS_GroupBase::operator= ( const SMESHDS_GroupBase theOther)
private

Field Documentation

§ myID

int SMESHDS_GroupBase::myID
private

Definition at line 95 of file SMESHDS_GroupBase.hxx.

§ myMesh

const SMESHDS_Mesh* SMESHDS_GroupBase::myMesh
private

Definition at line 96 of file SMESHDS_GroupBase.hxx.

§ myType

SMDSAbs_ElementType SMESHDS_GroupBase::myType
private

Definition at line 97 of file SMESHDS_GroupBase.hxx.

§ myStoreName

std::string SMESHDS_GroupBase::myStoreName
private

Definition at line 98 of file SMESHDS_GroupBase.hxx.

§ myCurIndex

int SMESHDS_GroupBase::myCurIndex
private

Definition at line 100 of file SMESHDS_GroupBase.hxx.

§ myCurID

int SMESHDS_GroupBase::myCurID
private

Definition at line 101 of file SMESHDS_GroupBase.hxx.

§ myIterator

SMDS_ElemIteratorPtr SMESHDS_GroupBase::myIterator
private

Definition at line 102 of file SMESHDS_GroupBase.hxx.

§ myColor

Quantity_Color SMESHDS_GroupBase::myColor
private

Definition at line 103 of file SMESHDS_GroupBase.hxx.