SMESHDS_Group Class Reference

#include <SMESHDS_Group.hxx>

Public Member Functions

bool Add (const int theID)
 
bool Add (const SMDS_MeshElement *theElem)
 
void Clear ()
 
virtual bool Contains (const int theID)
 
virtual bool Contains (const SMDS_MeshElement *elem)
 
virtual int Extent () const
 
virtual SMDS_ElemIteratorPtr GetElements () const
 
virtual VTK_MTIME_TYPE GetTic () const
 Return a value allowing to find out if a group has changed or not. More...
 
virtual bool IsEmpty ()
 
bool Remove (const int theID)
 
virtual void SetType (SMDSAbs_ElementType theType)
 
SMDS_MeshGroupSMDSGroup ()
 
 SMESHDS_Group (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
 
- Public Member Functions inherited from SMESHDS_GroupBase
virtual bool Contains (const int theID)
 
virtual bool Contains (const SMDS_MeshElement *elem)
 
virtual int Extent () const
 
Quantity_Color GetColor () const
 
int GetColorGroup () const
 
virtual SMDS_ElemIteratorPtr GetElements () const =0
 
int GetID () const
 
virtual int GetID (const int theIndex)
 
const SMESHDS_MeshGetMesh () const
 
const char * GetStoreName () const
 
virtual VTK_MTIME_TYPE GetTic () const =0
 
SMDSAbs_ElementType GetType () const
 
virtual bool IsEmpty ()
 
void SetColor (const Quantity_Color &theColor)
 
void SetColorGroup (int theColorGroup)
 
void SetStoreName (const char *theName)
 
virtual void SetType (SMDSAbs_ElementType theType)
 
 SMESHDS_GroupBase (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
 
virtual ~SMESHDS_GroupBase ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SMESHDS_GroupBase
static void SetDefaultColor (const Quantity_Color &theColor)
 
- Protected Member Functions inherited from SMESHDS_GroupBase
const SMDS_MeshElementfindInMesh (const int theID) const
 
void resetIterator ()
 

Constructor & Destructor Documentation

◆ SMESHDS_Group()

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

Member Function Documentation

◆ Add() [1/2]

◆ Add() [2/2]

◆ Clear()

void SMESHDS_Group::Clear ( )

◆ Contains() [1/2]

bool SMESHDS_Group::Contains ( const int  theID)
virtual

◆ Contains() [2/2]

bool SMESHDS_Group::Contains ( const SMDS_MeshElement elem)
virtual

Reimplemented from SMESHDS_GroupBase.

References SMDS_MeshGroup::Contains().

◆ Extent()

int SMESHDS_Group::Extent ( ) const
virtual

Reimplemented from SMESHDS_GroupBase.

References SMDS_MeshGroup::Extent().

◆ GetElements()

SMDS_ElemIteratorPtr SMESHDS_Group::GetElements ( ) const
virtual

◆ GetTic()

VTK_MTIME_TYPE SMESHDS_Group::GetTic ( ) const
virtual

Return a value allowing to find out if a group has changed or not.

Implements SMESHDS_GroupBase.

References SMDS_MeshGroup::Tic().

◆ IsEmpty()

bool SMESHDS_Group::IsEmpty ( )
virtual

Reimplemented from SMESHDS_GroupBase.

References SMDS_MeshGroup::IsEmpty().

◆ Remove()

◆ SetType()

void SMESHDS_Group::SetType ( SMDSAbs_ElementType  theType)
virtual

◆ SMDSGroup()


The documentation for this class was generated from the following files: