#include <SMDS_MeshIDFactory.hxx>
Public Member Functions | |
int | GetFreeID () |
virtual void | ReleaseID (int ID, int vtkId=-1) |
virtual void | Clear () |
void | SetMesh (SMDS_Mesh *mesh) |
SMDS_Mesh * | GetMesh () |
bool | isPoolIdEmpty () |
virtual void | emptyPool (int maxId) |
void | adjustMaxId (int ID) |
Protected Member Functions | |
SMDS_MeshIDFactory () | |
Protected Attributes | |
int | myMaxID |
std::set< int > | myPoolOfID |
SMDS_Mesh * | myMesh |
|
protected |
void SMDS_MeshIDFactory::adjustMaxId | ( | int | ID | ) |
Referenced by SMDS_Mesh::AddNodeWithID().
|
virtual |
Reimplemented in SMDS_MeshElementIDFactory, and SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::Clear(), and SMDS_MeshElementIDFactory::Clear().
|
virtual |
Reimplemented in SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::emptyPool().
int SMDS_MeshIDFactory::GetFreeID | ( | ) |
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::GetFreeID(), and SMDS_MeshElementIDFactory::GetFreeID().
SMDS_Mesh * SMDS_MeshIDFactory::GetMesh | ( | ) |
References myMesh.
Referenced by SMDS_MeshNodeIDFactory::MeshElement(), and SMDS_MeshElementIDFactory::MeshElement().
bool SMDS_MeshIDFactory::isPoolIdEmpty | ( | ) |
Reimplemented in SMDS_MeshElementIDFactory, and SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::ReleaseID(), and SMDS_MeshElementIDFactory::ReleaseID().
void SMDS_MeshIDFactory::SetMesh | ( | SMDS_Mesh * | mesh | ) |
References myMesh.
Referenced by SMDS_Mesh::SMDS_Mesh().
|
protected |
Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().
|
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().
|
protected |
Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().