#include <SMDS_Mesh.hxx>
Public Member Functions | |
SMDS_Mesh () | |
Create a new mesh object. More... | |
SMDS_UnstructuredGrid * | GetGrid () |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid More... | |
virtual SMDS_NodeIteratorPtr | nodesIterator () const |
Return an iterator on nodes of the current mesh factory. More... | |
virtual SMDS_EdgeIteratorPtr | edgesIterator () const |
Return an iterator on edges of the current mesh. More... | |
virtual SMDS_FaceIteratorPtr | facesIterator () const |
Return an iterator on faces of the current mesh. More... | |
virtual SMDS_VolumeIteratorPtr | volumesIterator () const |
Return an iterator on volumes of the current mesh. More... | |
virtual SMDS_ElemIteratorPtr | elementsIterator (SMDSAbs_ElementType type=SMDSAbs_All) const |
Return an iterator on elements of the current mesh factory. More... | |
virtual SMDS_ElemIteratorPtr | elementGeomIterator (SMDSAbs_GeometryType type) const |
virtual SMDS_ElemIteratorPtr | elementEntityIterator (SMDSAbs_EntityType type) const |
virtual SMDS_NodeIteratorPtr | shapeNodesIterator (int shapeID, size_t nbElemsToReturn=-1, const SMDS_MeshNode *sm1stNode=0) const |
virtual SMDS_ElemIteratorPtr | shapeElementsIterator (int shapeID, size_t nbElemsToReturn=-1, const SMDS_MeshElement *sm1stElem=0) const |
SMDSAbs_ElementType | GetElementType (const smIdType id, const bool iselem) const |
SMDS_Mesh * | AddSubMesh () |
Create a submesh and add it to the current mesh. More... | |
virtual SMDS_MeshNode * | AddNodeWithID (double x, double y, double z, smIdType ID) |
create a MeshNode and add it to the current Mesh More... | |
virtual SMDS_MeshNode * | AddNode (double x, double y, double z) |
create a MeshNode and add it to the current Mesh An ID is automatically assigned to the node. More... | |
virtual SMDS_Mesh0DElement * | Add0DElementWithID (smIdType n, smIdType ID) |
create a Mesh0DElement and add it to the current Mesh More... | |
virtual SMDS_Mesh0DElement * | Add0DElementWithID (const SMDS_MeshNode *n, smIdType ID) |
Create a new Mesh0DElement and at it to the mesh. More... | |
virtual SMDS_Mesh0DElement * | Add0DElement (const SMDS_MeshNode *n) |
create a Mesh0DElement and add it to the current Mesh More... | |
virtual SMDS_BallElement * | AddBallWithID (smIdType n, double diameter, smIdType ID) |
create a Ball and add it to the current Mesh More... | |
virtual SMDS_BallElement * | AddBallWithID (const SMDS_MeshNode *n, double diameter, smIdType ID) |
Create a new Ball and at it to the mesh. More... | |
virtual SMDS_BallElement * | AddBall (const SMDS_MeshNode *n, double diameter) |
create a Ball and add it to the current Mesh More... | |
virtual SMDS_MeshEdge * | AddEdgeWithID (smIdType n1, smIdType n2, smIdType ID) |
create a MeshEdge and add it to the current Mesh More... | |
virtual SMDS_MeshEdge * | AddEdgeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, smIdType ID) |
Create a new edge and at it to the mesh. More... | |
virtual SMDS_MeshEdge * | AddEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2) |
create a MeshEdge and add it to the current Mesh More... | |
virtual SMDS_MeshEdge * | AddEdgeWithID (smIdType n1, smIdType n2, smIdType n12, smIdType ID) |
virtual SMDS_MeshEdge * | AddEdgeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12, smIdType ID) |
virtual SMDS_MeshEdge * | AddEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12) |
virtual SMDS_MeshFace * | AddFaceWithID (smIdType n1, smIdType n2, smIdType n3, smIdType ID) |
Add a triangle defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, smIdType ID) |
Add a triangle defined by its nodes. More... | |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3) |
Add a triangle defined by its nodes. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType ID) |
Add a quadrangle defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, smIdType ID) |
Add a quadrangle defined by its nodes. More... | |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4) |
Add a quadrangle defined by its nodes. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n12, smIdType n23, smIdType n31, smIdType ID) |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, smIdType ID) |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31) |
virtual SMDS_MeshFace * | AddFaceWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n12, smIdType n23, smIdType n31, smIdType nCenter, smIdType ID) |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *nCenter, smIdType ID) |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *nCenter) |
virtual SMDS_MeshFace * | AddFaceWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n12, smIdType n23, smIdType n34, smIdType n41, smIdType ID) |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, smIdType ID) |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41) |
virtual SMDS_MeshFace * | AddFaceWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n12, smIdType n23, smIdType n34, smIdType n41, smIdType nCenter, smIdType ID) |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *nCenter, smIdType ID) |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *nCenter) |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType ID) |
Create a new tetrahedron and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, smIdType ID) |
Create a new tetrahedron and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4) |
Create a new tetrahedron and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType ID) |
Create a new pyramid and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, smIdType ID) |
Create a new pyramid and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5) |
Create a new pyramid and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n6, smIdType ID) |
Create a new prism and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, smIdType ID) |
Create a new prism and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6) |
Create a new prism and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n6, smIdType n7, smIdType n8, smIdType ID) |
Create a new hexahedron and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8, smIdType ID) |
Create a new hexahedron and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8) |
Create a new hexahedron and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n6, smIdType n7, smIdType n8, smIdType n9, smIdType n10, smIdType n11, smIdType n12, smIdType ID) |
Create a new hexagonal prism and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8, const SMDS_MeshNode *n9, const SMDS_MeshNode *n10, const SMDS_MeshNode *n11, const SMDS_MeshNode *n12, smIdType ID) |
Create a new hexagonal prism and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8, const SMDS_MeshNode *n9, const SMDS_MeshNode *n10, const SMDS_MeshNode *n11, const SMDS_MeshNode *n12) |
Create a new hexagonal prism and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n12, smIdType n23, smIdType n31, smIdType n14, smIdType n24, smIdType n34, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *n14, const SMDS_MeshNode *n24, const SMDS_MeshNode *n34, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *n14, const SMDS_MeshNode *n24, const SMDS_MeshNode *n34) |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n12, smIdType n23, smIdType n34, smIdType n41, smIdType n15, smIdType n25, smIdType n35, smIdType n45, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *n15, const SMDS_MeshNode *n25, const SMDS_MeshNode *n35, const SMDS_MeshNode *n45, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *n15, const SMDS_MeshNode *n25, const SMDS_MeshNode *n35, const SMDS_MeshNode *n45) |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n6, smIdType n12, smIdType n23, smIdType n31, smIdType n45, smIdType n56, smIdType n64, smIdType n14, smIdType n25, smIdType n36, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *n45, const SMDS_MeshNode *n56, const SMDS_MeshNode *n64, const SMDS_MeshNode *n14, const SMDS_MeshNode *n25, const SMDS_MeshNode *n36, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *n45, const SMDS_MeshNode *n56, const SMDS_MeshNode *n64, const SMDS_MeshNode *n14, const SMDS_MeshNode *n25, const SMDS_MeshNode *n36) |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n6, smIdType n12, smIdType n23, smIdType n31, smIdType n45, smIdType n56, smIdType n64, smIdType n14, smIdType n25, smIdType n36, smIdType n1245, smIdType n2356, smIdType n1346, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *n45, const SMDS_MeshNode *n56, const SMDS_MeshNode *n64, const SMDS_MeshNode *n14, const SMDS_MeshNode *n25, const SMDS_MeshNode *n36, const SMDS_MeshNode *n1245, const SMDS_MeshNode *n2356, const SMDS_MeshNode *n1346, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n31, const SMDS_MeshNode *n45, const SMDS_MeshNode *n56, const SMDS_MeshNode *n64, const SMDS_MeshNode *n14, const SMDS_MeshNode *n25, const SMDS_MeshNode *n36, const SMDS_MeshNode *n1245, const SMDS_MeshNode *n2356, const SMDS_MeshNode *n1346) |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n6, smIdType n7, smIdType n8, smIdType n12, smIdType n23, smIdType n34, smIdType n41, smIdType n56, smIdType n67, smIdType n78, smIdType n85, smIdType n15, smIdType n26, smIdType n37, smIdType n48, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *n56, const SMDS_MeshNode *n67, const SMDS_MeshNode *n78, const SMDS_MeshNode *n85, const SMDS_MeshNode *n15, const SMDS_MeshNode *n26, const SMDS_MeshNode *n37, const SMDS_MeshNode *n48, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *n56, const SMDS_MeshNode *n67, const SMDS_MeshNode *n78, const SMDS_MeshNode *n85, const SMDS_MeshNode *n15, const SMDS_MeshNode *n26, const SMDS_MeshNode *n37, const SMDS_MeshNode *n48) |
virtual SMDS_MeshVolume * | AddVolumeWithID (smIdType n1, smIdType n2, smIdType n3, smIdType n4, smIdType n5, smIdType n6, smIdType n7, smIdType n8, smIdType n12, smIdType n23, smIdType n34, smIdType n41, smIdType n56, smIdType n67, smIdType n78, smIdType n85, smIdType n15, smIdType n26, smIdType n37, smIdType n48, smIdType n1234, smIdType n1256, smIdType n2367, smIdType n3478, smIdType n1458, smIdType n5678, smIdType nCenter, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *n56, const SMDS_MeshNode *n67, const SMDS_MeshNode *n78, const SMDS_MeshNode *n85, const SMDS_MeshNode *n15, const SMDS_MeshNode *n26, const SMDS_MeshNode *n37, const SMDS_MeshNode *n48, const SMDS_MeshNode *n1234, const SMDS_MeshNode *n1256, const SMDS_MeshNode *n2367, const SMDS_MeshNode *n3478, const SMDS_MeshNode *n1458, const SMDS_MeshNode *n5678, const SMDS_MeshNode *nCenter, smIdType ID) |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8, const SMDS_MeshNode *n12, const SMDS_MeshNode *n23, const SMDS_MeshNode *n34, const SMDS_MeshNode *n41, const SMDS_MeshNode *n56, const SMDS_MeshNode *n67, const SMDS_MeshNode *n78, const SMDS_MeshNode *n85, const SMDS_MeshNode *n15, const SMDS_MeshNode *n26, const SMDS_MeshNode *n37, const SMDS_MeshNode *n48, const SMDS_MeshNode *n1234, const SMDS_MeshNode *n1256, const SMDS_MeshNode *n2367, const SMDS_MeshNode *n3478, const SMDS_MeshNode *n1458, const SMDS_MeshNode *n5678, const SMDS_MeshNode *nCenter) |
virtual SMDS_MeshFace * | AddPolygonalFaceWithID (const std::vector< smIdType > &nodes_ids, const smIdType ID) |
Add a polygon defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddPolygonalFaceWithID (const std::vector< const SMDS_MeshNode * > &nodes, const smIdType ID) |
Add a polygon defined by its nodes. More... | |
virtual SMDS_MeshFace * | AddPolygonalFace (const std::vector< const SMDS_MeshNode * > &nodes) |
Add a polygon defined by its nodes. More... | |
virtual SMDS_MeshFace * | AddQuadPolygonalFaceWithID (const std::vector< smIdType > &nodes_ids, const smIdType ID) |
Add a quadratic polygon defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddQuadPolygonalFaceWithID (const std::vector< const SMDS_MeshNode * > &nodes, const smIdType ID) |
Add a quadratic polygon defined by its nodes. More... | |
virtual SMDS_MeshFace * | AddQuadPolygonalFace (const std::vector< const SMDS_MeshNode * > &nodes) |
Add a quadratic polygon defined by its nodes. More... | |
virtual SMDS_MeshVolume * | AddPolyhedralVolumeWithID (const std::vector< smIdType > &nodes_ids, const std::vector< int > &quantities, const smIdType ID) |
Create a new polyhedral volume and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddPolyhedralVolumeWithID (const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities, const smIdType ID) |
Create a new polyhedral volume and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddPolyhedralVolume (const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) |
Create a new polyhedral volume and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeFromVtkIds (const std::vector< vtkIdType > &vtkNodeIds) |
virtual SMDS_MeshFace * | AddFaceFromVtkIds (const std::vector< vtkIdType > &vtkNodeIds) |
virtual void | MoveNode (const SMDS_MeshNode *n, double x, double y, double z) |
virtual void | RemoveElement (const SMDS_MeshElement *elem, std::vector< const SMDS_MeshElement * > &removedElems, std::vector< const SMDS_MeshElement * > &removedNodes, const bool removenodes=false) |
virtual void | RemoveElement (const SMDS_MeshElement *elem, bool removenodes=false) |
virtual void | RemoveNode (const SMDS_MeshNode *node) |
Remove a node and all the elements which own this node. More... | |
virtual void | RemoveFreeElement (const SMDS_MeshElement *elem) |
Remove only the given element and only if it is free. More... | |
virtual void | Clear () |
Clear all data. More... | |
virtual bool | RemoveFromParent () |
virtual bool | RemoveSubMesh (const SMDS_Mesh *aMesh) |
bool | ChangeElementNodes (const SMDS_MeshElement *elem, const SMDS_MeshNode *nodes[], const int nbnodes) |
bool | ChangePolyhedronNodes (const SMDS_MeshElement *elem, const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) |
void | SetAllNodesNotMarked () |
void | SetAllCellsNotMarked () |
virtual void | CompactMesh () |
virtual bool | IsCompacted () |
virtual bool | HasNumerationHoles () |
are there holes in elements or nodes numeration More... | |
const SMDS_MeshNode * | FindNode (smIdType idnode) const |
Return the node whose SMDS ID is 'ID'. More... | |
const SMDS_MeshNode * | FindNodeVtk (vtkIdType idnode) const |
Return the node whose VTK ID is 'vtkId'. More... | |
const SMDS_MeshElement * | FindElementVtk (vtkIdType IDelem) const |
virtual const SMDS_MeshElement * | FindElement (smIdType IDelem) const |
virtual bool | Contains (const SMDS_MeshElement *elem) const |
Checks if the element is present in mesh. More... | |
virtual smIdType | MaxNodeID () const |
virtual smIdType | MinNodeID () const |
virtual smIdType | MaxElementID () const |
virtual smIdType | MinElementID () const |
const SMDS_MeshInfo & | GetMeshInfo () const |
virtual smIdType | NbNodes () const |
Return the number of nodes. More... | |
virtual smIdType | NbElements () const |
Return the number of elements. More... | |
virtual smIdType | Nb0DElements () const |
Return the number of 0D elements. More... | |
virtual smIdType | NbBalls () const |
Return the number of 0D elements. More... | |
virtual smIdType | NbEdges () const |
Return the number of edges (including construction edges) More... | |
virtual smIdType | NbFaces () const |
Return the number of faces (including construction faces) More... | |
virtual smIdType | NbVolumes () const |
Return the number of volumes. More... | |
virtual smIdType | NbSubMesh () const |
Return the number of child mesh of this mesh. More... | |
virtual | ~SMDS_Mesh () |
Destroy the mesh and all its elements All pointer on elements owned by this mesh become illegals. More... | |
double | getMaxDim () |
smIdType | FromVtkToSmds (vtkIdType vtkid) const |
void | dumpGrid (std::string ficdump="dumpGrid") |
void | setMyModified () |
low level modification: add, change or remove node or element More... | |
void | Modified () |
modification that needs compact structure and redraw More... | |
vtkMTimeType | GetMTime () const |
get last modification timeStamp More... | |
Static Public Member Functions | |
template<class ELEMTYPE > | |
static const ELEMTYPE * | DownCast (const SMDS_MeshElement *e) |
static const SMDS_Mesh0DElement * | Find0DElement (const SMDS_MeshNode *n) |
static const SMDS_BallElement * | FindBall (const SMDS_MeshNode *n) |
static const SMDS_MeshEdge * | FindEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2) |
static const SMDS_MeshEdge * | FindEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3) |
static const SMDS_MeshFace * | FindFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3) |
static const SMDS_MeshFace * | FindFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4) |
static const SMDS_MeshFace * | FindFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6) |
static const SMDS_MeshFace * | FindFace (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4, const SMDS_MeshNode *n5, const SMDS_MeshNode *n6, const SMDS_MeshNode *n7, const SMDS_MeshNode *n8) |
static const SMDS_MeshFace * | FindFace (const std::vector< const SMDS_MeshNode * > &nodes) |
static const SMDS_MeshElement * | FindElement (const std::vector< const SMDS_MeshNode * > &nodes, const SMDSAbs_ElementType type=SMDSAbs_All, const bool noMedium=true) |
Return element based on all given nodes. More... | |
static int | GetElementsByNodes (const std::vector< const SMDS_MeshNode * > &nodes, std::vector< const SMDS_MeshElement * > &foundElems, const SMDSAbs_ElementType type=SMDSAbs_All) |
Return elements including all given nodes. More... | |
static int | CheckMemory (const bool doNotRaise=false) |
Raise an exception if free memory (ram+swap) too low. More... | |
Static Public Attributes | |
static int | chunkSize = 1024 |
Protected Member Functions | |
SMDS_Mesh (SMDS_Mesh *parent) | |
Create a new child mesh Note that the tree structure of SMDS_Mesh seems to be unused in this version (2003-09-08) of SMESH. More... | |
void | addChildrenWithNodes (std::set< const SMDS_MeshElement * > &setOfChildren, const SMDS_MeshElement *element, std::set< const SMDS_MeshElement * > &nodes) |
Find the children of an element that are made of given nodes. More... | |
void | adjustBoundingBox (double x, double y, double z) |
void | updateInverseElements (const SMDS_MeshElement *element, const SMDS_MeshNode *const *nodes, const int nbnodes, std::set< const SMDS_MeshNode * > &oldNodes) |
void | setNbShapes (size_t nbShapes) |
Protected Attributes | |
SMDS_UnstructuredGrid * | myGrid |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid More... | |
SMDS_NodeFactory * | myNodeFactory |
Small objects like SMDS_MeshNode are allocated by chunks to limit memory costs of new. More... | |
SMDS_ElementFactory * | myCellFactory |
SMDS_Mesh * | myParent |
std::list< SMDS_Mesh * > | myChildren |
SMDS_MeshInfo | myInfo |
bool | myModified |
any add, remove or change of node or cell More... | |
unsigned long | myModifTime |
use a counter to keep track of modifications More... | |
unsigned long | myCompactTime |
std::set< SMDS_ElementHolder * > | myElemHolders |
double | xmin |
double | xmax |
double | ymin |
double | ymax |
double | zmin |
double | zmax |
Friends | |
class | SMDS_ElementHolder |
SMDS_Mesh::SMDS_Mesh | ( | ) |
Create a new mesh object.
References SMDS_MeshCell::InitStaticMembers(), Modified(), myGrid, SMDS_UnstructuredGrid::New(), and SMDS_UnstructuredGrid::setSMDS_mesh().
Referenced by AddSubMesh().
|
virtual |
Destroy the mesh and all its elements All pointer on elements owned by this mesh become illegals.
References myCellFactory, myChildren, myGrid, and myNodeFactory.
|
protected |
|
virtual |
create a Mesh0DElement and add it to the current Mesh
Reimplemented in SMESHDS_Mesh.
References Add0DElementWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::Add0DElement().
|
virtual |
Create a new Mesh0DElement and at it to the mesh.
idnode | ID of the node |
ID | ID of the 0D element to create |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNb0DElements, Nb0DElements(), SMDS_ElementFactory::NewCell(), and SMDSEntity_0D.
|
virtual |
create a Mesh0DElement and add it to the current Mesh
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by Add0DElement(), and SMESHDS_Mesh::Add0DElementWithID().
|
virtual |
create a Ball and add it to the current Mesh
Reimplemented in SMESHDS_Mesh.
References AddBallWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::AddBall().
|
virtual |
Create a new Ball and at it to the mesh.
idnode | ID of the node |
ID | ID of the 0D element to create |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, SMDS_BallElement::init(), myCellFactory, myInfo, SMDS_MeshInfo::myNbBalls, NbBalls(), and SMDS_ElementFactory::NewElement().
|
virtual |
create a Ball and add it to the current Mesh
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by AddBall(), and SMESHDS_Mesh::AddBallWithID().
|
protected |
Find the children of an element that are made of given nodes.
setOfChildren | The set in which matching children will be inserted |
element | The element were to search matching children |
nodes | The nodes that the children must have to be selected |
References SMDS_MeshElement::GetType(), SMDS_MeshElement::nodesIterator(), SMDSAbs_0DElement, SMDSAbs_All, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_NbElementTypes, SMDSAbs_Node, and SMDSAbs_Volume.
Referenced by RemoveElement().
|
virtual |
create a MeshEdge and add it to the current Mesh
Reimplemented in SMESHDS_Mesh.
References AddEdgeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::AddEdge(), and SMESH_MeshAlgos::MakePolyLine().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddEdgeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References SMDS_MeshCell::init(), myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadEdges, SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Edge.
|
virtual |
Create a new edge and at it to the mesh.
idnode1 | ID of the first node |
idnode2 | ID of the second node |
ID | ID of the edge to create |
Reimplemented in SMESHDS_Mesh.
References SMDS_MeshCell::init(), myCellFactory, myInfo, SMDS_MeshInfo::myNbEdges, SMDS_ElementFactory::NewCell(), and SMDSEntity_Edge.
|
virtual |
create a MeshEdge and add it to the current Mesh
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by AddEdge(), SMESHDS_Mesh::AddEdgeWithID(), AddEdgeWithID(), and SMESHGUI_SewingDlg::BorderGroupDisplayer::Update().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddEdgeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Add a triangle defined by its nodes.
An ID is automatically affected to the Created face
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::AddFace(), SMESH_MeshAlgos::Intersector::CutByPlanes(), SMESH_MeshAlgos::MakeOffset(), DriverSTL_R_SMDS_Mesh::readAscii(), and DriverSTL_R_SMDS_Mesh::readBinary().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Add a quadrangle defined by its nodes.
An ID is automatically affected to the created face
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbBiQuadTriangles, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_BiQuad_Triangle.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadTriangles, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Triangle.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbBiQuadQuadrangles, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_BiQuad_Quadrangle.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadQuadrangles, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Quadrangle.
|
virtual |
Add a quadrangle defined by its nodes.
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadrangles, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quadrangle.
|
virtual |
Add a triangle defined by its nodes.
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbTriangles, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Triangle.
|
virtual |
Add a triangle defined by its nodes IDs.
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by AddFace(), SMESHDS_Mesh::AddFaceWithID(), and AddFaceWithID().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Add a quadrangle defined by its nodes IDs.
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddFaceWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
create a MeshNode and add it to the current Mesh An ID is automatically assigned to the node.
Reimplemented in SMESHDS_Mesh.
References AddNodeWithID(), SMDS_ElementFactory::GetFreeID(), and myNodeFactory.
Referenced by addNode(), SMESHDS_Mesh::AddNode(), SMESH_MeshAlgos::Intersector::Algo::createNode(), SMESH_MeshAlgos::Intersector::CutByPlanes(), SMDS_UnstructuredGrid::extrudeVolumeFromFace(), SMESH_MeshEditor_i::FindSharpEdges(), SMESH_MeshAlgos::MakeOffset(), SMESH_MeshAlgos::MakePolyLine(), SMESHGUI_AddNodeOnFaceOp::processStyleEvents(), and SMESHGUI_SewingDlg::BorderGroupDisplayer::Update().
|
virtual |
create a MeshNode and add it to the current Mesh
ID | : The ID of the MeshNode to create |
Reimplemented in SMESHDS_Mesh.
References adjustBoundingBox(), SMDS_MeshNode::init(), myInfo, myModified, SMDS_MeshInfo::myNbNodes, myNodeFactory, and SMDS_NodeFactory::NewNode().
Referenced by AddNode(), SMESHDS_Mesh::AddNodeWithID(), and SMESH_MeshAlgos::MakeOffset().
|
virtual |
Add a polygon defined by its nodes.
An ID is automatically affected to the created face.
Reimplemented in SMESHDS_Mesh.
References AddPolygonalFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::AddPolygonalFace(), SMESH_MeshAlgos::Intersector::CutByPlanes(), SMESH_MeshAlgos::MakeOffset(), and SMESHGUI_AddNodeOnFaceOp::processStyleEvents().
|
virtual |
Add a polygon defined by its nodes.
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbPolygons, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Polygon.
|
virtual |
Add a polygon defined by its nodes IDs.
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by AddPolygonalFace(), and SMESHDS_Mesh::AddPolygonalFaceWithID().
|
virtual |
Create a new polyhedral volume and add it to the mesh.
Reimplemented in SMESHDS_Mesh.
References AddPolyhedralVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::AddPolyhedralVolume().
|
virtual |
Create a new polyhedral volume and add it to the mesh.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, SMDS_MeshVolume::init(), myCellFactory, myInfo, SMDS_MeshInfo::myNbPolyhedrons, NbVolumes(), and SMDS_ElementFactory::NewCell().
|
virtual |
Create a new polyhedral volume and add it to the mesh.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by AddPolyhedralVolume(), and SMESHDS_Mesh::AddPolyhedralVolumeWithID().
|
virtual |
Add a quadratic polygon defined by its nodes.
An ID is automatically affected to the created face.
Reimplemented in SMESHDS_Mesh.
References AddQuadPolygonalFaceWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::AddQuadPolygonalFace(), and SMESH_MeshAlgos::MakeOffset().
|
virtual |
Add a quadratic polygon defined by its nodes.
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadPolygons, NbFaces(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Polygon.
|
virtual |
Add a quadratic polygon defined by its nodes IDs.
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by AddQuadPolygonalFace(), and SMESHDS_Mesh::AddQuadPolygonalFaceWithID().
SMDS_Mesh * SMDS_Mesh::AddSubMesh | ( | ) |
Create a submesh and add it to the current mesh.
References myChildren, and SMDS_Mesh().
|
virtual |
Create a new tetrahedron and add it to the mesh.
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
Referenced by SMESHDS_Mesh::AddVolume().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Create a new pyramid and add it to the mesh.
Nodes 1,2,3 and 4 define the base of the pyramid
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Create a new prism and add it to the mesh.
Nodes 1,2,3 is a triangle and 1,2,5,4 a quadrangle.
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Create a new hexahedron and add it to the mesh.
Nodes 1,2,3,4 and 5,6,7,8 are quadrangle and 5,1 and 7,3 are an edges.
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
Create a new hexagonal prism and add it to the mesh.
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_ElementFactory::GetFreeID(), and myCellFactory.
|
virtual |
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadTetras, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Tetra.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadPyramids, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Pyramid.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbBiQuadPrisms, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_BiQuad_Penta.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadPrisms, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Penta.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbTriQuadHexas, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_TriQuad_Hexa.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbQuadHexas, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Quad_Hexa.
|
virtual |
Create a new hexagonal prism and add it to the mesh.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbHexPrism, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Hexagonal_Prism.
|
virtual |
Create a new hexahedron and add it to the mesh.
Nodes 1,2,3,4 and 5,6,7,8 are quadrangle and 5,1 and 7,3 are an edges.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbHexas, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Hexa.
|
virtual |
Create a new prism and add it to the mesh.
Nodes 1,2,3 is a triangle and 1,2,5,4 a quadrangle.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbPrisms, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Penta.
|
virtual |
Create a new pyramid and add it to the mesh.
Nodes 1,2,3 and 4 define the base of the pyramid
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbPyramids, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Pyramid.
|
virtual |
Create a new tetrahedron and add it to the mesh.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References CheckMemory(), CHECKMEMORY_INTERVAL, myCellFactory, myInfo, SMDS_MeshInfo::myNbTetras, NbVolumes(), SMDS_ElementFactory::NewCell(), and SMDSEntity_Tetra.
|
virtual |
Create a new tetrahedron and add it to the mesh.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by AddVolume(), SMESHDS_Mesh::AddVolumeWithID(), and AddVolumeWithID().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Create a new pyramid and add it to the mesh.
Nodes 1,2,3 and 4 define the base of the pyramid
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Create a new prism and add it to the mesh.
Nodes 1,2,3 is a triangle and 1,2,5,4 a quadrangle.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Create a new hexahedron and add it to the mesh.
Nodes 1,2,3,4 and 5,6,7,8 are quadrangle and 5,1 and 7,3 are an edges.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
virtual |
Create a new hexagonal prism and add it to the mesh.
ID | The ID of the new volume |
Reimplemented in SMESHDS_Mesh.
References AddVolumeWithID(), SMDS_NodeFactory::FindNode(), and myNodeFactory.
|
protected |
Referenced by AddNodeWithID().
bool SMDS_Mesh::ChangeElementNodes | ( | const SMDS_MeshElement * | elem, |
const SMDS_MeshNode * | nodes[], | ||
const int | nbnodes | ||
) |
References SMDS_MeshElement::begin_nodes(), SMDS_MeshElement::end_nodes(), setMyModified(), and updateInverseElements().
Referenced by SMESHDS_Mesh::ChangeElementNodes(), SMESH_MeshAlgos::MakeOffset(), and SMESH_Client::Update().
bool SMDS_Mesh::ChangePolyhedronNodes | ( | const SMDS_MeshElement * | elem, |
const std::vector< const SMDS_MeshNode * > & | nodes, | ||
const std::vector< int > & | quantities | ||
) |
References SMDS_MeshElement::begin_nodes(), SMDS_MeshElement::end_nodes(), setMyModified(), and updateInverseElements().
Referenced by SMESHDS_Mesh::ChangePolyhedronNodes().
|
static |
Raise an exception if free memory (ram+swap) too low.
doNotRaise | - if true, suppress exception, just return free memory size |
int | - amount of available memory in MB or negative number in failure case |
References MESSAGE.
Referenced by Add0DElementWithID(), AddBallWithID(), AddFaceWithID(), AddPolygonalFaceWithID(), AddPolyhedralVolumeWithID(), AddQuadPolygonalFaceWithID(), AddVolumeWithID(), SMESH_VisualObjDef::buildElemPrs(), SMESH_VisualObjDef::buildNodePrs(), SMESHGUI_BaseComputeOp::computeMesh(), SMESH_subMesh::ComputeStateEngine(), and SMESH::GetVisualObj().
|
virtual |
Clear all data.
References SMDS_ElementFactory::Clear(), SMDS_NodeFactory::Clear(), SMDS_MeshInfo::Clear(), SMDS_UnstructuredGrid::DeleteLinks(), myCellFactory, myChildren, myElemHolders, myGrid, myInfo, myModified, myModifTime, myNodeFactory, xmax, xmin, ymax, ymin, zmax, and zmin.
Referenced by SMESHDS_Mesh::ClearMesh(), SMESHGUI_SewingDlg::BorderGroupDisplayer::Update(), and SMESH_Client::Update().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References SMDS_ElementFactory::Compact(), SMDS_NodeFactory::Compact(), SMDS_UnstructuredGrid::compactGrid(), SMDS_ElementFactory::GetMaxID(), HasNumerationHoles(), myCellFactory, myCompactTime, myElemHolders, myGrid, myModifTime, myNodeFactory, and SMDS_ElementFactory::NbUsedElements().
Referenced by SMESHDS_Mesh::CompactMesh(), and DriverSTL_R_SMDS_Mesh::Perform().
|
virtual |
Checks if the element is present in mesh.
References SMDS_ElementFactory::FindElement(), SMDS_MeshElement::GetID(), SMDS_MeshElement::GetType(), SMDS_MeshElement::IsNull(), myCellFactory, myNodeFactory, and SMDSAbs_Node.
Referenced by SMDS_ElementHolder::beforeCompacting(), and SMESH_MeshAlgos::MakeSlot().
|
static |
References SMDS_MeshElement::GetType(), and SMDS_MeshElement::IsNull().
Referenced by StdMeshers_Projection_3D::Compute(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), SMESH::Controls::BallDiameter::GetValue(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), and SMESHGUI_ExtrusionDlg::SelectionIntoArgument().
void SMDS_Mesh::dumpGrid | ( | std::string | ficdump = "dumpGrid" | ) |
References SMDS_UnstructuredGrid::GetLinks(), and myGrid.
|
virtual |
Return an iterator on edges of the current mesh.
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::CompactChangePointers(), SMDS_ElementFactory::GetIterator(), myCellFactory, myInfo, SMDS_MeshInfo::NbEdges(), and SMDSAbs_Edge.
Referenced by SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshAlgos::FindSharpEdges(), and SMESH_MeshObj::GetEntities().
|
virtual |
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::CompactChangePointers(), SMDS_ElementFactory::GetIterator(), myCellFactory, myInfo, myNodeFactory, SMDS_MeshInfo::NbElements(), and SMDSEntity_Node.
Referenced by SMESH_MeshPartDS::elementEntityIterator(), DriverGMF_Write::elementIterator(), and DriverMED_W_SMESHDS_Mesh::PerformInternal().
|
virtual |
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::CompactChangePointers(), SMDS_ElementFactory::GetIterator(), myCellFactory, myInfo, and SMDS_MeshInfo::NbElements().
Referenced by SMESH_MeshPartDS::elementGeomIterator(), DriverGMF_Write::elementIterator(), SMESH_MeshObj::GetEntities(), and DriverMED_W_SMESHDS_Mesh::PerformInternal().
|
virtual |
Return an iterator on elements of the current mesh factory.
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::CompactChangePointers(), SMDS_ElementFactory::GetIterator(), myCellFactory, myInfo, myNodeFactory, SMDS_MeshInfo::NbElements(), SMDSAbs_All, and SMDSAbs_Node.
Referenced by SMESH_Gen_i::_GetInside(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::Create0DElementsOnAllNodes(), SMESH_MeshEditor::DoubleElements(), DriverGMF_Write::elementIterator(), SMESH_MeshPartDS::elementsIterator(), SMESH_MeshEditor::FindEqualElements(), SMESHDS_GroupOnFilter::GetElements(), SMESH_Mesh_i::GetElements(), SMESH_Mesh_i::GetElementsByType(), SMESH_Mesh_i::GetElementsId(), SMESH::Controls::Filter::GetElementsId(), SMESH_MeshObj::GetEntities(), DriverSTL_W_SMDS_Mesh::getFaces(), SMESH_ProxyMesh::GetFaces(), SMESH::Filter_i::GetMeshInfo(), SMESH::Filter_i::GetNbElementsByType(), DriverMED_W_Field::GetOrderedElems(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_ElementSearcherImpl::getTolerance(), SMESH::Filter_i::GetTypes(), StdMeshers_Import_1D::importMesh(), SMESH_Pattern::Load(), SMESH_MeshEditor::MakeBoundaryMesh(), SMESH_MeshEditor_i::MakePolyLine(), StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers(), SMESH_MeshEditor::Offset(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH::Controls::ElementsOnSurface::process(), SMESH_MeshEditor::QuadTo4Tri(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_MeshEditor::Reorient2DBy3D(), SMESH_Mesh_i::ReplaceShape(), SMESH_Gen_i::Save(), DriverMED_W_Field::Set(), SMESHDS_GroupOnFilter::setNbElemToSkip(), and SMESH_MeshEditor::Transform().
|
virtual |
Return an iterator on faces of the current mesh.
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::CompactChangePointers(), SMDS_ElementFactory::GetIterator(), myCellFactory, myInfo, SMDS_MeshInfo::NbFaces(), and SMDSAbs_Face.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshAlgos::FindCoincidentFreeBorders(), SMESH_MeshAlgos::FindFreeBorders(), SMESH_MeshAlgos::FindSharpEdges(), SMESH::Controls::FreeEdges::GetBoreders(), SMESH_MeshObj::GetEntities(), SMESH::Controls::MultiConnection2D::GetValues(), SMESH::Controls::Length2D::GetValues(), isMeshBoundToShape(), SMESH_MesherHelper::IsQuadraticSubMesh(), SMESH::Controls::ManifoldPart::process(), SMESH_MeshEditor::Reorient2D(), SMESH_MeshAlgos::SeparateFacesByEdges(), SMESH_MeshEditor::Smooth(), and DriverSTL_W_SMDS_Mesh::writeBinary().
|
static |
|
static |
|
static |
References SMDS_MeshNode::GetInverseElementIterator(), SMDS_MeshElement::GetNodeIndex(), SMDS_MeshElement::NbNodes(), and SMDSAbs_Edge.
Referenced by StdMeshers_Projection_1D2D::Compute(), SMDS_VolumeTool::GetAllExistingEdges(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor::MakeBoundaryMesh(), and SMESH_MeshEditor::makeWalls().
|
static |
|
static |
Return element based on all given nodes.
nodes | - node of element |
type | - type of element |
noMedium | - true if medium nodes of quadratic element are not included in <nodes> |
const | SMDS_MeshElement* - found element or NULL |
References SMDS_MeshElement::GetNodeIndex(), SMDS_MeshElement::NbCornerNodes(), and SMDS_MeshElement::NbNodes().
|
virtual |
References SMDS_ElementFactory::FindElement(), and myCellFactory.
Referenced by SMESH_Gen_i::_GetInside(), SMESH_MeshEditor_i::AddNodeOnFace(), SMESH_MeshEditor_i::AddPolyhedralVolumeByFaces(), SMESH_Pattern_i::ApplyToHexahedrons(), SMESH_Pattern_i::ApplyToMeshFaces(), MeshEditor_I::arrayToSet(), SMESH_Mesh_i::BaryCenter(), SMESH_MeshEditor_i::BestSplit(), SMESH_MeshEditor_i::ChangeElemNodes(), SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), StdMeshers_Import_1D2D::Compute(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::CreateHoleSkin(), SMESHGUI_CuttingOfQuadsDlg::displayPreview(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMESH::SelectionProxy::elementConnectivity(), SMESH::SelectionProxy::elementControl(), SMESH::SelectionProxy::elementEntityType(), SMESH::SelectionProxy::elementGravityCenter(), SMESH::SelectionProxy::elementNormal(), SMESH::SelectionProxy::elementType(), SMESH_Mesh_i::ElemNbEdges(), SMESH_Mesh_i::ElemNbFaces(), enlargeBoundingBox(), SMESH_Mesh_i::FaceGroupsSeparatedByEdges(), SMESH_MeshPartDS::FindElement(), FindFace(), SMESH_Gen_i::FindGeometryByMeshElement(), SMESHGUI_MergeDlg::FindGravityCenter(), SMESHDS_GroupBase::findInMesh(), DriverSTL_W_SMDS_Mesh::findVolumeTriangles(), SMESH_Mesh_i::GetBallDiameter(), SMESH_VisualObjDef::GetEdgeNodes(), SMESHGUI_PreVisualObj::GetEdgeNodes(), SMESH_MeshObj::GetElemDimension(), SMESHGUI_PreVisualObj::GetElemDimension(), SMESH_Mesh_i::GetElementGeomType(), SMESH_Mesh_i::GetElementPosition(), SMESH_Mesh_i::GetElementShape(), SMESH_Mesh_i::GetElemNbNodes(), SMESH_Mesh_i::GetElemNode(), SMESHGUI_PreVisualObj::GetElemVTKId(), getNodesFromElems(), getPointers(), SMESH_Mesh_i::GetShapeIDForElem(), SMESH::Controls::NumericalFunctor::GetValue(), SMESH::Controls::Volume::GetValue(), SMESH::Controls::MaxElementLength3D::GetValue(), SMESH::Controls::AspectRatio::GetValue(), SMESH::Controls::AspectRatio3D::GetValue(), SMESH::Controls::MultiConnection2D::GetValue(), SMESH::Controls::BallDiameter::GetValue(), SMESH::Controls::ScaledJacobian::GetValue(), SMESH::SelectionProxy::hasElement(), MeshEditor_I::idSourceToNodeSet(), StdMeshers_Import_1D::importMesh(), SMESH::Controls::NumericalFunctor::IsApplicable(), SMESH_Mesh_i::IsMediumNode(), SMESHGUI_PredicateFilter::IsObjValid(), SMESHGUI_QuadrangleFilter::IsObjValid(), SMESHGUI_TriangleFilter::IsObjValid(), SMESHGUI_FacesFilter::IsObjValid(), SMESHGUI_VolumesFilter::IsObjValid(), SMESHGUI_VolumeShapeFilter::IsObjValid(), SMESH_Mesh_i::IsPoly(), SMESH_Mesh_i::IsQuadratic(), SMESH::Controls::CoincidentElements::IsSatisfy(), SMESH::Controls::BadOrientedVolume::IsSatisfy(), SMESH::Controls::ElemEntityType::IsSatisfy(), SMESH::Controls::BareBorderVolume::IsSatisfy(), SMESH::Controls::BareBorderFace::IsSatisfy(), SMESH::Controls::OverConstrainedVolume::IsSatisfy(), SMESH::Controls::OverConstrainedFace::IsSatisfy(), SMESH::Controls::FreeEdges::IsSatisfy(), SMESH::Controls::ElementsOnShape::IsSatisfy(), SMESH::Controls::BelongToGeom::IsSatisfy(), SMESH::Controls::LyingOnGeom::IsSatisfy(), SMESH::Controls::FreeFaces::IsSatisfy(), SMESH::Controls::LinearOrQuadratic::IsSatisfy(), SMESH::Controls::ElemGeomType::IsSatisfy(), SMESH::Controls::RangeOfIds::IsSatisfy(), SMESHGUI_PredicateFilter::IsValid(), SMESHGUI_QuadrangleFilter::IsValid(), SMESHGUI_TriangleFilter::IsValid(), SMESHGUI_FacesFilter::IsValid(), SMESHGUI_VolumesFilter::IsValid(), SMESHGUI_VolumeShapeFilter::IsValid(), SMESH_MeshEditor::Make2DMeshFrom3D(), SMESH_MeshEditor::MakeBoundaryMesh(), SMESH_MeshEditor::makeWalls(), SMESH_MeshEditor::MergeElements(), SMDS_MeshNode::NbInverseElements(), SMESH_MeshEditor::Offset(), SMESHGUI_CopyMeshDlg::onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_3TypesSelector::onTextChange(), SMESHGUI_OffsetDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_SmoothingDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_MeshPatternDlg::onTextChanged(), SMESHGUI_SelectionOp::onTextChanged(), SMESH::SelectionProxy::perFaceConnectivity(), SMESH::Controls::ManifoldPart::process(), SMESH_MeshEditor::Remove(), SMESH_MeshEditor_i::Reorient(), SMESH_MeshEditor_i::Reorient2D(), SMESH_Mesh_i::ReplaceShape(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESH::Controls::CoplanarFaces::SetMesh(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor::SewSideElements(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), and SMESH_MeshPartDS::SMESH_MeshPartDS().
const SMDS_MeshElement * SMDS_Mesh::FindElementVtk | ( | vtkIdType | IDelem | ) | const |
References SMDS_ElementFactory::FindElement(), FromVtkToSmds(), and myCellFactory.
Referenced by SMDS_UnstructuredGrid::extrudeVolumeFromFace(), and SMDS_ElementHolder::restoreElements().
|
static |
|
static |
|
static |
|
static |
|
static |
References FindElement(), and SMDSAbs_Face.
const SMDS_MeshNode * SMDS_Mesh::FindNode | ( | smIdType | idnode | ) | const |
Return the node whose SMDS ID is 'ID'.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by SMESH_Gen_i::_GetInside(), SMESH_MeshEditor_i::Add0DElement(), SMESH_MeshEditor_i::AddBall(), SMESH_MeshEditor_i::AddFace(), SMESH_MeshEditor_i::AddNodeOnSegment(), SMESH_MeshEditor_i::AddPolyhedralVolume(), SMESH_MeshEditor_i::AddQuadPolygonalFace(), SMESH_MeshEditor_i::AddVolume(), MeshEditor_I::arrayToSet(), SMESH_MeshEditor_i::ChangeElemNodes(), SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Mesh_i::CreateDimGroup(), SMESH_MeshEditor_i::DeleteDiag(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), SMESH_MeshEditor::DoubleNodes(), enlargeBoundingBox(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_MeshEditor_i::FillHole(), SMESHDS_GroupBase::findInMesh(), DriverMED::FindNode(), StdMeshers_Penta_3D::FindNodeOnShape(), SMESH_Mesh_i::GetNodeInverseElements(), SMESH_Mesh_i::GetNodePosition(), SMESHGUI_PreVisualObj::GetNodeVTKId(), SMESH_Mesh_i::GetNodeXYZ(), SMESHGUI_Angle::getNormal(), SMESHGUI_SewingDlg::BorderGroupDisplayer::getPartEnds(), getPointers(), SMESH_Mesh_i::GetShapeID(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH::SelectionProxy::hasNode(), MeshEditor_I::idSourceToNodeSet(), SMESH_MeshEditor_i::InverseDiag(), SMESH_Mesh_i::IsMediumNode(), SMESH_Mesh_i::IsMediumNodeOfAnyElem(), SMESHGUI_PredicateFilter::IsObjValid(), SMESH::Controls::ElemEntityType::IsSatisfy(), SMESH::Controls::ElementsOnShape::IsSatisfy(), SMESH::Controls::BelongToGeom::IsSatisfy(), SMESH::Controls::LyingOnGeom::IsSatisfy(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH::Controls::FreeNodes::IsSatisfy(), SMESH::Controls::RangeOfIds::IsSatisfy(), SMESHGUI_AddQuadraticElementDlg::IsValid(), SMESHGUI_PredicateFilter::IsValid(), SMESH_MeshAlgos::MakeOffset(), SMESH_MeshEditor_i::MakePolyLine(), SMESH_MeshEditor_i::MergeNodes(), SMESH::Measurements_i::MinDistance(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), SMESH::SelectionProxy::nodeConnectivity(), SMESH::SelectionProxy::nodeCoordinates(), SMESH_MeshEditor::Offset(), SMESHGUI_AddMeshElementDlg::onTextChange(), SMESHGUI_AddQuadraticElementDlg::onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_3TypesSelector::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_SmoothingDlg::onTextChange(), SMESHGUI_SelectionOp::onTextChanged(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_MeshEditor::Remove(), SMESH_Mesh_i::RemoveGroupWithContents(), SMESH_MeshEditor_i::RemoveNodeWithReconnection(), SMESH_Mesh_i::ReplaceShape(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESH_MeshEditor_i::SetNodeInVolume(), SMESH_MeshEditor_i::SetNodeOnEdge(), SMESH_MeshEditor_i::SetNodeOnFace(), SMESH_MeshEditor_i::SetNodeOnVertex(), SMESHGUI_IdPreview::SetPointsData(), SMESH_MeshEditor_i::SewBorderToSide(), SMESH_MeshEditor_i::SewCoincidentFreeBorders(), SMESH_MeshEditor_i::SewConformFreeBorders(), SMESH_MeshEditor_i::SewFreeBorders(), SMESH_MeshEditor_i::SewSideElements(), SMESH_MeshPartDS::SMESH_MeshPartDS(), SMESH_MeshEditor_i::smooth(), and DriverGMF_Read::storeBadNodeIds().
const SMDS_MeshNode * SMDS_Mesh::FindNodeVtk | ( | vtkIdType | idnode | ) | const |
Return the node whose VTK ID is 'vtkId'.
References SMDS_NodeFactory::FindNode(), and myNodeFactory.
Referenced by SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMDS_UnstructuredGrid::extrudeVolumeFromFace(), SMDS_MeshVolume::GetFaceNode(), SMDS_MeshCell::GetNode(), SMDS_MeshVolume::GetNode(), SMESHGUI_PreVisualObj::GetNodeObjId(), SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::next(), and SMDS_ElementHolder::restoreElements().
smIdType SMDS_Mesh::FromVtkToSmds | ( | vtkIdType | vtkid | ) | const |
References SMDS_ElementFactory::FromVtkToSmds(), and myCellFactory.
Referenced by SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), FindElementVtk(), SMESHGUI_PreVisualObj::GetElemObjId(), SMDS_DownTetra::getOrderedNodesOfFace(), SMDS_DownQuadTetra::getOrderedNodesOfFace(), SMDS_DownPyramid::getOrderedNodesOfFace(), SMDS_DownQuadPyramid::getOrderedNodesOfFace(), SMDS_DownPenta::getOrderedNodesOfFace(), SMDS_DownQuadPenta::getOrderedNodesOfFace(), SMDS_DownHexa::getOrderedNodesOfFace(), SMDS_DownQuadHexa::getOrderedNodesOfFace(), and SMDS_MeshNode::NbInverseElements().
|
static |
Return elements including all given nodes.
[in] | nodes | - nodes to find elements around |
[out] | foundElems | - the found elements |
[in] | type | - type of elements to find |
References SMDS_MeshNode::GetInverseElementIterator(), SMDS_MeshElement::GetNodeIndex(), and SMDS_MeshNode::NbInverseElements().
Referenced by StdMeshers_QuadToTriaAdaptor::DecreaseHeightDifference(), SMESH_MeshAlgos::FindSharpEdges(), SMESH_ProxyMesh::HasPrismsOnTwoSides(), SMESH_MeshAlgos::MakeSlot(), and SMESH_MeshEditor::SplitEdge().
SMDSAbs_ElementType SMDS_Mesh::GetElementType | ( | const smIdType | id, |
const bool | iselem | ||
) | const |
References SMDS_ElementFactory::FindElement(), SMDS_MeshElement::GetType(), myCellFactory, myNodeFactory, and SMDSAbs_All.
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), SMESH_Gen_i::CopyMeshWithGeom(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), and SMESH_Mesh::GetElementType().
SMDS_UnstructuredGrid* SMDS_Mesh::GetGrid | ( | ) |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid
Referenced by _GetVtkNodes::_GetVtkNodes(), _GetVtkNodesPolyh::_GetVtkNodesPolyh(), _GetVtkNodesToUNV::_GetVtkNodesToUNV(), SMDS_NodeFactory::Compact(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMDS_MeshElement::getGrid(), SMESHGUI_PreVisualObj::GetUnstructuredGrid(), SMDS_MeshNode::NbInverseElements(), and updateInverseElements().
const SMDS_MeshInfo& SMDS_Mesh::GetMeshInfo | ( | ) | const |
Referenced by SMDS_UnstructuredGrid::BuildDownwardConnectivity(), StdMeshers_PolyhedronPerSolid_3D::Compute(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_MeshEditor::DoubleElements(), SMESHDS_GroupOnFilter::GetElements(), MeshEditor_I::getElementsAround(), SMESH_GroupOnFilter_i::GetListOfID(), SMESH_Mesh_i::GetMeshInfo(), SMESHGUI_PreVisualObj::GetNbEntities(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_ElementSearcherImpl::getTolerance(), SMESH_MeshEditor_i::idSourceToSet(), SMESHDS_GroupBase::IsEmpty(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH_Pattern::Load(), SMESH_MeshAlgos::MakeOffset(), SMESH_Mesh::Nb0DElements(), SMESH_Mesh::NbBalls(), SMESH_Mesh::NbBiQuadPrisms(), SMESH_Mesh::NbBiQuadQuadrangles(), SMESH_Mesh::NbBiQuadTriangles(), SMESH_Mesh::NbEdges(), SMESH_ProxyMesh::NbFaces(), SMESH_Mesh::NbFaces(), SMESH_Mesh::NbHexagonalPrisms(), SMESH_Mesh::NbHexas(), SMESH_Mesh::NbPolygons(), SMESH_Mesh::NbPolyhedrons(), SMESH_Mesh::NbPrisms(), SMESH_Mesh::NbPyramids(), SMESH_Mesh::NbQuadPrisms(), SMESH_Mesh::NbQuadrangles(), SMESH_Mesh::NbTetras(), SMESH_Mesh::NbTriangles(), SMESH_Mesh::NbTriQuadraticHexas(), SMESH_Mesh::NbVolumes(), DriverGMF_Read::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH::Controls::ElementsOnSurface::process(), SMESH_ElementSearcherImpl::Project(), SMESH_Gen_i::Save(), SMESH_PreMeshInfo::SaveToFile(), DriverMED_W_Field::Set(), and SMESH_MeshPartDS::SMESH_MeshPartDS().
vtkMTimeType SMDS_Mesh::GetMTime | ( | ) | const |
get last modification timeStamp
References myModifTime.
Referenced by SMESHDS_GroupOnFilter::GetTic(), SMESHDS_GroupOnGeom::GetTic(), SMESH::Controls::TMeshModifTracer::IsMeshModified(), SMESHDS_GroupOnFilter::IsUpToDate(), and SMESHDS_GroupOnFilter::setChanged().
|
virtual |
are there holes in elements or nodes numeration
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::CompactChangePointers(), SMDS_NodeFactory::CompactChangePointers(), myCellFactory, and myNodeFactory.
Referenced by CompactMesh(), and SMESH_MeshPartDS::HasNumerationHoles().
|
virtual |
References myCompactTime, and myModifTime.
Referenced by SMESHDS_Mesh::CompactMesh(), and SMESHDS_Mesh::Renumber().
|
virtual |
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::GetMaxID(), and myCellFactory.
Referenced by SMESH_Gen_i::ConcatenateCommon(), SMESH_Mesh_i::CreateDimGroup(), Driver_Mesh::IsMeshTooLarge(), SMESH_MeshPartDS::MaxElementID(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), and SMESH_Mesh_i::ReplaceShape().
|
virtual |
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::GetMaxID(), and myNodeFactory.
Referenced by SMESH_Gen_i::ConcatenateCommon(), Driver_Mesh::IsMeshTooLarge(), SMESH_MeshPartDS::MaxNodeID(), SMESH_MeshEditor::Offset(), and SMESH_Mesh_i::ReplaceShape().
|
virtual |
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::GetMinID(), and myCellFactory.
Referenced by SMESH_MeshPartDS::MinElementID().
|
virtual |
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::GetMinID(), and myNodeFactory.
Referenced by SMESH_MeshPartDS::MinNodeID().
void SMDS_Mesh::Modified | ( | ) |
modification that needs compact structure and redraw
References myGrid, myModified, and myModifTime.
Referenced by SMESH_Mesh::AddHypothesis(), SMESH_Mesh::Clear(), SMESH_Mesh_i::ClearSubMesh(), SMESH_Gen_i::Compute(), StdMeshers_Hexa_3D::Compute(), SMESH_Gen_i::ConcatenateCommon(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Gen_i::CreateDualMesh(), SMESH_Gen_i::CreateMeshesFromCGNS(), SMESH_Gen_i::CreateMeshesFromGMF(), SMESH_Gen_i::CreateMeshesFromMED(), SMESH_Gen_i::CreateMeshesFromSTL(), SMESH_Gen_i::CreateMeshesFromUNV(), SMESH_MeshEditor_i::declareMeshModified(), SMESH_MeshEditor::ExtrusionSweep(), StdMeshers_CompositeHexa_3D::findBoxFaces(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::MakeBoundaryMesh(), SMESH_Pattern_i::MakeMesh(), SMESH_Pattern::MakeMesh(), SMESH_MeshEditor_i::MakePolyLine(), SMESH_MeshEditor_i::MakeSlot(), StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers(), SMESH_Mesh::MEDToMesh(), SMESH_MeshEditor_i::mirror(), SMESH_Mesh::NotifySubMeshesHypothesisModification(), SMESH_MeshEditor_i::Offset(), SMESH_Gen::parallelComputeSubMeshes(), DriverGMF_Read::Perform(), DriverSTL_R_SMDS_Mesh::Perform(), SMESH_Mesh_i::RemoveGroupWithContents(), SMESH_Mesh::RemoveHypothesis(), SMESH_Mesh_i::ReplaceShape(), SMESH_MeshEditor_i::rotate(), SMESH_MeshEditor_i::scale(), SMDS_Mesh(), and SMESH_MeshEditor_i::translate().
|
virtual |
Reimplemented in SMESHDS_Mesh.
References SMDS_MeshNode::setXYZ().
Referenced by SMESH_MeshAlgos::MakeOffset(), SMESHDS_Mesh::MoveNode(), and SMESH_NodeSearcherImpl::MoveNode().
|
virtual |
Return the number of 0D elements.
References myInfo, and SMDS_MeshInfo::Nb0DElements().
Referenced by Add0DElementWithID(), SMESH_MeshObj::GetNbEntities(), SMESH_MeshObj::IsNodePrs(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), and SMESH_Client::Update().
|
virtual |
Return the number of 0D elements.
References myInfo, and SMDS_MeshInfo::NbBalls().
Referenced by AddBallWithID(), SMESH_MeshObj::GetNbEntities(), SMESH_MeshObj::IsNodePrs(), and DriverMED_W_SMESHDS_Mesh::PerformInternal().
|
virtual |
Return the number of edges (including construction edges)
References myInfo, and SMDS_MeshInfo::NbEdges().
Referenced by SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshObj::GetNbEntities(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH_MeshObj::IsNodePrs(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), DriverMED_W_Field::Set(), SMESHGUI_SewingDlg::BorderGroupDisplayer::Update(), and SMESH_Client::Update().
|
virtual |
Return the number of elements.
References myInfo, and SMDS_MeshInfo::NbElements().
Referenced by cleanSubMesh(), SMESH_Gen_i::ConcatenateCommon(), SMESH_MeshPartDS::HasNumerationHoles(), Driver_Mesh::IsMeshTooLarge(), SMDS_MeshNode::NbInverseElements(), SMESH_Mesh::NotifySubMeshesHypothesisModification(), and SMESH_Mesh_i::ReplaceShape().
|
virtual |
Return the number of faces (including construction faces)
References myInfo, and SMDS_MeshInfo::NbFaces().
Referenced by AddFaceWithID(), AddPolygonalFaceWithID(), AddQuadPolygonalFaceWithID(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshAlgos::FindSharpEdges(), SMESH_MeshObj::GetNbEntities(), SMESH::Controls::NodeConnectivityNumber::GetValue(), isMeshBoundToShape(), SMESH_MeshObj::IsNodePrs(), SMESH_Pattern::Load(), SMESH_ProxyMesh::NbFaces(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH_MeshAlgos::SeparateFacesByEdges(), DriverMED_W_Field::Set(), and SMESH_Client::Update().
|
virtual |
Return the number of nodes.
References myInfo, and SMDS_MeshInfo::NbNodes().
Referenced by SMESHDS_SubMesh::Clear(), SMESH_Gen_i::ConcatenateCommon(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::DoubleElements(), MeshEditor_I::getElementsAround(), SMESH_MeshObj::GetNbEntities(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_MeshPartDS::HasNumerationHoles(), StdMeshers_Import_1D::importMesh(), Driver_Mesh::IsMeshTooLarge(), StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers(), SMESH_MeshPartDS::MaxNodeID(), SMESH_MeshPartDS::MinNodeID(), SMESH_Mesh::NbNodes(), SMESH_Mesh::NotifySubMeshesHypothesisModification(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH_Mesh_i::ReplaceShape(), SMESH_Gen_i::Save(), SMESH::Controls::ElementsOnShape::SetMesh(), SMESHDS_Mesh::SetPersistentId(), and SMESH_Client::Update().
|
virtual |
Return the number of child mesh of this mesh.
Note that the tree structure of SMDS_Mesh is unused in SMESH
References myChildren.
Referenced by SMESH_Mesh::NbSubMesh().
|
virtual |
Return the number of volumes.
References myInfo, and SMDS_MeshInfo::NbVolumes().
Referenced by AddPolyhedralVolumeWithID(), AddVolumeWithID(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshObj::GetNbEntities(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH_MeshObj::IsNodePrs(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), DriverMED_W_Field::Set(), and SMESH_Client::Update().
|
virtual |
Return an iterator on nodes of the current mesh factory.
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::GetIterator(), and myNodeFactory.
Referenced by SMESH_Gen_i::CopyMesh(), enlargeBoundingBox(), SMESH_MeshEditor::FindCoincidentNodes(), SMESH_MeshObj::GetEntities(), SMESH_Mesh_i::GetNodesId(), SMESH_ElementSearcherImpl::getTolerance(), SMESH::Measurements_i::GravityCenter(), MeshEditor_I::idSourceToNodeSet(), StdMeshers_Import_1D::importMesh(), SMESH_MeshEditor::ExtrusParam::makeNodesByDirAndSew(), SMESH_MeshAlgos::MakePolyLine(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_Mesh_i::ReplaceShape(), SMESH::Controls::CoincidentNodes::SetMesh(), SMESH_MeshPartDS::SMESH_MeshPartDS(), SMESH_NodeSearcherImpl::SMESH_NodeSearcherImpl(), and SMESH_MeshEditor::Transform().
|
virtual |
elem | The element to delete |
removenodes | if true remaining nodes will be removed |
References RemoveElement().
|
virtual |
elem | The element to delete |
removedElems | to be filled with all removed elements |
removedNodes | to be filled with all removed nodes |
removenodes | if true remaining nodes will be removed |
References addChildrenWithNodes(), SMDS_ElementFactory::Free(), getExclusiveNodes(), getFinitElements(), SMDS_MeshElement::GetType(), myCellFactory, myGrid, myInfo, SMDS_MeshInfo::myNb0DElements, SMDS_MeshInfo::myNbBalls, SMDS_MeshInfo::myNbNodes, myNodeFactory, SMDS_MeshInfo::RemoveEdge(), SMDS_MeshInfo::RemoveFace(), SMDS_MeshNode::RemoveInverseElement(), SMDS_MeshInfo::RemoveVolume(), SMDSAbs_0DElement, SMDSAbs_All, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_NbElementTypes, SMDSAbs_Node, and SMDSAbs_Volume.
Referenced by SMESHDS_Mesh::RemoveElement(), RemoveElement(), SMESHDS_Mesh::RemoveNode(), RemoveNode(), and SMESH_Client::Update().
|
virtual |
Remove only the given element and only if it is free.
Method does not work for meshes with descendants. Implemented for fast cleaning of meshes.
elem | The element to delete |
References SMDS_ElementFactory::Free(), SMDS_MeshElement::GetType(), SMDS_MeshElement::GetVtkID(), myCellFactory, myGrid, myInfo, SMDS_MeshInfo::myNbNodes, myNodeFactory, SMDS_MeshNode::NbInverseElements(), SMDS_MeshElement::nodeIterator(), SMDS_MeshInfo::remove(), SMDS_MeshInfo::RemoveEdge(), SMDS_MeshInfo::RemoveFace(), SMDS_MeshNode::RemoveInverseElement(), SMDS_MeshInfo::RemoveVolume(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, and SMDSAbs_Volume.
Referenced by SMESH_MeshAlgos::MakeOffset(), SMESH_MeshAlgos::MakeSlot(), SMESHDS_Mesh::RemoveFreeElement(), and SMESHDS_Mesh::RemoveFreeNode().
|
virtual |
References myParent, and RemoveSubMesh().
|
virtual |
Remove a node and all the elements which own this node.
Reimplemented in SMESHDS_Mesh.
References RemoveElement().
Referenced by SMESH_MeshAlgos::MakeSlot(), and SMESH_Client::Update().
|
virtual |
References myChildren.
Referenced by RemoveFromParent().
void SMDS_Mesh::SetAllCellsNotMarked | ( | ) |
References myCellFactory, and SMDS_ElementFactory::SetAllNotMarked().
Referenced by StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers(), and SMESH_MeshEditor::Reorient2D().
void SMDS_Mesh::SetAllNodesNotMarked | ( | ) |
References myNodeFactory, and SMDS_ElementFactory::SetAllNotMarked().
void SMDS_Mesh::setMyModified | ( | ) |
low level modification: add, change or remove node or element
Referenced by ChangeElementNodes(), ChangePolyhedronNodes(), SMDS_ElementFactory::Free(), SMDS_ElementFactory::NewElement(), SMDS_BallElement::SetDiameter(), and SMDS_MeshNode::setXYZ().
|
protected |
References myNodeFactory, and SMDS_NodeFactory::SetNbShapes().
Referenced by SMESHDS_Mesh::ShapeToMesh().
|
virtual |
References SMDS_ElementFactory::GetShapeIterator(), and myCellFactory.
Referenced by SMESHDS_SubMesh::GetElements(), and SMESHDS_SubMesh::RemoveElement().
|
virtual |
References SMDS_ElementFactory::GetShapeIterator(), and myNodeFactory.
Referenced by SMESHDS_SubMesh::GetNodes(), and SMESHDS_SubMesh::RemoveNode().
|
protected |
References GetGrid(), and SMDS_MeshNode::RemoveInverseElement().
Referenced by ChangeElementNodes(), and ChangePolyhedronNodes().
|
virtual |
Return an iterator on volumes of the current mesh.
Reimplemented in SMESH_MeshPartDS.
References SMDS_ElementFactory::CompactChangePointers(), SMDS_ElementFactory::GetIterator(), myCellFactory, myInfo, SMDS_MeshInfo::NbVolumes(), and SMDSAbs_Volume.
Referenced by SMESH_MeshEditor::ConvertToQuadratic(), DriverSTL_W_SMDS_Mesh::findVolumeTriangles(), SMESH_MeshObj::GetEntities(), and SMESH_MeshEditor::Make2DMeshFrom3D().
|
friend |
|
static |
|
protected |
Referenced by Add0DElement(), Add0DElementWithID(), AddBall(), AddBallWithID(), AddEdge(), AddEdgeWithID(), AddFace(), AddFaceFromVtkIds(), AddFaceWithID(), AddPolygonalFace(), AddPolygonalFaceWithID(), AddPolyhedralVolume(), AddPolyhedralVolumeWithID(), AddQuadPolygonalFace(), AddQuadPolygonalFaceWithID(), AddVolume(), AddVolumeFromVtkIds(), AddVolumeWithID(), Clear(), CompactMesh(), Contains(), edgesIterator(), elementEntityIterator(), elementGeomIterator(), elementsIterator(), facesIterator(), FindElement(), FindElementVtk(), FromVtkToSmds(), GetElementType(), HasNumerationHoles(), MaxElementID(), MinElementID(), RemoveElement(), RemoveFreeElement(), SetAllCellsNotMarked(), shapeElementsIterator(), volumesIterator(), and ~SMDS_Mesh().
|
protected |
Referenced by AddSubMesh(), Clear(), NbSubMesh(), RemoveSubMesh(), and ~SMDS_Mesh().
|
protected |
Referenced by CompactMesh(), and IsCompacted().
|
protected |
|
protected |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid
Referenced by SMESHDS_Mesh::BuildDownWardConnectivity(), SMESHDS_Mesh::CleanDownWardConnectivity(), Clear(), CompactMesh(), dumpGrid(), Modified(), SMESHDS_Mesh::ModifyCellNodes(), RemoveElement(), RemoveFreeElement(), SMDS_Mesh(), and ~SMDS_Mesh().
|
protected |
Referenced by Add0DElementWithID(), AddBallWithID(), AddEdgeWithID(), AddFaceFromVtkIds(), AddFaceWithID(), AddNodeWithID(), AddPolygonalFaceWithID(), AddPolyhedralVolumeWithID(), AddQuadPolygonalFaceWithID(), AddVolumeFromVtkIds(), AddVolumeWithID(), Clear(), edgesIterator(), elementEntityIterator(), elementGeomIterator(), elementsIterator(), facesIterator(), Nb0DElements(), NbBalls(), NbEdges(), NbElements(), NbFaces(), NbNodes(), NbVolumes(), RemoveElement(), RemoveFreeElement(), SMESH_MeshPartDS::SMESH_MeshPartDS(), and volumesIterator().
|
protected |
any add, remove or change of node or cell
Referenced by AddNodeWithID(), Clear(), and Modified().
|
protected |
use a counter to keep track of modifications
Referenced by Clear(), CompactMesh(), GetMTime(), IsCompacted(), and Modified().
|
protected |
Small objects like SMDS_MeshNode are allocated by chunks to limit memory costs of new.
Referenced by Add0DElementWithID(), AddBallWithID(), AddEdgeWithID(), AddFaceWithID(), AddNode(), AddNodeWithID(), AddPolygonalFaceWithID(), AddPolyhedralVolumeWithID(), AddQuadPolygonalFaceWithID(), AddVolumeWithID(), Clear(), CompactMesh(), Contains(), elementEntityIterator(), elementsIterator(), FindNode(), FindNodeVtk(), GetElementType(), HasNumerationHoles(), MaxNodeID(), MinNodeID(), nodesIterator(), RemoveElement(), RemoveFreeElement(), SetAllNodesNotMarked(), setNbShapes(), shapeNodesIterator(), and ~SMDS_Mesh().
|
protected |
Referenced by RemoveFromParent().
|
protected |
Referenced by Clear(), and getMaxDim().
|
protected |
Referenced by Clear(), and getMaxDim().
|
protected |
Referenced by Clear(), and getMaxDim().
|
protected |
Referenced by Clear(), and getMaxDim().
|
protected |
Referenced by Clear(), and getMaxDim().
|
protected |
Referenced by Clear(), and getMaxDim().