#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_MeshElement * MeshElement (int ID) | |
virtual void ReleaseID (int ID, int vtkId=-1) | |
SMDS_MeshNodeIDFactory () | |
![]() | |
void adjustMaxId (int ID) | |
int GetFreeID () | |
SMDS_Mesh * GetMesh () | |
bool isPoolIdEmpty () | |
void SetMesh (SMDS_Mesh *mesh) | |
![]() | |
virtual ~SMDS_MeshObject () | |
Protected Member Functions | |
void updateMinMax () const | |
void updateMinMax (int id) const | |
![]() | |
SMDS_MeshIDFactory () | |
Protected Attributes | |
int myMax | |
int myMin | |
![]() | |
int myMaxID | |
SMDS_Mesh * myMesh | |
std::set< int > myPoolOfID | |
Constructor & Destructor Documentation
◆ SMDS_MeshNodeIDFactory()
SMDS_MeshNodeIDFactory::SMDS_MeshNodeIDFactory | ( | ) |
Member Function Documentation
◆ BindID()
bool SMDS_MeshNodeIDFactory::BindID | ( | int | ID, |
SMDS_MeshElement * | elem | ||
) |
References updateMinMax().
Referenced by SMDS_Mesh::AddNodeWithID(), and SMDS_Mesh::Renumber().
◆ 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 |
References SMDS_Mesh::elementsIterator(), and SMDS_MeshIDFactory::myMesh.
Referenced by SMDS_Mesh::Renumber().
◆ emptyPool()
|
virtual |
Reimplemented from SMDS_MeshIDFactory.
References SMDS_MeshIDFactory::emptyPool(), and myMax.
Referenced by SMESHDS_Mesh::compactMesh().
◆ GetFreeID()
|
virtual |
Reimplemented in SMDS_MeshElementIDFactory.
References SMDS_MeshIDFactory::GetFreeID(), and MeshElement().
Referenced by SMDS_Mesh::AddNode(), and SMDS_Mesh::AddNodeWithID().
◆ GetMaxID()
int SMDS_MeshNodeIDFactory::GetMaxID | ( | ) | const |
References myMax, and updateMinMax().
Referenced by SMDS_Mesh::adjustStructure(), and SMDS_Mesh::MaxElementID().
◆ GetMinID()
int SMDS_MeshNodeIDFactory::GetMinID | ( | ) | const |
References myMax, myMin, and updateMinMax().
Referenced by SMDS_Mesh::MinElementID().
◆ MeshElement()
SMDS_MeshElement * SMDS_MeshNodeIDFactory::MeshElement | ( | int | ID | ) |
References SMDS_Mesh::FindNode(), and SMDS_MeshIDFactory::GetMesh().
Referenced by SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddNodeWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::GetElementType(), and GetFreeID().
◆ ReleaseID()
|
virtual |
Reimplemented from SMDS_MeshIDFactory.
Reimplemented in SMDS_MeshElementIDFactory.
References myMax, SMDS_MeshIDFactory::myMesh, myMin, SMDS_MeshIDFactory::ReleaseID(), and SMDS_Mesh::setMyModified().
Referenced by SMDS_Mesh::Clear(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), and SMDS_Mesh::~SMDS_Mesh().
◆ updateMinMax() [1/2]
|
protected |
References SMDS_Mesh::MaxNodeID(), SMDS_Mesh::MinNodeID(), myMax, SMDS_MeshIDFactory::myMesh, myMin, and SMDS_Mesh::updateNodeMinMax().
Referenced by BindID(), GetMaxID(), and GetMinID().
◆ updateMinMax() [2/2]
|
protected |
Member Data Documentation
◆ myMax
|
protected |
◆ myMin
|
mutableprotected |
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/SMDS_MeshNodeIDFactory.hxx
- src/3rdParty/salomesmesh/src/SMDS/SMDS_MeshNodeIDFactory.cpp