#include <SMDS_MeshElementIDFactory.hxx>
Public Member Functions | |
bool BindID (int ID, SMDS_MeshElement *elem) | |
virtual void Clear () | |
SMDS_ElemIteratorPtr elementsIterator () const | |
virtual int GetFreeID () | |
SMDS_MeshElement * MeshElement (int ID) | |
virtual void ReleaseID (int ID, int vtkId=-1) | |
int SetInVtkGrid (SMDS_MeshElement *elem) | |
SMDS_MeshElementIDFactory () | |
![]() | |
bool BindID (int ID, SMDS_MeshElement *elem) | |
SMDS_ElemIteratorPtr elementsIterator () const | |
virtual void emptyPool (int maxId) | |
int GetMaxID () const | |
int GetMinID () const | |
SMDS_MeshElement * MeshElement (int ID) | |
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 | |
![]() | |
void updateMinMax () const | |
void updateMinMax (int id) const | |
![]() | |
SMDS_MeshIDFactory () | |
Friends | |
class SMDS_Mesh | |
Additional Inherited Members | |
![]() | |
int myMax | |
int myMin | |
![]() | |
int myMaxID | |
SMDS_Mesh * myMesh | |
std::set< int > myPoolOfID | |
Constructor & Destructor Documentation
◆ SMDS_MeshElementIDFactory()
SMDS_MeshElementIDFactory::SMDS_MeshElementIDFactory | ( | ) |
Member Function Documentation
◆ BindID()
bool SMDS_MeshElementIDFactory::BindID | ( | int | ID, |
SMDS_MeshElement * | elem | ||
) |
References SMDS_MeshIDFactory::myMesh, SMDS_Mesh::registerElement(), and SetInVtkGrid().
Referenced by SMDS_Mesh::Add0DElementWithID().
◆ Clear()
|
virtual |
Reimplemented from SMDS_MeshNodeIDFactory.
References SMDS_MeshIDFactory::Clear(), SMDS_Mesh::myCellIdVtkToSmds, SMDS_MeshNodeIDFactory::myMax, SMDS_MeshIDFactory::myMesh, and SMDS_MeshNodeIDFactory::myMin.
Referenced by SMDS_Mesh::Clear().
◆ elementsIterator()
SMDS_ElemIteratorPtr SMDS_MeshElementIDFactory::elementsIterator | ( | ) | const |
References SMDS_Mesh::elementsIterator(), and SMDS_MeshIDFactory::myMesh.
◆ GetFreeID()
|
virtual |
Reimplemented from SMDS_MeshNodeIDFactory.
References SMDS_MeshIDFactory::GetFreeID(), and MeshElement().
Referenced by SMDS_Mesh::Add0DElement(), SMDS_Mesh::AddBall(), SMDS_Mesh::AddEdge(), SMDS_Mesh::AddFace(), SMDS_Mesh::AddFaceFromVtkIds(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFace(), SMDS_Mesh::AddQuadPolygonalFace(), SMDS_Mesh::AddVolume(), SMDS_Mesh::AddVolumeFromVtkIds(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::FindEdgeOrCreate(), and SMDS_Mesh::FindFaceOrCreate().
◆ MeshElement()
SMDS_MeshElement * SMDS_MeshElementIDFactory::MeshElement | ( | int | ID | ) |
References SMDS_Mesh::FindElement(), SMDS_MeshIDFactory::GetMesh(), SMDS_Mesh::myCells, and SMDS_MeshIDFactory::myMesh.
Referenced by SMDS_Mesh::GetElementType(), and GetFreeID().
◆ ReleaseID()
|
virtual |
Reimplemented from SMDS_MeshNodeIDFactory.
References SMDS_Mesh::myCellIdVtkToSmds, SMDS_MeshNodeIDFactory::myMax, SMDS_MeshIDFactory::myMesh, SMDS_MeshNodeIDFactory::myMin, SMDS_MeshIDFactory::ReleaseID(), and SMDS_Mesh::setMyModified().
Referenced by SMDS_Mesh::AddFaceFromVtkIds(), SMDS_Mesh::AddVolume(), SMDS_Mesh::AddVolumeFromVtkIds(), SMDS_Mesh::Clear(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), and SMDS_Mesh::~SMDS_Mesh().
◆ SetInVtkGrid()
int SMDS_MeshElementIDFactory::SetInVtkGrid | ( | SMDS_MeshElement * | elem | ) |
References SMDS_Mesh::getGrid(), SMDS_MeshElement::getVtkId(), SMDS_MeshIDFactory::myMesh, SMDS_MeshElement::nodesIterator(), and SMDS_MeshElement::setVtkId().
Referenced by BindID(), and SMDS_Mesh::registerElement().
◆ updateMinMax() [1/2]
|
protected |
References SMDS_Mesh::myCells, SMDS_MeshNodeIDFactory::myMax, SMDS_MeshIDFactory::myMesh, and SMDS_MeshNodeIDFactory::myMin.
Referenced by SMDS_Mesh::registerElement().
◆ updateMinMax() [2/2]
|
protected |
Friends And Related Function Documentation
◆ SMDS_Mesh
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/SMDS_MeshElementIDFactory.hxx
- src/3rdParty/salomesmesh/src/SMDS/SMDS_MeshElementIDFactory.cpp