Version: 8.3.0
SMESH_MeshPartDS::TMeshInfo Struct Reference

Class used to access to protected data of SMDS_MeshInfo. More...

Inheritance diagram for SMESH_MeshPartDS::TMeshInfo:

Public Member Functions

void Add (const SMDS_MeshElement *e)
 
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)
 

Detailed Description

Class used to access to protected data of SMDS_MeshInfo.

Member Function Documentation

void SMESH_MeshPartDS::TMeshInfo::Add ( const SMDS_MeshElement e)
int SMDS_MeshInfo::NbBiQuadQuadrangles ( ) const
inherited
int SMDS_MeshInfo::NbBiQuadTriangles ( ) const
inherited
int SMDS_MeshInfo::NbElements ( SMDSAbs_ElementType  type = SMDSAbs_All) const
inherited

References SMDS_MeshInfo::index(), SMDS_MeshInfo::myNb, SMDS_MeshInfo::myNb0DElements, SMDS_MeshInfo::myNbBalls, SMDS_MeshInfo::myNbBiQuadQuadrangles, SMDS_MeshInfo::myNbBiQuadTriangles, SMDS_MeshInfo::myNbEdges, SMDS_MeshInfo::myNbHexas, SMDS_MeshInfo::myNbHexPrism, SMDS_MeshInfo::myNbNodes, SMDS_MeshInfo::myNbPolygons, SMDS_MeshInfo::myNbPolyhedrons, SMDS_MeshInfo::myNbPrisms, SMDS_MeshInfo::myNbPyramids, SMDS_MeshInfo::myNbQuadEdges, SMDS_MeshInfo::myNbQuadHexas, SMDS_MeshInfo::myNbQuadPolygons, SMDS_MeshInfo::myNbQuadPrisms, SMDS_MeshInfo::myNbQuadPyramids, SMDS_MeshInfo::myNbQuadQuadrangles, SMDS_MeshInfo::myNbQuadrangles, SMDS_MeshInfo::myNbQuadTetras, SMDS_MeshInfo::myNbQuadTriangles, SMDS_MeshInfo::myNbTetras, SMDS_MeshInfo::myNbTriangles, SMDS_MeshInfo::myNbTriQuadHexas, SMDSAbs_0DElement, SMDSAbs_All, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, and SMDSAbs_Volume.

Referenced by SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::DoubleElements(), SMESHDS_GroupOnFilter::GetElements(), MeshEditor_I::getElementsAround(), SMESH::Controls::NumericalFunctor::GetHistogram(), SMESH_GroupOnFilter_i::GetListOfID(), SMESH_GroupBase_i::GetNbElementsByType(), SMESH_subMesh_i::GetNbElementsByType(), SMESH_Mesh_i::GetNbElementsByType(), SMESHGUI_PreVisualObj::GetNbEntities(), SMESH_subMesh_i::GetNumberOfElements(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_ElementSearcherImpl::getTolerance(), SMESHDS_GroupBase::IsEmpty(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH_Mesh_i::NbElements(), SMDS_Mesh::NbElements(), DriverCGNS_Write::Perform(), DriverCGNS_Read::Perform(), DriverGMF_Read::Perform(), SMESH::Controls::ElementsOnSurface::process(), SMESH_Gen_i::Save(), SMESH_PreMeshInfo::SaveToFile(), DriverMED_W_Field::Set(), and SMESH_GroupBase_i::Size().

int SMDS_MeshInfo::NbElements ( SMDSAbs_EntityType  type) const
inherited
int SMDS_MeshInfo::NbElements ( SMDSAbs_GeometryType  type) const
inherited
int SMDS_MeshInfo::NbEntities ( SMDSAbs_EntityType  type) const
inherited

References SMDS_MeshInfo::myNb0DElements, SMDS_MeshInfo::myNbBalls, SMDS_MeshInfo::myNbBiQuadQuadrangles, SMDS_MeshInfo::myNbBiQuadTriangles, SMDS_MeshInfo::myNbEdges, SMDS_MeshInfo::myNbHexas, SMDS_MeshInfo::myNbHexPrism, SMDS_MeshInfo::myNbNodes, SMDS_MeshInfo::myNbPolygons, SMDS_MeshInfo::myNbPolyhedrons, SMDS_MeshInfo::myNbPrisms, SMDS_MeshInfo::myNbPyramids, SMDS_MeshInfo::myNbQuadEdges, SMDS_MeshInfo::myNbQuadHexas, SMDS_MeshInfo::myNbQuadPolygons, SMDS_MeshInfo::myNbQuadPrisms, SMDS_MeshInfo::myNbQuadPyramids, SMDS_MeshInfo::myNbQuadQuadrangles, SMDS_MeshInfo::myNbQuadrangles, SMDS_MeshInfo::myNbQuadTetras, SMDS_MeshInfo::myNbQuadTriangles, SMDS_MeshInfo::myNbTetras, SMDS_MeshInfo::myNbTriangles, SMDS_MeshInfo::myNbTriQuadHexas, SMDSEntity_0D, SMDSEntity_Ball, SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Hexagonal_Prism, SMDSEntity_Last, SMDSEntity_Node, SMDSEntity_Penta, SMDSEntity_Polygon, SMDSEntity_Polyhedra, SMDSEntity_Pyramid, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Polyhedra, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, SMDSEntity_Quadrangle, SMDSEntity_Tetra, SMDSEntity_Triangle, and SMDSEntity_TriQuad_Hexa.

Referenced by StdMeshers_Import_1D::Evaluate(), StdMeshers_Import_1D2D::Evaluate(), SMESH_PreMeshInfo::getElemType(), SMESH_PreMeshInfo::GetMeshInfo(), SMESH_Mesh_i::GetMeshInfo(), SMESH_ProxyMesh::NbFaces(), and SMESH_PreMeshInfo::readGroupInfo().

int SMDS_MeshInfo::NbPolyhedrons ( ) const
inherited
int SMDS_MeshInfo::NbTriQuadHexas ( ) const
inherited
void SMDS_MeshInfo::setNb ( const SMDSAbs_EntityType  geomType,
const int  nb 
)
protectedinherited