Version: 8.3.0
SMDS_MeshNodeIDFactory Class Reference

#include <SMDS_MeshNodeIDFactory.hxx>

Inheritance diagram for SMDS_MeshNodeIDFactory:

Public Member Functions

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

Protected Member Functions

virtual void updateMinMax () const
 
void updateMinMax (int id) const
 

Protected Attributes

int myMin
 
int myMax
 
int myMaxID
 
std::set< intmyPoolOfID
 
SMDS_MeshmyMesh
 

Constructor & Destructor Documentation

SMDS_MeshNodeIDFactory::SMDS_MeshNodeIDFactory ( )

Member Function Documentation

void SMDS_MeshIDFactory::adjustMaxId ( int  ID)
inherited
bool SMDS_MeshNodeIDFactory::BindID ( int  ID,
SMDS_MeshElement elem 
)
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().

SMDS_ElemIteratorPtr SMDS_MeshNodeIDFactory::elementsIterator ( ) const
void SMDS_MeshNodeIDFactory::emptyPool ( int  maxId)
virtual

Reimplemented from SMDS_MeshIDFactory.

References SMDS_MeshIDFactory::emptyPool(), and myMax.

Referenced by SMESHDS_Mesh::compactMesh().

int SMDS_MeshNodeIDFactory::GetFreeID ( )
virtual
int SMDS_MeshNodeIDFactory::GetMaxID ( ) const
SMDS_Mesh * SMDS_MeshIDFactory::GetMesh ( )
inherited
int SMDS_MeshNodeIDFactory::GetMinID ( ) const
bool SMDS_MeshIDFactory::isPoolIdEmpty ( )
inherited
void SMDS_MeshNodeIDFactory::ReleaseID ( int  ID,
int  vtkId = -1 
)
virtual
void SMDS_MeshIDFactory::SetMesh ( SMDS_Mesh mesh)
inherited
void SMDS_MeshNodeIDFactory::updateMinMax ( ) const
protectedvirtual
void SMDS_MeshNodeIDFactory::updateMinMax ( int  id) const
protected

Field Documentation

std::set<int> SMDS_MeshIDFactory::myPoolOfID
protectedinherited