SALOME - SMESH
|
#include <SMDS_MeshInfo.hxx>
SMDS_MeshInfo::SMDS_MeshInfo | ( | ) |
Definition at line 95 of file SMDS_MeshInfo.hxx.
References myShift, SMDSAbs_NbElementTypes, SMDSAbs_Face, SMDSAbs_Edge, SMDSAbs_0DElement, myNb, index(), SMDSAbs_Volume, SMDSAbs_Node, myNbNodes, myNb0DElements, myNbEdges, myNbQuadEdges, myNbTriangles, myNbQuadrangles, myNbQuadTriangles, myNbQuadQuadrangles, myNbTetras, myNbPyramids, myNbPrisms, myNbHexas, myNbQuadTetras, myNbQuadPyramids, myNbQuadPrisms, and myNbQuadHexas.
void SMDS_MeshInfo::Clear | ( | ) |
Definition at line 169 of file SMDS_MeshInfo.hxx.
References myNb, myNbPolygons, and myNbPolyhedrons.
int SMDS_MeshInfo::NbNodes | ( | ) | const |
Definition at line 47 of file SMDS_MeshInfo.hxx.
int SMDS_MeshInfo::NbElements | ( | SMDSAbs_ElementType | type = SMDSAbs_All | ) | const |
Definition at line 235 of file SMDS_MeshInfo.hxx.
References SMDSAbs_All, index(), SMDSAbs_Node, myNb, myNbPolygons, myNbPolyhedrons, SMDSAbs_Volume, myNbTetras, myNbPyramids, myNbPrisms, myNbHexas, myNbQuadTetras, myNbQuadPyramids, myNbQuadPrisms, myNbQuadHexas, SMDSAbs_Face, myNbTriangles, myNbQuadrangles, myNbQuadTriangles, myNbQuadQuadrangles, SMDSAbs_Edge, myNbEdges, myNbQuadEdges, SMDSAbs_0DElement, myNb0DElements, and myNbNodes.
int SMDS_MeshInfo::NbEntities | ( | SMDSAbs_EntityType | type | ) | const |
Definition at line 265 of file SMDS_MeshInfo.hxx.
References SMDSEntity_Node, myNbNodes, SMDSEntity_0D, myNb0DElements, SMDSEntity_Edge, myNbEdges, SMDSEntity_Quad_Edge, myNbQuadEdges, SMDSEntity_Triangle, myNbTriangles, SMDSEntity_Quad_Triangle, myNbQuadTriangles, SMDSEntity_Quadrangle, myNbQuadrangles, SMDSEntity_Quad_Quadrangle, myNbQuadQuadrangles, SMDSEntity_Polygon, myNbPolygons, SMDSEntity_Tetra, myNbTetras, SMDSEntity_Quad_Tetra, myNbQuadTetras, SMDSEntity_Pyramid, myNbPyramids, SMDSEntity_Quad_Pyramid, myNbQuadPyramids, SMDSEntity_Hexa, myNbHexas, SMDSEntity_Quad_Hexa, myNbQuadHexas, SMDSEntity_Penta, myNbPrisms, SMDSEntity_Quad_Penta, myNbQuadPrisms, SMDSEntity_Polyhedra, myNbPolyhedrons, SMDSEntity_Quad_Polygon, and SMDSEntity_Quad_Polyhedra.
int SMDS_MeshInfo::Nb0DElements | ( | ) | const |
Definition at line 51 of file SMDS_MeshInfo.hxx.
int SMDS_MeshInfo::NbEdges | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 199 of file SMDS_MeshInfo.hxx.
References ORDER_ANY, myNbEdges, myNbQuadEdges, and ORDER_LINEAR.
int SMDS_MeshInfo::NbFaces | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 203 of file SMDS_MeshInfo.hxx.
References NbTriangles(), NbQuadrangles(), ORDER_QUADRATIC, and myNbPolygons.
int SMDS_MeshInfo::NbTriangles | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 207 of file SMDS_MeshInfo.hxx.
References ORDER_ANY, myNbTriangles, myNbQuadTriangles, and ORDER_LINEAR.
Referenced by NbFaces().
int SMDS_MeshInfo::NbQuadrangles | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 211 of file SMDS_MeshInfo.hxx.
References ORDER_ANY, myNbQuadrangles, myNbQuadQuadrangles, and ORDER_LINEAR.
Referenced by NbFaces().
int SMDS_MeshInfo::NbPolygons | ( | ) | const |
Definition at line 56 of file SMDS_MeshInfo.hxx.
int SMDS_MeshInfo::NbVolumes | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 215 of file SMDS_MeshInfo.hxx.
References NbTetras(), NbHexas(), NbPyramids(), NbPrisms(), ORDER_QUADRATIC, and myNbPolyhedrons.
int SMDS_MeshInfo::NbTetras | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 219 of file SMDS_MeshInfo.hxx.
References ORDER_ANY, myNbTetras, myNbQuadTetras, and ORDER_LINEAR.
Referenced by NbVolumes().
int SMDS_MeshInfo::NbHexas | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 223 of file SMDS_MeshInfo.hxx.
References ORDER_ANY, myNbHexas, myNbQuadHexas, and ORDER_LINEAR.
Referenced by NbVolumes().
int SMDS_MeshInfo::NbPyramids | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 227 of file SMDS_MeshInfo.hxx.
References ORDER_ANY, myNbPyramids, myNbQuadPyramids, and ORDER_LINEAR.
Referenced by NbVolumes().
int SMDS_MeshInfo::NbPrisms | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const |
Definition at line 231 of file SMDS_MeshInfo.hxx.
References ORDER_ANY, myNbPrisms, myNbQuadPrisms, and ORDER_LINEAR.
Referenced by NbVolumes().
int SMDS_MeshInfo::NbPolyhedrons | ( | ) | const |
Definition at line 63 of file SMDS_MeshInfo.hxx.
void SMDS_MeshInfo::remove | ( | const SMDS_MeshElement * | el | ) | [private] |
Definition at line 179 of file SMDS_MeshInfo.hxx.
References myNb, index(), SMDS_MeshElement::GetType(), and SMDS_MeshElement::NbNodes().
void SMDS_MeshInfo::add | ( | const SMDS_MeshElement * | el | ) | [private] |
Definition at line 183 of file SMDS_MeshInfo.hxx.
References myNb, index(), SMDS_MeshElement::GetType(), and SMDS_MeshElement::NbNodes().
int SMDS_MeshInfo::index | ( | SMDSAbs_ElementType | type, |
int | nbNodes | ||
) | const [private] |
Definition at line 175 of file SMDS_MeshInfo.hxx.
References myShift.
Referenced by SMDS_MeshInfo(), remove(), add(), and NbElements().
void SMDS_MeshInfo::RemoveEdge | ( | const SMDS_MeshElement * | el | ) | [private] |
Definition at line 187 of file SMDS_MeshInfo.hxx.
References SMDS_MeshElement::IsQuadratic(), myNbQuadEdges, and myNbEdges.
void SMDS_MeshInfo::RemoveFace | ( | const SMDS_MeshElement * | el | ) | [private] |
Definition at line 191 of file SMDS_MeshInfo.hxx.
References SMDS_MeshElement::IsPoly(), and myNbPolygons.
void SMDS_MeshInfo::RemoveVolume | ( | const SMDS_MeshElement * | el | ) | [private] |
Definition at line 195 of file SMDS_MeshInfo.hxx.
References SMDS_MeshElement::IsPoly(), and myNbPolyhedrons.
friend class SMDS_Mesh [friend] |
Definition at line 66 of file SMDS_MeshInfo.hxx.
int SMDS_MeshInfo::myNbNodes [private] |
Definition at line 77 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNb0DElements [private] |
Definition at line 79 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbEdges [private] |
Definition at line 80 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), RemoveEdge(), NbEdges(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadEdges [private] |
Definition at line 80 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), RemoveEdge(), NbEdges(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbTriangles [private] |
Definition at line 81 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbTriangles(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadTriangles [private] |
Definition at line 81 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbTriangles(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadrangles [private] |
Definition at line 82 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbQuadrangles(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadQuadrangles [private] |
Definition at line 82 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbQuadrangles(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbPolygons [private] |
Definition at line 83 of file SMDS_MeshInfo.hxx.
Referenced by Clear(), RemoveFace(), NbFaces(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbTetras [private] |
Definition at line 85 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbTetras(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadTetras [private] |
Definition at line 85 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbTetras(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbHexas [private] |
Definition at line 86 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbHexas(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadHexas [private] |
Definition at line 86 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbHexas(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbPyramids [private] |
Definition at line 87 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbPyramids(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadPyramids [private] |
Definition at line 87 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbPyramids(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbPrisms [private] |
Definition at line 88 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbPrisms(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbQuadPrisms [private] |
Definition at line 88 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), NbPrisms(), NbElements(), and NbEntities().
int SMDS_MeshInfo::myNbPolyhedrons [private] |
Definition at line 89 of file SMDS_MeshInfo.hxx.
Referenced by Clear(), RemoveVolume(), NbVolumes(), NbElements(), and NbEntities().
std::vector<int*> SMDS_MeshInfo::myNb [private] |
Definition at line 91 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), Clear(), remove(), add(), and NbElements().
std::vector<int> SMDS_MeshInfo::myShift [private] |
Definition at line 92 of file SMDS_MeshInfo.hxx.
Referenced by SMDS_MeshInfo(), and index().