Version: 8.3.0
SMDS_MeshInfo Class Reference

#include <SMDS_MeshInfo.hxx>

Inheritance diagram for SMDS_MeshInfo:

Public Member Functions

 SMDS_MeshInfo ()
 
SMDS_MeshInfooperator= (const SMDS_MeshInfo &other)
 
void Clear ()
 
int NbElements (SMDSAbs_ElementType type=SMDSAbs_All) const
 
int NbElements (SMDSAbs_EntityType type) const
 
int NbElements (SMDSAbs_GeometryType type) const
 
int NbEntities (SMDSAbs_EntityType type) const
 
int NbElementsOfGeom (SMDSAbs_GeometryType geom) const
 
int NbNodes () const
 
int Nb0DElements () const
 
int NbBalls () const
 
int NbEdges (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbFaces (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbTriangles (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbQuadrangles (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbBiQuadTriangles () const
 
int NbBiQuadQuadrangles () const
 
int NbPolygons (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbVolumes (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbTetras (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbHexas (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbPyramids (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbPrisms (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbHexPrisms (SMDSAbs_ElementOrder order=ORDER_ANY) const
 
int NbTriQuadHexas () const
 
int NbPolyhedrons () const
 

Protected Member Functions

void addWithPoly (const SMDS_MeshElement *el)
 
void setNb (const SMDSAbs_EntityType geomType, const int nb)
 

Private Member Functions

void remove (const SMDS_MeshElement *el)
 
void add (const SMDS_MeshElement *el)
 
int index (SMDSAbs_ElementType type, int nbNodes) const
 
void RemoveEdge (const SMDS_MeshElement *el)
 
void RemoveFace (const SMDS_MeshElement *el)
 
void RemoveVolume (const SMDS_MeshElement *el)
 

Private Attributes

int myNbNodes
 
int myNb0DElements
 
int myNbBalls
 
int myNbEdges
 
int myNbQuadEdges
 
int myNbTriangles
 
int myNbQuadTriangles
 
int myNbBiQuadTriangles
 
int myNbQuadrangles
 
int myNbQuadQuadrangles
 
int myNbBiQuadQuadrangles
 
int myNbPolygons
 
int myNbQuadPolygons
 
int myNbTetras
 
int myNbQuadTetras
 
int myNbHexas
 
int myNbQuadHexas
 
int myNbTriQuadHexas
 
int myNbPyramids
 
int myNbQuadPyramids
 
int myNbPrisms
 
int myNbQuadPrisms
 
int myNbHexPrism
 
int myNbPolyhedrons
 
std::vector< int * > myNb
 
std::vector< intmyShift
 

Friends

class SMDS_Mesh
 

Constructor & Destructor Documentation

Member Function Documentation

void SMDS_MeshInfo::add ( const SMDS_MeshElement el)
private
void SMDS_MeshInfo::Clear ( )
int SMDS_MeshInfo::index ( SMDSAbs_ElementType  type,
int  nbNodes 
) const
private

References myShift.

Referenced by add(), NbElements(), remove(), and SMDS_MeshInfo().

int SMDS_MeshInfo::NbBiQuadQuadrangles ( ) const
int SMDS_MeshInfo::NbBiQuadTriangles ( ) const
int SMDS_MeshInfo::NbElements ( SMDSAbs_EntityType  type) const
int SMDS_MeshInfo::NbElements ( SMDSAbs_GeometryType  type) const
int SMDS_MeshInfo::NbPolyhedrons ( ) const
int SMDS_MeshInfo::NbTriQuadHexas ( ) const
SMDS_MeshInfo & SMDS_MeshInfo::operator= ( const SMDS_MeshInfo other)
void SMDS_MeshInfo::remove ( const SMDS_MeshElement el)
private
void SMDS_MeshInfo::RemoveEdge ( const SMDS_MeshElement el)
private
void SMDS_MeshInfo::RemoveVolume ( const SMDS_MeshElement el)
private

Friends And Related Function Documentation

friend class SMDS_Mesh
friend

Field Documentation

std::vector<int*> SMDS_MeshInfo::myNb
private
int SMDS_MeshInfo::myNb0DElements
private
int SMDS_MeshInfo::myNbBalls
private
int SMDS_MeshInfo::myNbTriQuadHexas
private
std::vector<int> SMDS_MeshInfo::myShift
private

Referenced by index(), and SMDS_MeshInfo().