#include <SMDS_MeshIDFactory.hxx>
Public Member Functions | |
void | adjustMaxId (int ID) |
virtual void | Clear () |
virtual void | emptyPool (int maxId) |
int | GetFreeID () |
SMDS_Mesh * | GetMesh () |
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 | |
SMDS_MeshIDFactory () | |
Protected Attributes | |
int | myMaxID |
SMDS_Mesh * | myMesh |
std::set< int > | myPoolOfID |
Constructor & Destructor Documentation
◆ SMDS_MeshIDFactory()
|
protected |
Member Function Documentation
◆ adjustMaxId()
void SMDS_MeshIDFactory::adjustMaxId | ( | int | ID | ) |
Referenced by SMDS_Mesh::AddNodeWithID().
◆ Clear()
|
virtual |
Reimplemented in SMDS_MeshElementIDFactory, and SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::Clear(), and SMDS_MeshElementIDFactory::Clear().
◆ emptyPool()
|
virtual |
Reimplemented in SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::emptyPool().
◆ GetFreeID()
int SMDS_MeshIDFactory::GetFreeID | ( | ) |
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::GetFreeID(), and SMDS_MeshElementIDFactory::GetFreeID().
◆ GetMesh()
SMDS_Mesh * SMDS_MeshIDFactory::GetMesh | ( | ) |
References myMesh.
Referenced by SMDS_MeshNodeIDFactory::MeshElement(), and SMDS_MeshElementIDFactory::MeshElement().
◆ isPoolIdEmpty()
bool SMDS_MeshIDFactory::isPoolIdEmpty | ( | ) |
◆ ReleaseID()
|
virtual |
Reimplemented in SMDS_MeshElementIDFactory, and SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::ReleaseID(), and SMDS_MeshElementIDFactory::ReleaseID().
◆ SetMesh()
void SMDS_MeshIDFactory::SetMesh | ( | SMDS_Mesh * | mesh | ) |
References myMesh.
Referenced by SMDS_Mesh::SMDS_Mesh().
Member Data Documentation
◆ myMaxID
|
protected |
Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().
◆ myMesh
|
protected |
Referenced by SMDS_MeshElementIDFactory::BindID(), SMDS_MeshElementIDFactory::Clear(), SMDS_MeshNodeIDFactory::elementsIterator(), SMDS_MeshElementIDFactory::elementsIterator(), GetMesh(), SMDS_MeshElementIDFactory::MeshElement(), SMDS_MeshNodeIDFactory::ReleaseID(), SMDS_MeshElementIDFactory::ReleaseID(), SMDS_MeshElementIDFactory::SetInVtkGrid(), SetMesh(), SMDS_MeshNodeIDFactory::updateMinMax(), and SMDS_MeshElementIDFactory::updateMinMax().
◆ myPoolOfID
|
protected |
Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/SMDS_MeshIDFactory.hxx
- src/3rdParty/salomesmesh/src/SMDS/SMDS_MeshIDFactory.cpp