SMDS_MeshNodeIDFactory Class Reference

#include <SMDS_MeshNodeIDFactory.hxx>

Public Member Functions

bool BindID (int ID, SMDS_MeshElement *elem)
 
virtual void Clear ()
 
SMDS_ElemIteratorPtr elementsIterator () const
 
virtual void emptyPool (int maxId)
 
virtual int GetFreeID ()
 
int GetMaxID () const
 
int GetMinID () const
 
SMDS_MeshElementMeshElement (int ID)
 
virtual void ReleaseID (int ID, int vtkId=-1)
 
 SMDS_MeshNodeIDFactory ()
 
- Public Member Functions inherited from SMDS_MeshIDFactory
void adjustMaxId (int ID)
 
virtual void Clear ()
 
virtual void emptyPool (int maxId)
 
int GetFreeID ()
 
SMDS_MeshGetMesh ()
 
bool isPoolIdEmpty ()
 
virtual void ReleaseID (int ID, int vtkId=-1)
 
void SetMesh (SMDS_Mesh *mesh)
 
- Public Member Functions inherited from SMDS_MeshObject
virtual ~SMDS_MeshObject ()
 

Protected Member Functions

void updateMinMax () const
 
void updateMinMax (int id) const
 
- Protected Member Functions inherited from SMDS_MeshIDFactory
 SMDS_MeshIDFactory ()
 

Protected Attributes

int myMax
 
int myMin
 
- Protected Attributes inherited from SMDS_MeshIDFactory
int myMaxID
 
SMDS_MeshmyMesh
 
std::set< intmyPoolOfID
 

Constructor & Destructor Documentation

◆ SMDS_MeshNodeIDFactory()

SMDS_MeshNodeIDFactory::SMDS_MeshNodeIDFactory ( )

Member Function Documentation

◆ BindID()

bool SMDS_MeshNodeIDFactory::BindID ( int  ID,
SMDS_MeshElement elem 
)

◆ Clear()

void SMDS_MeshNodeIDFactory::Clear ( )
virtual

Reimplemented from SMDS_MeshIDFactory.

Reimplemented in SMDS_MeshElementIDFactory.

References SMDS_MeshIDFactory::Clear(), myMax, and myMin.

Referenced by SMDS_Mesh::Clear(), and SMDS_Mesh::Renumber().

◆ elementsIterator()

SMDS_ElemIteratorPtr SMDS_MeshNodeIDFactory::elementsIterator ( ) const

◆ emptyPool()

void SMDS_MeshNodeIDFactory::emptyPool ( int  maxId)
virtual

Reimplemented from SMDS_MeshIDFactory.

References SMDS_MeshIDFactory::emptyPool(), and myMax.

Referenced by SMESHDS_Mesh::compactMesh().

◆ GetFreeID()

int SMDS_MeshNodeIDFactory::GetFreeID ( )
virtual

◆ GetMaxID()

int SMDS_MeshNodeIDFactory::GetMaxID ( ) const

◆ GetMinID()

int SMDS_MeshNodeIDFactory::GetMinID ( ) const

References myMax, myMin, and updateMinMax().

Referenced by SMDS_Mesh::MinElementID().

◆ MeshElement()

◆ ReleaseID()

void SMDS_MeshNodeIDFactory::ReleaseID ( int  ID,
int  vtkId = -1 
)
virtual

◆ updateMinMax() [1/2]

void SMDS_MeshNodeIDFactory::updateMinMax ( ) const
protected

◆ updateMinMax() [2/2]

void SMDS_MeshNodeIDFactory::updateMinMax ( int  id) const
protected

Member Data Documentation

◆ myMax

◆ myMin


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