#include <SMESHDS_Mesh.hxx>
Data Structures | |
class | SubMeshHolder |
Public Types | |
typedef std::vector < SMDS_MeshNode * > | SetOfNodes |
typedef std::vector < SMDS_MeshCell * > | SetOfCells |
Public Member Functions | |
SMESHDS_Mesh (int theMeshID, bool theIsEmbeddedMode) | |
bool | IsEmbeddedMode () |
void | SetPersistentId (int id) |
Store ID persistent during lifecycle. More... | |
int | GetPersistentId () const |
Return ID persistent during lifecycle. More... | |
void | ShapeToMesh (const TopoDS_Shape &S) |
TopoDS_Shape | ShapeToMesh () const |
bool | AddHypothesis (const TopoDS_Shape &SS, const SMESHDS_Hypothesis *H) |
bool | RemoveHypothesis (const TopoDS_Shape &S, const SMESHDS_Hypothesis *H) |
virtual SMDS_MeshNode * | AddNodeWithID (double x, double y, double z, int 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 (int nodeID, int ID) |
create a Mesh0DElement and add it to the current Mesh More... | |
virtual SMDS_Mesh0DElement * | Add0DElementWithID (const SMDS_MeshNode *node, int ID) |
Create a new Mesh0DElement and at it to the mesh. More... | |
virtual SMDS_Mesh0DElement * | Add0DElement (const SMDS_MeshNode *node) |
create a Mesh0DElement and add it to the current Mesh More... | |
virtual SMDS_BallElement * | AddBallWithID (int n, double diameter, int ID) |
create a Ball and add it to the current Mesh More... | |
virtual SMDS_BallElement * | AddBallWithID (const SMDS_MeshNode *n, double diameter, int 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 (int n1, int n2, int ID) |
create a MeshEdge and add it to the current Mesh More... | |
virtual SMDS_MeshEdge * | AddEdgeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, int 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 (int n1, int n2, int n12, int ID) |
virtual SMDS_MeshEdge * | AddEdgeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12, int ID) |
virtual SMDS_MeshEdge * | AddEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12) |
virtual SMDS_MeshFace * | AddFaceWithID (int n1, int n2, int n3, int 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, int 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 (int n1, int n2, int n3, int n4, int 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, int 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 (int n1, int n2, int n3, int n12, int n23, int n31, int 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, int 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 (int n1, int n2, int n3, int n12, int n23, int n31, int nCenter, int 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, int 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 (int n1, int n2, int n3, int n4, int n12, int n23, int n34, int n41, int 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, int 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 (int n1, int n2, int n3, int n4, int n12, int n23, int n34, int n41, int nCenter, int 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, int 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 (int n1, int n2, int n3, int n4, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int n6, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10, int n11, int n12, int 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, int 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 (int n1, int n2, int n3, int n4, int n12, int n23, int n31, int n14, int n24, int n34, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int n12, int n23, int n34, int n41, int n15, int n25, int n35, int n45, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int n6, int n12, int n23, int n31, int n45, int n56, int n64, int n14, int n25, int n36, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n12, int n23, int n34, int n41, int n56, int n67, int n78, int n85, int n15, int n26, int n37, int n48, int 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, int 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 (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n12, int n23, int n34, int n41, int n56, int n67, int n78, int n85, int n15, int n26, int n37, int n48, int n1234, int n1256, int n2367, int n3478, int n1458, int n5678, int nCenter, int 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, int 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< int > &nodes_ids, const int ID) |
Add a polygon defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddPolygonalFaceWithID (const std::vector< const SMDS_MeshNode * > &nodes, const int 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< int > &nodes_ids, const int ID) |
Add a quadratic polygon defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddQuadPolygonalFaceWithID (const std::vector< const SMDS_MeshNode * > &nodes, const int 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< int > &nodes_ids, const std::vector< int > &quantities, const int 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 int 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 void | MoveNode (const SMDS_MeshNode *, double x, double y, double z) |
virtual void | RemoveNode (const SMDS_MeshNode *) |
Remove a node and all the elements which own this node. More... | |
void | RemoveElement (const SMDS_MeshElement *) |
void | RemoveFreeNode (const SMDS_MeshNode *, SMESHDS_SubMesh *, bool fromGroups=true) |
Remove only the given element/node and only if it is free. More... | |
void | RemoveFreeElement (const SMDS_MeshElement *, SMESHDS_SubMesh *, bool fromGroups=true) |
void | ClearMesh () |
Remove all data from the mesh. More... | |
bool | ChangeElementNodes (const SMDS_MeshElement *elem, const SMDS_MeshNode *nodes[], const int nbnodes) |
bool | ChangePolygonNodes (const SMDS_MeshElement *elem, std::vector< const SMDS_MeshNode * > nodes) |
bool | ChangePolyhedronNodes (const SMDS_MeshElement *elem, std::vector< const SMDS_MeshNode * > nodes, std::vector< int > quantities) |
bool | ModifyCellNodes (int smdsVolId, std::map< int, int > localClonedNodeIds) |
change some nodes in cell without modifying type or internal connectivity. More... | |
void | Renumber (const bool isNodes, const int startID=1, const int deltaID=1) |
void | SetNodeInVolume (const SMDS_MeshNode *aNode, const TopoDS_Shell &S) |
void | SetNodeInVolume (const SMDS_MeshNode *aNode, const TopoDS_Solid &S) |
void | SetNodeOnFace (const SMDS_MeshNode *aNode, const TopoDS_Face &S, double u=0., double v=0.) |
void | SetNodeOnEdge (const SMDS_MeshNode *aNode, const TopoDS_Edge &S, double u=0.) |
void | SetNodeOnVertex (const SMDS_MeshNode *aNode, const TopoDS_Vertex &S) |
void | UnSetNodeOnShape (const SMDS_MeshNode *aNode) |
void | SetMeshElementOnShape (const SMDS_MeshElement *anElt, const TopoDS_Shape &S) |
void | UnSetMeshElementOnShape (const SMDS_MeshElement *anElt, const TopoDS_Shape &S) |
void | SetNodeInVolume (const SMDS_MeshNode *aNode, int Index) |
void | SetNodeOnFace (const SMDS_MeshNode *aNode, int Index, double u=0., double v=0.) |
void | SetNodeOnEdge (const SMDS_MeshNode *aNode, int Index, double u=0.) |
void | SetNodeOnVertex (const SMDS_MeshNode *aNode, int Index) |
void | SetMeshElementOnShape (const SMDS_MeshElement *anElt, int Index) |
bool | HasMeshElements (const TopoDS_Shape &S) const |
SMESHDS_SubMesh * | MeshElements (const TopoDS_Shape &S) const |
Return the sub mesh linked to the a given TopoDS_Shape or NULL if the given TopoDS_Shape is unknown. More... | |
SMESHDS_SubMesh * | MeshElements (const int Index) const |
Return the sub mesh by Id of shape it is linked to. More... | |
std::list< int > | SubMeshIndices () const |
SMESHDS_SubMeshIteratorPtr | SubMeshes () const |
bool | HasHypothesis (const TopoDS_Shape &S) |
const std::list< const SMESHDS_Hypothesis * > & | GetHypothesis (const TopoDS_Shape &S) const |
bool | IsUsedHypothesis (const SMESHDS_Hypothesis *H) const |
returns true if the hypothesis is assigned to any sub-shape More... | |
const ShapeToHypothesis & | GetHypotheses () const |
SMESHDS_Script * | GetScript () |
void | ClearScript () |
int | ShapeToIndex (const TopoDS_Shape &aShape) const |
const TopoDS_Shape & | IndexToShape (int ShapeIndex) const |
int | MaxShapeIndex () const |
int | MaxSubMeshIndex () const |
Return max index of sub-mesh. More... | |
SMESHDS_SubMesh * | NewSubMesh (int Index) |
int | AddCompoundSubmesh (const TopoDS_Shape &S, TopAbs_ShapeEnum type=TopAbs_SHAPE) |
void | AddGroup (SMESHDS_GroupBase *theGroup) |
void | RemoveGroup (SMESHDS_GroupBase *theGroup) |
int | GetNbGroups () const |
const std::set < SMESHDS_GroupBase * > & | GetGroups () const |
bool | IsGroupOfSubShapes (const TopoDS_Shape &aSubShape) const |
virtual void | compactMesh () |
void | CleanDownWardConnectivity () |
void | BuildDownWardConnectivity (bool withEdges) |
~SMESHDS_Mesh () | |
SMDS_UnstructuredGrid * | getGrid () |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid More... | |
int | getMeshId () |
virtual SMDS_NodeIteratorPtr | nodesIterator (bool idInceasingOrder=false) const |
Return an iterator on nodes of the current mesh factory. More... | |
virtual SMDS_EdgeIteratorPtr | edgesIterator (bool idInceasingOrder=false) const |
Return an iterator on edges of the current mesh. More... | |
virtual SMDS_FaceIteratorPtr | facesIterator (bool idInceasingOrder=false) const |
Return an iterator on faces of the current mesh. More... | |
virtual SMDS_VolumeIteratorPtr | volumesIterator (bool idInceasingOrder=false) 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 |
SMDSAbs_ElementType | GetElementType (const int id, const bool iselem) const |
SMDS_Mesh * | AddSubMesh () |
Create a submesh and add it to the current mesh. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshEdge *e1, const SMDS_MeshEdge *e2, const SMDS_MeshEdge *e3, int ID) |
Add a triangle defined by its edges. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (const SMDS_MeshEdge *e1, const SMDS_MeshEdge *e2, const SMDS_MeshEdge *e3, const SMDS_MeshEdge *e4, int ID) |
Add a quadrangle defined by its edges. More... | |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshEdge *e1, const SMDS_MeshEdge *e2, const SMDS_MeshEdge *e3) |
Add a triangle defined by its edges. More... | |
virtual SMDS_MeshFace * | AddFace (const SMDS_MeshEdge *e1, const SMDS_MeshEdge *e2, const SMDS_MeshEdge *e3, const SMDS_MeshEdge *e4) |
Add a quadrangle defined by its edges. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshFace *f1, const SMDS_MeshFace *f2, const SMDS_MeshFace *f3, const SMDS_MeshFace *f4, int ID) |
Create a new tetrahedron defined by its faces and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshFace *f1, const SMDS_MeshFace *f2, const SMDS_MeshFace *f3, const SMDS_MeshFace *f4, const SMDS_MeshFace *f5, int ID) |
Create a new pyramid defined by its faces and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeWithID (const SMDS_MeshFace *f1, const SMDS_MeshFace *f2, const SMDS_MeshFace *f3, const SMDS_MeshFace *f4, const SMDS_MeshFace *f5, const SMDS_MeshFace *f6, int ID) |
Create a new prism defined by its faces and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshFace *f1, const SMDS_MeshFace *f2, const SMDS_MeshFace *f3, const SMDS_MeshFace *f4) |
Create a new tetrahedron defined by its faces and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshFace *f1, const SMDS_MeshFace *f2, const SMDS_MeshFace *f3, const SMDS_MeshFace *f4, const SMDS_MeshFace *f5) |
Create a new pyramid defined by its faces and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolume (const SMDS_MeshFace *f1, const SMDS_MeshFace *f2, const SMDS_MeshFace *f3, const SMDS_MeshFace *f4, const SMDS_MeshFace *f5, const SMDS_MeshFace *f6) |
Create a new prism defined by its faces and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | AddVolumeFromVtkIds (const std::vector< vtkIdType > &vtkNodeIds) |
virtual SMDS_MeshVolume * | AddVolumeFromVtkIdsWithID (const std::vector< vtkIdType > &vtkNodeIds, const int ID) |
virtual SMDS_MeshFace * | AddFaceFromVtkIds (const std::vector< vtkIdType > &vtkNodeIds) |
virtual SMDS_MeshFace * | AddFaceFromVtkIdsWithID (const std::vector< vtkIdType > &vtkNodeIds, const int ID) |
virtual void | RemoveElement (const SMDS_MeshElement *elem, std::list< const SMDS_MeshElement * > &removedElems, std::list< const SMDS_MeshElement * > &removedNodes, const bool removenodes=false) |
virtual void | RemoveElement (const SMDS_MeshElement *elem, bool removenodes=false) |
virtual void | Remove0DElement (const SMDS_Mesh0DElement *elem0d) |
Remove an edge and all the elements which own this edge. More... | |
virtual void | RemoveEdge (const SMDS_MeshEdge *edge) |
Remove an edge and all the elements which own this edge. More... | |
virtual void | RemoveFace (const SMDS_MeshFace *face) |
Remove an face and all the elements which own this face. More... | |
virtual void | RemoveVolume (const SMDS_MeshVolume *volume) |
Remove a volume. 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 | ChangePolyhedronNodes (const SMDS_MeshElement *elem, const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) |
const SMDS_MeshNode * | FindNode (int idnode) const |
Return the node whose SMDS ID is 'ID'. More... | |
const SMDS_MeshNode * | FindNodeVtk (int idnode) const |
Return the node whose VTK ID is 'vtkId'. More... | |
const SMDS_Mesh0DElement * | Find0DElement (int idnode) const |
const SMDS_BallElement * | FindBall (int idnode) const |
const SMDS_MeshEdge * | FindEdge (int idnode1, int idnode2) const |
const SMDS_MeshEdge * | FindEdge (int idnode1, int idnode2, int idnode3) const |
const SMDS_MeshFace * | FindFace (int idnode1, int idnode2, int idnode3) const |
const SMDS_MeshFace * | FindFace (int idnode1, int idnode2, int idnode3, int idnode4) const |
const SMDS_MeshFace * | FindFace (int idnode1, int idnode2, int idnode3, int idnode4, int idnode5, int idnode6) const |
const SMDS_MeshFace * | FindFace (int idnode1, int idnode2, int idnode3, int idnode4, int idnode5, int idnode6, int idnode7, int idnode8) const |
const SMDS_MeshFace * | FindFace (const std::vector< int > &nodes_ids) const |
const SMDS_MeshElement * | FindElement (int IDelem) const |
int | MaxNodeID () const |
int | MinNodeID () const |
int | MaxElementID () const |
int | MinElementID () const |
const SMDS_MeshInfo & | GetMeshInfo () const |
virtual int | NbNodes () const |
Return the number of nodes. More... | |
virtual int | NbElements () const |
Return the number of elements. More... | |
virtual int | Nb0DElements () const |
Return the number of 0D elements. More... | |
virtual int | NbBalls () const |
Return the number of 0D elements. More... | |
virtual int | NbEdges () const |
Return the number of edges (including construction edges) More... | |
virtual int | NbFaces () const |
Return the number of faces (including construction faces) More... | |
virtual int | NbVolumes () const |
Return the number of volumes. More... | |
virtual int | NbSubMesh () const |
Return the number of child mesh of this mesh. More... | |
void | DumpNodes () const |
void | Dump0DElements () const |
void | DumpEdges () const |
void | DumpFaces () const |
void | DumpVolumes () const |
void | DebugStats () const |
bool | hasConstructionEdges () |
Return true if this mesh create faces with edges. More... | |
bool | hasConstructionFaces () |
Return true if this mesh create volumes with faces A false returned value mean that volumes are created with nodes or edges. More... | |
bool | hasInverseElements () |
Return true if nodes are linked to the finit elements, they are belonging to. More... | |
void | setConstructionEdges (bool) |
Make this mesh creating construction edges (see hasConstructionEdges) More... | |
void | setConstructionFaces (bool) |
Make this mesh creating construction faces (see hasConstructionFaces) More... | |
void | setInverseElements (bool) |
Make this mesh creating link from nodes to elements (see hasInverseElements) More... | |
bool | Contains (const SMDS_MeshElement *elem) const |
Checks if the element is present in mesh. More... | |
double | getMaxDim () |
int | fromVtkToSmds (int vtkid) |
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... | |
bool | isCompacted () |
Static Public Member Functions | |
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 | CheckMemory (const bool doNotRaise=false) throw (std::bad_alloc) |
Raise an exception if free memory (ram+swap) too low. More... | |
Static Public Attributes | |
static std::vector< SMDS_Mesh * > | _meshList = vector<SMDS_Mesh*>() |
to retrieve this SMDS_Mesh instance from its elements (index stored in SMDS_Elements) More... | |
static int | chunkSize = 1024 |
Protected Member Functions | |
SMDS_MeshFace * | createTriangle (const SMDS_MeshNode *node1, const SMDS_MeshNode *node2, const SMDS_MeshNode *node3, int ID) |
Create a triangle and add it to the current mesh. More... | |
SMDS_MeshFace * | createQuadrangle (const SMDS_MeshNode *node1, const SMDS_MeshNode *node2, const SMDS_MeshNode *node3, const SMDS_MeshNode *node4, int ID) |
Create a quadrangle and add it to the current mesh. More... | |
SMDS_MeshEdge * | FindEdgeOrCreate (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2) |
SMDS_MeshFace * | FindFaceOrCreate (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3) |
SMDS_MeshFace * | FindFaceOrCreate (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3, const SMDS_MeshNode *n4) |
bool | registerElement (int ID, SMDS_MeshElement *element) |
Registers element with the given ID, maintains inverse connections. 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 | adjustmyCellsCapacity (int ID) |
void | adjustBoundingBox (double x, double y, double z) |
Protected Attributes | |
int | myMeshId |
index of this SMDS_mesh in the static vector<SMDS_Mesh*> _meshList More... | |
SMDS_UnstructuredGrid * | myGrid |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid More... | |
ObjectPool< SMDS_MeshNode > * | myNodePool |
Small objects like SMDS_MeshNode are allocated by chunks to limit memory costs of new. More... | |
ObjectPool< SMDS_VtkVolume > * | myVolumePool |
Small objects like SMDS_VtkVolume are allocated by chunks to limit memory costs of new. More... | |
ObjectPool< SMDS_VtkFace > * | myFacePool |
ObjectPool< SMDS_VtkEdge > * | myEdgePool |
ObjectPool< SMDS_BallElement > * | myBallPool |
SetOfNodes | myNodes |
SMDS_MeshNodes refer to vtk nodes (vtk id != index in myNodes),store reference to this mesh, and sub-shape. More... | |
SetOfCells | myCells |
std::vector< vtkIdType > | myNodeIds |
a buffer to speed up elements addition by excluding some memory allocation More... | |
std::vector< int > | myCellIdVtkToSmds |
for cells only: index = ID in vtkUnstructuredGrid, value = ID for SMDS users More... | |
SMDS_Mesh * | myParent |
std::list< SMDS_Mesh * > | myChildren |
SMDS_MeshNodeIDFactory * | myNodeIDFactory |
SMDS_MeshElementIDFactory * | myElementIDFactory |
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 |
bool | myHasConstructionEdges |
bool | myHasConstructionFaces |
bool | myHasInverseElements |
double | xmin |
double | xmax |
double | ymin |
double | ymax |
double | zmin |
double | zmax |
Private Types | |
typedef std::set < SMESHDS_GroupBase * > | TGroups |
Private Member Functions | |
bool | add (const SMDS_MeshElement *elem, SMESHDS_SubMesh *subMesh) |
Add element or node to submesh. More... | |
SMESHDS_SubMesh * | getSubmesh (const TopoDS_Shape &shape) |
return submesh by shape More... | |
Private Attributes | |
ShapeToHypothesis | myShapeToHypothesis |
int | myMeshID |
int | myPersistentID |
TopoDS_Shape | myShape |
SubMeshHolder * | mySubMeshHolder |
TopTools_IndexedMapOfShape | myIndexToShape |
TGroups | myGroups |
SMESHDS_Script * | myScript |
bool | myIsEmbeddedMode |
|
inherited |
|
inherited |
|
private |
References myScript, and SetPersistentId().
SMESHDS_Mesh::~SMESHDS_Mesh | ( | ) |
References myScript, and mySubMeshHolder.
|
private |
Add element or node to submesh.
elem | - element to add |
subMesh | - submesh to be filled in |
References SMESHDS_SubMesh::AddElement(), SMESHDS_SubMesh::AddNode(), SMDS_MeshElement::GetType(), and SMDSAbs_Node.
Referenced by SetMeshElementOnShape(), SetNodeInVolume(), SetNodeOnEdge(), SetNodeOnFace(), and SetNodeOnVertex().
|
virtual |
create a Mesh0DElement and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::Add0DElement(), SMDS_Mesh::Add0DElement(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
create a Mesh0DElement and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::Add0DElement(), SMDS_Mesh::Add0DElementWithID(), and myScript.
|
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 from SMDS_Mesh.
References SMDS_MeshElement::GetID().
|
virtual |
create a Ball and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddBall(), SMDS_Mesh::AddBall(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
create a Ball and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddBall(), SMDS_Mesh::AddBallWithID(), SMDS_MeshElement::GetID(), and myScript.
|
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 from SMDS_Mesh.
References SMESHDS_Script::AddBall(), SMDS_Mesh::AddBallWithID(), SMDS_MeshElement::GetID(), and myScript.
|
protectedinherited |
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::edgesIterator(), SMDS_MeshElement::facesIterator(), SMDS_MeshElement::GetType(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), MESSAGE, SMDS_MeshElement::nodesIterator(), SMDSAbs_0DElement, SMDSAbs_All, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_NbElementTypes, SMDSAbs_Node, and SMDSAbs_Volume.
Referenced by SMDS_Mesh::RemoveElement().
int SMESHDS_Mesh::AddCompoundSubmesh | ( | const TopoDS_Shape & | S, |
TopAbs_ShapeEnum | type = TopAbs_SHAPE |
||
) |
References SMESHDS_SubMesh::AddSubMesh(), SMESHDS_SubMesh::IsComplexSubmesh(), IsGroupOfSubShapes(), Max(), myIndexToShape, myShape, and NewSubMesh().
Referenced by SMESHDS_GroupOnGeom::SetShape().
|
virtual |
create a MeshEdge and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddEdge(), SMDS_Mesh::AddEdge(), SMDS_MeshElement::GetID(), and myScript.
Referenced by SMESH_MesherHelper::AddEdge(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Regular_1D::Compute(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor_i::MoveNode(), and SMESH_MeshEditor::sweepElement().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddEdge(), SMDS_Mesh::AddEdge(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
create a MeshEdge and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddEdge(), SMDS_Mesh::AddEdgeWithID(), and myScript.
Referenced by SMESH_MesherHelper::AddEdge(), AddEdgeWithID(), DriverMED::buildMeshGrille(), and DriverGMF_Read::Perform().
|
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 from SMDS_Mesh.
References AddEdgeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddEdge(), SMDS_Mesh::AddEdgeWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddEdgeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Add a triangle defined by its nodes.
An ID is automatically affected to the Created face
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFace(), SMDS_MeshElement::GetID(), and myScript.
Referenced by VISCOUS_3D::_ViscousBuilder::addBoundaryElements(), SMESH_MesherHelper::AddFace(), StdMeshers_Import_1D2D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_Pattern::createElements(), SMESH_MeshEditor::DeleteDiag(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor::QuadToTri(), and SMESH_MeshEditor::sweepElement().
|
virtual |
Add a quadrangle defined by its nodes.
An ID is automatically affected to the created face
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFace(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFace(), SMDS_MeshElement::GetID(), and myScript.
|
virtualinherited |
Add a triangle defined by its edges.
An ID is automatically assigned to the Created face
References SMDS_Mesh::AddFaceWithID(), SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionEdges(), and SMDS_Mesh::myElementIDFactory.
|
virtualinherited |
Add a quadrangle defined by its edges.
An ID is automatically assigned to the Created face
References SMDS_Mesh::AddFaceWithID(), SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionEdges(), and SMDS_Mesh::myElementIDFactory.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFace(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFace(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFace(), SMDS_MeshElement::GetID(), and myScript.
|
virtualinherited |
|
virtualinherited |
References SMDS_Mesh::adjustmyCellsCapacity(), ObjectPool< X >::destroy(), ObjectPool< X >::getNew(), SMDS_MeshElement::getVtkId(), SMDS_VtkFace::GetVtkType(), SMDS_VtkFace::init(), SMDS_Mesh::myCells, SMDS_Mesh::myFacePool, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbBiQuadQuadrangles, SMDS_MeshInfo::myNbBiQuadTriangles, SMDS_MeshInfo::myNbPolygons, SMDS_MeshInfo::myNbQuadQuadrangles, SMDS_MeshInfo::myNbQuadrangles, SMDS_MeshInfo::myNbQuadTriangles, SMDS_MeshInfo::myNbTriangles, and SMDS_Mesh::registerElement().
Referenced by SMDS_Mesh::AddFaceFromVtkIds().
|
virtual |
Add a triangle defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFaceWithID(), and myScript.
Referenced by SMESH_MesherHelper::AddFace(), AddFaceWithID(), DriverMED::buildMeshGrille(), and DriverGMF_Read::Perform().
|
virtual |
Add a triangle defined by its nodes.
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
Add a quadrangle defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFaceWithID(), and myScript.
|
virtual |
Add a quadrangle defined by its nodes.
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFaceWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtualinherited |
Add a triangle defined by its edges.
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbTriangles, SMDS_Mesh::NbFaces(), and SMDS_Mesh::registerElement().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFaceWithID(), and myScript.
|
virtualinherited |
Add a quadrangle defined by its edges.
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbQuadrangles, SMDS_Mesh::NbFaces(), and SMDS_Mesh::registerElement().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFaceWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), SMDS_Mesh::AddFaceWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
void SMESHDS_Mesh::AddGroup | ( | SMESHDS_GroupBase * | theGroup | ) |
Referenced by DriverGMF_Read::Perform().
bool SMESHDS_Mesh::AddHypothesis | ( | const TopoDS_Shape & | SS, |
const SMESHDS_Hypothesis * | H | ||
) |
References myShapeToHypothesis.
Referenced by SMESH_subMesh::AlgoStateEngine().
|
virtual |
create a MeshNode and add it to the current Mesh An ID is automatically assigned to the node.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddNode(), SMDS_Mesh::AddNode(), SMDS_MeshElement::GetID(), and myScript.
Referenced by SMESH_MesherHelper::AddNode(), SMESH_MesherHelper::AddVolume(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_Prism_3D::compute(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), StdMeshers_Prism_3D::computeWalls(), SMESH_Gen_i::ConcatenateCommon(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), StdMeshers_Penta_3D::CreateNode(), SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::doubleNodes(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMESH_MesherHelper::GetCentralNode(), SMESH_MesherHelper::GetMediumNode(), StdMeshers_Import_1D::importMesh(), SMESH_MeshEditor::makeExtrElements(), StdMeshers_RadialPrism_3D::makeNodeColumn(), SMESH_MeshEditor::ExtrusParam::makeNodesByDir(), SMESH_MeshEditor::ExtrusParam::makeNodesByDirAndSew(), SMESH_MeshEditor::ExtrusParam::makeNodesByNormal2D(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_MeshEditor::RotationSweep(), and SMESH_MeshEditor::Transform().
|
virtual |
create a MeshNode and add it to the current Mesh
ID | : The ID of the MeshNode to create |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddNode(), SMDS_Mesh::AddNodeWithID(), SMDS_MeshElement::GetID(), and myScript.
Referenced by SMESH_MesherHelper::AddNode(), DriverMED::buildMeshGrille(), SMESH_Gen_i::CopyMesh(), and DriverGMF_Read::Perform().
|
virtual |
Add a polygon defined by its nodes.
An ID is automatically affected to the created face.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddPolygonalFace(), SMDS_Mesh::AddPolygonalFace(), SMDS_MeshElement::GetID(), and myScript.
Referenced by SMESH_MesherHelper::AddPolygonalFace(), StdMeshers_Import_1D2D::Compute(), SMESH_Pattern::createElements(), SMESH_MeshEditor::InsertNodesIntoLink(), DriverMED_R_SMESHDS_Mesh::Perform(), StdMeshers_Prism_3D::projectBottomToTop(), and SMESH_MeshEditor::sweepElement().
|
virtual |
Add a polygon defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddPolygonalFace(), SMDS_Mesh::AddPolygonalFaceWithID(), and myScript.
Referenced by SMESH_MesherHelper::AddPolygonalFace(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Add a polygon defined by its nodes.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddPolygonalFace(), SMDS_Mesh::AddPolygonalFaceWithID(), and myScript.
|
virtual |
Create a new polyhedral volume and add it to the mesh.
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddPolyhedralVolume(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddPolyhedralVolume(), StdMeshers_Projection_3D::Compute(), SMESH_Pattern::createElements(), SMESH_MeshEditor::sweepElement(), and SMESH_MeshEditor::UpdateVolumes().
|
virtual |
Create a new polyhedral volume and add it to the mesh.
ID | The ID of the new volume |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddPolyhedralVolume(), SMDS_Mesh::AddPolyhedralVolumeWithID(), and myScript.
Referenced by SMESH_MesherHelper::AddPolyhedralVolume().
|
virtual |
Create a new polyhedral volume and add it to the mesh.
ID | The ID of the new volume |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddPolyhedralVolumeWithID().
|
virtual |
Add a quadratic polygon defined by its nodes.
An ID is automatically affected to the created face.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddQuadPolygonalFace(), SMDS_Mesh::AddQuadPolygonalFace(), SMDS_MeshElement::GetID(), and myScript.
Referenced by SMESH_MesherHelper::AddPolygonalFace(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Add a quadratic polygon defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddQuadPolygonalFace(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), and myScript.
Referenced by SMESH_MesherHelper::AddPolygonalFace(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Add a quadratic polygon defined by its nodes.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddQuadPolygonalFace(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), and myScript.
|
inherited |
Create a submesh and add it to the current mesh.
References SMDS_Mesh::myChildren, and SMDS_Mesh::SMDS_Mesh().
|
virtual |
Create a new tetrahedron and add it to the mesh.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
Referenced by SMESH_MesherHelper::AddVolume(), SMESH_Pattern::createElements(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), and SMESH_MeshEditor::sweepElement().
|
virtual |
Create a new pyramid and add it to the mesh.
Nodes 1,2,3 and 4 define the base of the pyramid
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
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 from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
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 from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
Create a new hexagonal prism and add it to the mesh.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
virtualinherited |
Create a new tetrahedron defined by its faces and add it to the mesh.
References SMDS_Mesh::AddVolumeWithID(), SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionFaces(), and SMDS_Mesh::myElementIDFactory.
|
virtualinherited |
Create a new pyramid defined by its faces and add it to the mesh.
References SMDS_Mesh::AddVolumeWithID(), SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionFaces(), and SMDS_Mesh::myElementIDFactory.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
virtualinherited |
Create a new prism defined by its faces and add it to the mesh.
References SMDS_Mesh::AddVolumeWithID(), SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionFaces(), and SMDS_Mesh::myElementIDFactory.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolume(), SMDS_MeshElement::GetID(), and myScript.
|
virtualinherited |
|
virtualinherited |
References SMDS_Mesh::adjustmyCellsCapacity(), ObjectPool< X >::destroy(), ObjectPool< X >::getNew(), SMDS_MeshElement::getVtkId(), SMDS_VtkVolume::GetVtkType(), SMDS_VtkVolume::init(), SMDS_Mesh::myCells, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbHexas, SMDS_MeshInfo::myNbPolyhedrons, SMDS_MeshInfo::myNbPrisms, SMDS_MeshInfo::myNbPyramids, SMDS_MeshInfo::myNbQuadHexas, SMDS_MeshInfo::myNbQuadPrisms, SMDS_MeshInfo::myNbQuadPyramids, SMDS_MeshInfo::myNbQuadTetras, SMDS_MeshInfo::myNbTetras, SMDS_Mesh::myVolumePool, and SMDS_Mesh::registerElement().
Referenced by SMDS_Mesh::AddVolumeFromVtkIds().
|
virtual |
Create a new tetrahedron and add it to the mesh.
ID | The ID of the new volume |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
Referenced by SMESH_MesherHelper::AddVolume(), AddVolumeWithID(), DriverMED::buildMeshGrille(), and DriverGMF_Read::Perform().
|
virtual |
Create a new tetrahedron and add it to the mesh.
ID | The ID of the new volume |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
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 from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
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 from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
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 from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
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 from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
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 from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
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 from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Create a new hexagonal prism and add it to the mesh.
ID | The ID of the new volume |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
virtual |
Create a new hexagonal prism and add it to the mesh.
ID | The ID of the new volume |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
virtualinherited |
Create a new tetrahedron defined by its faces and add it to the mesh.
ID | The ID of the new volume |
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionFaces(), SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbTetras, SMDS_Mesh::NbVolumes(), and SMDS_Mesh::registerElement().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtualinherited |
Create a new pyramid defined by its faces and add it to the mesh.
ID | The ID of the new volume |
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionFaces(), SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbPyramids, SMDS_Mesh::NbVolumes(), and SMDS_Mesh::registerElement().
|
virtualinherited |
Create a new prism defined by its faces and add it to the mesh.
ID | The ID of the new volume |
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, SMDS_MeshElementIDFactory::GetFreeID(), SMDS_Mesh::hasConstructionFaces(), SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbPrisms, SMDS_Mesh::NbVolumes(), and SMDS_Mesh::registerElement().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), SMDS_Mesh::AddVolumeWithID(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
protectedinherited |
Referenced by SMDS_Mesh::AddNodeWithID(), and SMDS_MeshNode::setXYZ().
|
protectedinherited |
References SMDS_Mesh::chunkSize.
Referenced by SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceFromVtkIdsWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeFromVtkIdsWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), and SMDS_Mesh::FindEdgeOrCreate().
void SMESHDS_Mesh::BuildDownWardConnectivity | ( | bool | withEdges | ) |
References SMDS_UnstructuredGrid::BuildDownwardConnectivity(), and SMDS_Mesh::myGrid.
Referenced by SMESH_MeshEditor::CreateHoleSkin(), and SMESH_MeshEditor::DoubleNodesOnGroupBoundaries().
bool SMESHDS_Mesh::ChangeElementNodes | ( | const SMDS_MeshElement * | elem, |
const SMDS_MeshNode * | nodes[], | ||
const int | nbnodes | ||
) |
References SMESHDS_Script::ChangeElementNodes(), SMDS_Mesh::ChangeElementNodes(), SMDS_MeshElement::GetID(), and myScript.
Referenced by SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::doubleNodes(), SMESH_MeshEditor::InverseDiag(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_ViscousBuilder::shrink(), VISCOUS_3D::_Shrinker1D::SwapSrcTgtNodes(), and SMESH_MeshEditor::Transform().
bool SMESHDS_Mesh::ChangePolygonNodes | ( | const SMDS_MeshElement * | elem, |
std::vector< const SMDS_MeshNode * > | nodes | ||
) |
bool SMESHDS_Mesh::ChangePolyhedronNodes | ( | const SMDS_MeshElement * | elem, |
std::vector< const SMDS_MeshNode * > | nodes, | ||
std::vector< int > | quantities | ||
) |
References SMDS_Mesh::ChangePolyhedronNodes(), and SMDS_MeshElement::GetID().
|
inherited |
References SMDS_MeshElement::GetType(), MESSAGE, SMDS_MeshElement::nodesIterator(), SMDS_MeshNode::RemoveInverseElement(), and SMDSAbs_Volume.
Referenced by ChangePolyhedronNodes().
Raise an exception if free memory (ram+swap) too low.
doNotRaise | - if true, suppres exception, just return free memory size |
int | - amount of available memory in MB or negative number in failure case |
References MESSAGE.
Referenced by SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeWithID(), SMESH_VisualObjDef::buildElemPrs(), SMESH_VisualObjDef::buildNodePrs(), SMESHGUI_BaseComputeOp::computeMesh(), SMESH_subMesh::ComputeStateEngine(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), SMDS_Mesh::FindEdgeOrCreate(), and SMESH::GetVisualObj().
void SMESHDS_Mesh::CleanDownWardConnectivity | ( | ) |
References SMDS_UnstructuredGrid::CleanDownwardConnectivity(), and SMDS_Mesh::myGrid.
Referenced by SMESH_MeshEditor::DoubleNodesOnGroupBoundaries().
|
virtualinherited |
Clear all data.
References SMDS_MeshInfo::Clear(), SMDS_MeshNodeIDFactory::Clear(), SMDS_MeshElementIDFactory::Clear(), ObjectPool< X >::clear(), SMDS_UnstructuredGrid::DeleteLinks(), SMDS_Mesh::elementsIterator(), SMDS_MeshElement::GetID(), SMDS_MeshElement::getVtkId(), SMDS_Mesh::myBallPool, SMDS_Mesh::myCellIdVtkToSmds, SMDS_Mesh::myCells, SMDS_Mesh::myChildren, SMDS_Mesh::myEdgePool, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myFacePool, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_Mesh::myModified, SMDS_Mesh::myModifTime, SMDS_Mesh::myNodeIDFactory, SMDS_Mesh::myNodePool, SMDS_Mesh::myNodes, SMDS_Mesh::myParent, SMDS_Mesh::myVolumePool, SMDS_Mesh::nodesIterator(), SMDS_SpacePosition::originSpacePosition(), SMDS_MeshNodeIDFactory::ReleaseID(), SMDS_MeshElementIDFactory::ReleaseID(), SMDS_MeshNode::SetPosition(), SMDS_Mesh::xmax, SMDS_Mesh::xmin, SMDS_Mesh::ymax, SMDS_Mesh::ymin, SMDS_Mesh::zmax, and SMDS_Mesh::zmin.
Referenced by ClearMesh(), SMESH_Client::Update(), and SMESHGUI_SewingDlg::BorderGroupDisplayer::Update().
void SMESHDS_Mesh::ClearMesh | ( | ) |
Remove all data from the mesh.
References SMDS_Mesh::Clear(), SMESHDS_Script::ClearMesh(), myGroups, myScript, and SubMeshes().
void SMESHDS_Mesh::ClearScript | ( | ) |
References SMESHDS_Script::Clear(), and myScript.
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_UnstructuredGrid::compactGrid(), SMDS_Mesh::compactMesh(), SMDS_MeshNodeIDFactory::emptyPool(), SMDS_Mesh::isCompacted(), Max(), MESSAGE, SMDS_Mesh::myCellIdVtkToSmds, SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myGrid, SMDS_Mesh::myNodeIDFactory, SMDS_Mesh::myNodes, myScript, SMESHDS_Script::SetModified(), and SubMeshes().
Referenced by Renumber().
|
inherited |
Checks if the element is present in mesh.
Useful to determine dead pointers. Use this function for debug purpose only! Do not check in the code using it even in DEBUG mode
Useful to determine dead pointers.
References SMDS_Mesh::elementsIterator(), and SMDS_Mesh::nodesIterator().
|
protectedinherited |
Create a quadrangle and add it to the current mesh.
This methode do not bind a ID to the create triangle.
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, ObjectPool< X >::destroy(), SMDS_Mesh::FindEdgeOrCreate(), ObjectPool< X >::getNew(), SMDS_MeshElement::getVtkId(), SMDS_Mesh::hasConstructionEdges(), SMDS_VtkFace::init(), SMDS_Mesh::myCells, SMDS_Mesh::myFacePool, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbQuadrangles, SMDS_Mesh::myNodeIds, SMDS_Mesh::NbFaces(), and SMDS_Mesh::registerElement().
Referenced by SMDS_Mesh::AddFaceWithID(), and SMDS_Mesh::FindFaceOrCreate().
|
protectedinherited |
Create a triangle and add it to the current mesh.
This method do not bind an ID to the create triangle.
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, ObjectPool< X >::destroy(), SMDS_Mesh::FindEdgeOrCreate(), ObjectPool< X >::getNew(), SMDS_MeshElement::getVtkId(), SMDS_Mesh::hasConstructionEdges(), SMDS_VtkFace::init(), SMDS_Mesh::myCells, SMDS_Mesh::myFacePool, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbTriangles, SMDS_Mesh::myNodeIds, SMDS_Mesh::NbFaces(), and SMDS_Mesh::registerElement().
Referenced by SMDS_Mesh::AddFaceWithID(), and SMDS_Mesh::FindFaceOrCreate().
|
inherited |
|
inherited |
References SMDS_Mesh::elementsIterator(), and SMDSAbs_0DElement.
|
inherited |
References SMDS_Mesh::edgesIterator().
|
inherited |
References SMDS_Mesh::facesIterator().
|
inherited |
References SMDS_UnstructuredGrid::GetLinks(), and SMDS_Mesh::myGrid.
|
inherited |
References SMDS_Mesh::nodesIterator().
|
inherited |
References SMDS_Mesh::volumesIterator().
|
virtualinherited |
Return an iterator on edges of the current mesh.
Reimplemented in SMESH_MeshPartDS.
References SMDS_Mesh::myCells, and SMDSAbs_Edge.
Referenced by SMESH_MeshEditor::ConvertToQuadratic(), SMDS_Mesh::DumpEdges(), and SMESH_MeshObj::GetEntities().
|
virtualinherited |
Reimplemented in SMESH_MeshPartDS.
References SMDS_Mesh::myCells, SMDS_Mesh::myNodes, and SMDSEntity_Node.
Referenced by SMESH_MeshPartDS::elementEntityIterator(), DriverGMF_Write::elementIterator(), and DriverMED_W_SMESHDS_Mesh::Perform().
|
virtualinherited |
Reimplemented in SMESH_MeshPartDS.
References SMDS_Mesh::myCells.
Referenced by SMESH_MeshPartDS::elementGeomIterator(), DriverGMF_Write::elementIterator(), SMESH_MeshObj::GetEntities(), and DriverMED_W_SMESHDS_Mesh::Perform().
|
virtualinherited |
Return an iterator on elements of the current mesh factory.
Reimplemented in SMESH_MeshPartDS.
References SMDS_Mesh::myCells, SMDS_Mesh::myNodes, SMDSAbs_All, and SMDSAbs_Node.
Referenced by SMESH_Gen_i::_GetInside(), SMDS_Mesh::Clear(), SMDS_Mesh::Contains(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::Create0DElementsOnAllNodes(), SMESH_MeshEditor::DoubleElements(), SMDS_Mesh::Dump0DElements(), DriverGMF_Write::elementIterator(), SMDS_MeshNodeIDFactory::elementsIterator(), SMDS_MeshElementIDFactory::elementsIterator(), 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::Controls::NumericalFunctor::GetHistogram(), 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(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH::Controls::ElementsOnSurface::process(), SMESH_MeshEditor::QuadTo4Tri(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_MeshEditor::Reorient2DBy3D(), SMESH_Gen_i::Save(), DriverMED_W_Field::Set(), SMESHDS_GroupOnFilter::setNbElemToSkip(), SMESH_MeshEditor::Transform(), and SMDS_Mesh::~SMDS_Mesh().
|
virtualinherited |
Return an iterator on faces of the current mesh.
Reimplemented in SMESH_MeshPartDS.
References SMDS_Mesh::myCells, and SMDSAbs_Face.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_MeshEditor::ConvertToQuadratic(), SMDS_Mesh::DebugStats(), SMDS_Mesh::DumpFaces(), SMESH_MeshAlgos::FindCoincidentFreeBorders(), SMESH::Controls::FreeEdges::GetBoreders(), SMESH_MeshObj::GetEntities(), SMESH::Controls::Length2D::GetValues(), SMESH::Controls::MultiConnection2D::GetValues(), isMeshBoundToShape(), SMESH_MesherHelper::IsQuadraticSubMesh(), SMESH::Controls::ManifoldPart::process(), SMESH_MeshEditor::Reorient2D(), and DriverSTL_W_SMDS_Mesh::writeBinary().
|
inherited |
References SMDS_Mesh::FindNode().
|
staticinherited |
|
inherited |
References SMDS_Mesh::FindNode().
|
staticinherited |
|
inherited |
References SMDS_Mesh::FindNode().
Referenced by _MyEdgeIterator::_MyEdgeIterator(), StdMeshers_Projection_1D2D::Compute(), SMDS_Mesh::FindEdge(), SMDS_Mesh::FindEdgeOrCreate(), SMDS_VolumeTool::GetAllExistingEdges(), SMESH_MeshEditor::InsertNodesIntoLink(), and SMESH_MesherHelper::IsReversedSubMesh().
|
inherited |
References SMDS_Mesh::FindEdge(), and SMDS_Mesh::FindNode().
|
staticinherited |
|
staticinherited |
|
protectedinherited |
References SMDS_Mesh::adjustmyCellsCapacity(), SMDS_Mesh::CheckMemory(), CHECKMEMORY_INTERVAL, ObjectPool< X >::destroy(), SMDS_Mesh::FindEdge(), SMDS_MeshElementIDFactory::GetFreeID(), ObjectPool< X >::getNew(), SMDS_MeshElement::getVtkId(), SMDS_VtkEdge::init(), SMDS_Mesh::myCells, SMDS_Mesh::myEdgePool, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbEdges, SMDS_Mesh::myNodeIds, SMDS_Mesh::NbEdges(), and SMDS_Mesh::registerElement().
Referenced by SMDS_Mesh::createQuadrangle(), and SMDS_Mesh::createTriangle().
|
inherited |
References SMDS_Mesh::myCells.
Referenced by SMESH_Gen_i::_GetInside(), MeshEditor_I::arrayToSet(), SMESH_Mesh_i::BaryCenter(), 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_Mesh_i::ElemNbEdges(), SMESH_Mesh_i::ElemNbFaces(), enlargeBoundingBox(), SMDS_Mesh::FindFace(), SMESH_Gen_i::FindGeometryByMeshElement(), SMESHGUI_MergeDlg::FindGravityCenter(), SMESHDS_GroupBase::findInMesh(), DriverSTL_W_SMDS_Mesh::findVolumeTriangles(), SMESHGUI_PreVisualObj::GetEdgeNodes(), SMESH_VisualObjDef::GetEdgeNodes(), SMESHGUI_PreVisualObj::GetElemDimension(), SMESH_MeshObj::GetElemDimension(), SMESH_Mesh_i::GetElementPosition(), SMESH_Mesh_i::GetElemNbNodes(), SMESH_Mesh_i::GetElemNode(), SMESHGUI_PreVisualObj::GetElemVTKId(), getNodesFromElems(), getPointers(), SMESH::Controls::NumericalFunctor::GetPoints(), 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(), MeshEditor_I::idSourceToNodeSet(), StdMeshers_Import_1D::importMesh(), 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::RangeOfIds::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(), SMESHGUI_PredicateFilter::IsValid(), SMESHGUI_QuadrangleFilter::IsValid(), SMESHGUI_TriangleFilter::IsValid(), SMESHGUI_FacesFilter::IsValid(), SMESHGUI_VolumesFilter::IsValid(), SMESHGUI_VolumeShapeFilter::IsValid(), SMESH::SMESH_MeshEditor::Make2DMeshFrom3D(), SMESH_MeshEditor::MergeElements(), SMDS_MeshElementIDFactory::MeshElement(), SMDS_MeshNode::NbInverseElements(), SMDS_MeshNode_MyInvIterator::next(), SMESHGUI_3TypesSelector::onTextChange(), SMESHGUI_CopyMeshDlg::onTextChange(), SMESHGUI_SmoothingDlg::onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_MeshPatternDlg::onTextChanged(), SMESHGUI_SelectionOp::onTextChanged(), SMESH::Controls::ManifoldPart::process(), SMESH_MeshEditor::Remove(), SMESH::Controls::CoplanarFaces::SetMesh(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor::SewFreeBorder(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), SMDS_MeshNode_MyInvIterator::SMDS_MeshNode_MyInvIterator(), and SMESH_MeshEditor::SplitVolumes().
|
staticinherited |
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().
|
inherited |
References SMDS_Mesh::FindNode().
Referenced by SMDS_Mesh::FindFace(), SMDS_Mesh::FindFaceOrCreate(), SMESH_MesherHelper::FixQuadraticElements(), and SMDS_VolumeTool::GetAllExistingFaces().
|
inherited |
References SMDS_Mesh::FindFace(), and SMDS_Mesh::FindNode().
|
inherited |
References SMDS_Mesh::FindFace(), and SMDS_Mesh::FindNode().
|
inherited |
References SMDS_Mesh::FindFace(), and SMDS_Mesh::FindNode().
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
inherited |
References SMDS_Mesh::FindFace(), and SMDS_Mesh::FindNode().
|
staticinherited |
References SMDS_Mesh::FindElement(), and SMDSAbs_Face.
|
protectedinherited |
References SMDS_Mesh::createTriangle(), SMDS_Mesh::FindFace(), SMDS_MeshElementIDFactory::GetFreeID(), and SMDS_Mesh::myElementIDFactory.
Referenced by SMDS_Mesh::AddVolumeWithID().
|
protectedinherited |
|
inherited |
Return the node whose SMDS ID is 'ID'.
References SMDS_Mesh::myNodes.
Referenced by SMESH_Gen_i::_GetInside(), MeshEditor_I::arrayToSet(), SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_Gen_i::CopyMesh(), SMESH_Mesh_i::CreateDimGroup(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), SMESH_MeshEditor::DoubleNodes(), enlargeBoundingBox(), SMDS_Mesh::Find0DElement(), SMDS_Mesh::FindBall(), SMDS_Mesh::FindEdge(), SMDS_Mesh::FindFace(), SMESHDS_GroupBase::findInMesh(), DriverMED::FindNode(), SMESH_Mesh_i::GetNodeInverseElements(), SMESH_Mesh_i::GetNodePosition(), SMESHGUI_PreVisualObj::GetNodeVTKId(), SMESH_Mesh_i::GetNodeXYZ(), SMESHGUI_SewingDlg::BorderGroupDisplayer::getPartEnds(), getPointers(), SMESH_Mesh_i::GetShapeID(), SMESH::Controls::NodeConnectivityNumber::GetValue(), MeshEditor_I::idSourceToNodeSet(), SMESH_Mesh_i::IsMediumNode(), SMESH_Mesh_i::IsMediumNodeOfAnyElem(), SMESHGUI_PredicateFilter::IsObjValid(), SMESH::Controls::ElemEntityType::IsSatisfy(), SMESH::Controls::FreeNodes::IsSatisfy(), SMESH::Controls::RangeOfIds::IsSatisfy(), SMESH::Controls::ElementsOnShape::IsSatisfy(), SMESH::Controls::BelongToGeom::IsSatisfy(), SMESH::Controls::LyingOnGeom::IsSatisfy(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESHGUI_AddQuadraticElementDlg::IsValid(), SMESHGUI_PredicateFilter::IsValid(), SMESH_MeshEditor_i::MergeNodes(), SMDS_MeshNodeIDFactory::MeshElement(), SMESH::Measurements_i::MinDistance(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESHGUI_3TypesSelector::onTextChange(), SMESHGUI_AddMeshElementDlg::onTextChange(), SMESHGUI_AddQuadraticElementDlg::onTextChange(), SMESHGUI_SmoothingDlg::onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_SelectionOp::onTextChanged(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_MeshEditor::Remove(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESH::Controls::ConnectedElements::SetNode(), 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::SewConformFreeBorders(), SMESH_MeshEditor_i::SewFreeBorders(), SMESH_MeshEditor_i::SewSideElements(), SMESH_MeshEditor_i::smooth(), and DriverGMF_Read::storeBadNodeIds().
|
inherited |
Return the node whose VTK ID is 'vtkId'.
References MESSAGE, and SMDS_Mesh::myNodes.
Referenced by SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMDS_VtkVolume::GetFaceNode(), SMESHGUI_PreVisualObj::GetNodeObjId(), and SMDS_VtkCellIterator::next().
References SMDS_Mesh::myCellIdVtkToSmds.
Referenced by SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), 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(), SMDS_MeshNode::NbInverseElements(), SMDS_MeshNode_MyInvIterator::next(), and SMDS_MeshNode_MyInvIterator::SMDS_MeshNode_MyInvIterator().
|
inherited |
References SMDS_MeshElement::GetType(), SMDS_MeshNodeIDFactory::MeshElement(), SMDS_MeshElementIDFactory::MeshElement(), SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myNodeIDFactory, and SMDSAbs_All.
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), and SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation().
|
inherited |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid
Referenced by SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMDS_VtkVolume::GetFaceNode(), SMDS_VtkVolume::GetQuantities(), SMESHGUI_PreVisualObj::GetUnstructuredGrid(), SMDS_VtkFace::init(), SMDS_VtkVolume::init(), SMDS_BallElement::init(), SMDS_VtkEdge::init(), SMDS_VtkFace::initPoly(), SMDS_VtkVolume::initPoly(), SMDS_VtkFace::initQuadPoly(), SMDS_MeshNode::RemoveInverseElement(), SMDS_MeshElementIDFactory::SetInVtkGrid(), SMDS_MeshNode::setXYZ(), SMDS_VtkCellIterator::SMDS_VtkCellIterator(), SMDS_VtkCellIteratorPolyH::SMDS_VtkCellIteratorPolyH(), and SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV().
const std::set<SMESHDS_GroupBase*>& SMESHDS_Mesh::GetGroups | ( | ) | const |
Referenced by SMESH_MeshEditor::AddToSameGroups(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Pattern::createElements(), SMESH_PreMeshInfo::FullLoadFromFile(), DriverGMF_Write::Perform(), DriverGMF_Read::Perform(), SMESH_MeshEditor::RemoveElemFromGroups(), SMESH_MeshEditor::ReplaceElemInGroups(), SMESH::Controls::GroupColor::SetMesh(), and SMESH_MeshPartDS::SMESH_MeshPartDS().
const ShapeToHypothesis& SMESHDS_Mesh::GetHypotheses | ( | ) | const |
Referenced by SMESH_Mesh_i::CheckGeomModif().
const list< const SMESHDS_Hypothesis * > & SMESHDS_Mesh::GetHypothesis | ( | const TopoDS_Shape & | S | ) | const |
References myShapeToHypothesis.
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), and SMESH_Gen_i::Save().
|
inherited |
References SMDS_Mesh::xmax, SMDS_Mesh::xmin, SMDS_Mesh::ymax, SMDS_Mesh::ymin, SMDS_Mesh::zmax, and SMDS_Mesh::zmin.
|
inherited |
References SMDS_MeshElement::myMeshId.
Referenced by SMDS_VtkFace::init(), SMDS_VtkVolume::init(), SMDS_BallElement::init(), SMDS_VtkEdge::init(), SMDS_VtkFace::initPoly(), and SMDS_VtkFace::initQuadPoly().
|
inherited |
Referenced by SMDS_UnstructuredGrid::BuildDownwardConnectivity(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::DoubleElements(), SMESHDS_GroupOnFilter::GetElements(), MeshEditor_I::getElementsAround(), SMESH::Controls::NumericalFunctor::GetHistogram(), SMESH_GroupOnFilter_i::GetListOfID(), SMESH_Mesh_i::GetMeshInfo(), SMESHGUI_PreVisualObj::GetNbEntities(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_ElementSearcherImpl::getTolerance(), SMESHDS_GroupBase::IsEmpty(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH_ProxyMesh::NbFaces(), DriverGMF_Read::Perform(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH::Controls::ElementsOnSurface::process(), SMESH_Gen_i::Save(), SMESH_PreMeshInfo::SaveToFile(), and DriverMED_W_Field::Set().
|
inherited |
get last modification timeStamp
References SMDS_Mesh::myModifTime.
Referenced by SMESHDS_GroupOnGeom::GetTic(), SMESHDS_GroupOnFilter::GetTic(), SMESH::Controls::TMeshModifTracer::IsMeshModified(), SMESHDS_GroupOnFilter::IsUpToDate(), and SMESHDS_GroupOnFilter::setChanged().
int SMESHDS_Mesh::GetNbGroups | ( | ) | const |
Referenced by SMESH::Controls::GroupColor::SetMesh().
int SMESHDS_Mesh::GetPersistentId | ( | ) | const |
Return ID persistent during lifecycle.
References myPersistentID.
Referenced by StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_ImportSource1D::GetSourceMeshes(), and SMESH_Gen_i::Save().
SMESHDS_Script * SMESHDS_Mesh::GetScript | ( | ) |
References myScript.
Referenced by SMESH_Client::Update().
|
private |
return submesh by shape
shape | - the sub-shape |
SMESHDS_SubMesh* | - the found submesh |
References NewSubMesh(), and ShapeToIndex().
Referenced by SetMeshElementOnShape(), SetNodeInVolume(), SetNodeOnEdge(), SetNodeOnFace(), and SetNodeOnVertex().
|
inherited |
Return true if this mesh create faces with edges.
A false returned value mean that faces are created with nodes. A concequence is, iteration on edges (SMDS_Element::edgesIterator) will be unavailable.
References SMDS_Mesh::myHasConstructionEdges.
Referenced by SMDS_Mesh::addChildrenWithNodes(), SMDS_Mesh::AddFace(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), DriverMED_W_SMESHDS_Mesh::Perform(), RemoveElement(), SMDS_Mesh::RemoveElement(), RemoveFreeElement(), SMDS_Mesh::RemoveFreeElement(), and RemoveNode().
|
inherited |
Return true if this mesh create volumes with faces A false returned value mean that volumes are created with nodes or edges.
(see hasConstructionEdges) A concequence is, iteration on faces (SMDS_Element::facesIterator) will be unavailable.
References SMDS_Mesh::myHasConstructionFaces.
Referenced by SMDS_Mesh::addChildrenWithNodes(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddVolume(), SMDS_Mesh::AddVolumeWithID(), DriverMED_W_SMESHDS_Mesh::Perform(), RemoveElement(), SMDS_Mesh::RemoveElement(), RemoveFreeElement(), SMDS_Mesh::RemoveFreeElement(), and RemoveNode().
bool SMESHDS_Mesh::HasHypothesis | ( | const TopoDS_Shape & | S | ) |
References myShapeToHypothesis.
|
inherited |
Return true if nodes are linked to the finit elements, they are belonging to.
Currently, It always return true.
References SMDS_Mesh::myHasInverseElements.
bool SMESHDS_Mesh::HasMeshElements | ( | const TopoDS_Shape & | S | ) | const |
References SMESHDS_TSubMeshHolder< SUBMESH >::Get(), myIndexToShape, and mySubMeshHolder.
const TopoDS_Shape & SMESHDS_Mesh::IndexToShape | ( | int | ShapeIndex | ) | const |
References myIndexToShape.
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate(), StdMeshers_Import_1D2D::Compute(), SMESH_Pattern::createElements(), SMESH_Mesh_i::exportMEDFields(), VISCOUS_3D::_ViscousBuilder::findFacesWithLayers(), SMESH_Gen_i::FindGeometryByMeshElement(), SMESH_MeshEditor::FindShape(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_MesherHelper::GetCentralNode(), StdMeshers_Quadrangle_2D::getCorners(), VISCOUS_2D::getEdgesToIgnore(), SMESH_Mesh_i::GetElementPosition(), VISCOUS_3D::_ViscousBuilder::getIgnoreFaces(), SMESH_MesherHelper::GetMediumNode(), DriverMED_W_SMESHDS_Mesh::getNodesOfMissing0DOnVert(), SMESH_MesherHelper::GetNodeU(), SMESH_MesherHelper::GetSubShapeByNode(), SMESH_MesherHelper::IsReversedSubMesh(), VISCOUS_3D::_ViscousBuilder::makeLayer(), SMESH_MeshEditor::QuadToTri(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_PreMeshInfo::readSubMeshInfo(), SMESH_Gen_i::Save(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor_i::SetNodeInVolume(), SMESH_MeshEditor_i::SetNodeOnEdge(), SMESH_MeshEditor_i::SetNodeOnFace(), SMESH_MeshEditor_i::SetNodeOnVertex(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), SMESH_MeshEditor::SplitVolumes(), and StdMeshers_PrismAsBlock::TSideFace::Value().
|
inherited |
References SMDS_Mesh::myCompactTime, and SMDS_Mesh::myModifTime.
Referenced by compactMesh(), and Renumber().
bool SMESHDS_Mesh::IsEmbeddedMode | ( | ) |
References myIsEmbeddedMode.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute2ndPart().
bool SMESHDS_Mesh::IsGroupOfSubShapes | ( | const TopoDS_Shape & | aSubShape | ) | const |
References myIndexToShape.
Referenced by AddCompoundSubmesh(), and SMESH::Controls::LyingOnGeom::init().
bool SMESHDS_Mesh::IsUsedHypothesis | ( | const SMESHDS_Hypothesis * | H | ) | const |
returns true if the hypothesis is assigned to any sub-shape
References myShapeToHypothesis.
|
inherited |
References SMDS_MeshNodeIDFactory::GetMaxID(), and SMDS_Mesh::myElementIDFactory.
Referenced by cleanSubMesh(), and SMESH_Mesh_i::CreateDimGroup().
|
inherited |
References SMDS_MeshNodeIDFactory::GetMaxID(), and SMDS_Mesh::myNodeIDFactory.
Referenced by cleanSubMesh().
int SMESHDS_Mesh::MaxShapeIndex | ( | ) | const |
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), SMESH_Mesh_i::exportMEDFields(), DriverMED_W_SMESHDS_Mesh::getNodesOfMissing0DOnVert(), VISCOUS_3D::_ViscousBuilder::makeLayer(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_PreMeshInfo::readSubMeshInfo(), SMESH_Gen_i::Save(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor_i::SetNodeInVolume(), SMESH_MeshEditor_i::SetNodeOnEdge(), SMESH_MeshEditor_i::SetNodeOnFace(), and SMESH_MeshEditor_i::SetNodeOnVertex().
int SMESHDS_Mesh::MaxSubMeshIndex | ( | ) | const |
Return max index of sub-mesh.
References SMESHDS_TSubMeshHolder< SUBMESH >::GetMaxID(), and mySubMeshHolder.
Referenced by SMESH_PreMeshInfo::readSubMeshes(), and SMESH_PreMeshInfo::readSubMeshInfo().
SMESHDS_SubMesh * SMESHDS_Mesh::MeshElements | ( | const TopoDS_Shape & | S | ) | const |
Return the sub mesh linked to the a given TopoDS_Shape or NULL if the given TopoDS_Shape is unknown.
References SMESHDS_TSubMeshHolder< SUBMESH >::Get(), mySubMeshHolder, and ShapeToIndex().
Referenced by VISCOUS_3D::_ViscousBuilder::addBoundaryElements(), VISCOUS_3D::_Shrinker1D::AddEdge(), clearSubMesh(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Cartesian_3D::Compute(), StdMeshers_Hexa_3D::Compute(), StdMeshers_RadialPrism_3D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), StdMeshers_Prism_3D::computeWalls(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_Pattern::createElements(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_MeshEditor::FindShape(), VISCOUS_3D::_ViscousBuilder::fixBadFaces(), StdMeshers_Quadrangle_2D::getCorners(), StdMeshers_FaceSide::GetEdgeNodes(), SMESH_Algo::GetNodeParamOnEdge(), DriverMED_W_SMESHDS_Mesh::getNodesOfMissing0DOnVert(), SMESH_Algo::GetSortedNodesOnEdge(), SMESH_ProxyMesh::GetSubMesh(), StdMeshers_Prism_3D::getSweepTolerance(), SMESH_subMesh::IsMeshComputed(), SMESH_MesherHelper::IsQuadraticSubMesh(), SMESH_MesherHelper::IsReversedSubMesh(), StdMeshers_Penta_3D::LoadIJNodes(), SMESH_MesherHelper::LoadNodeColumns(), VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), StdMeshers_Penta_3D::MakeNodes(), NewSubMesh(), VISCOUS_3D::_ViscousBuilder::prepareEdgeToShrink(), SMESH_MeshEditor::QuadTo4Tri(), VISCOUS_3D::_ViscousBuilder::refine(), RemoveElement(), RemoveFreeElement(), RemoveFreeNode(), removeFromContainers(), SMESH_MeshEditor::removeQuadElem(), StdMeshers_MaxElementArea::SetParametersByMesh(), StdMeshers_MaxElementVolume::SetParametersByMesh(), StdMeshers_AutomaticLength::SetParametersByMesh(), StdMeshers_NumberOfSegments::SetParametersByMesh(), SMESHDS_GroupOnGeom::SetShape(), SMESH_subMesh::SMESH_subMesh(), StdMeshers_Quadrangle_2D::smooth(), SMESH_MeshEditor::SplitBiQuadraticIntoLinear(), SMESH_MeshEditor::SplitVolumes(), VISCOUS_3D::_Shrinker1D::SwapSrcTgtNodes(), UnSetMeshElementOnShape(), UnSetNodeOnShape(), and SMESH_Algo::VertexNode().
SMESHDS_SubMesh * SMESHDS_Mesh::MeshElements | ( | const int | Index | ) | const |
Return the sub mesh by Id of shape it is linked to.
References SMESHDS_TSubMeshHolder< SUBMESH >::Get(), and mySubMeshHolder.
|
inherited |
References SMDS_MeshNodeIDFactory::GetMinID(), and SMDS_Mesh::myElementIDFactory.
|
inherited |
References SMDS_MeshNodeIDFactory::GetMinID(), and SMDS_Mesh::myNodeIDFactory.
|
inherited |
modification that needs compact structure and redraw
References SMDS_Mesh::myModified, and SMDS_Mesh::myModifTime.
Referenced by SMESH_Gen_i::ConcatenateCommon(), SMESH_Gen_i::CopyMesh(), SMESH_PreMeshInfo::FullLoadFromFile(), and SMDS_Mesh::SMDS_Mesh().
change some nodes in cell without modifying type or internal connectivity.
Nodes inverse connectivity is maintained up to date.
vtkVolId | vtk id of the cell. |
localClonedNodeIds | map old node id to new node id. |
References SMDS_UnstructuredGrid::ModifyCellNodes(), and SMDS_Mesh::myGrid.
Referenced by SMESH_MeshEditor::DoubleNodesOnGroupBoundaries().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_MeshElement::GetID(), SMESHDS_Script::MoveNode(), SMDS_Mesh::MoveNode(), and myScript.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), StdMeshers_Prism_3D::computeWalls(), SMESH_2D_Algo::FixInternalNodes(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_MesherHelper::getMediumNodeOnComposedWire(), SMESH_MeshEditor::InverseDiag(), SMESH_MeshEditor::ExtrusParam::makeNodesByDir(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), StdMeshers_Prism_3D::projectBottomToTop(), VISCOUS_3D::_ViscousBuilder::refine(), VISCOUS_3D::_ViscousBuilder::restoreNoShrink(), SMESH_MeshEditor::SewFreeBorder(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_ViscousBuilder::shrink(), StdMeshers_Quadrangle_2D::smooth(), SMESH_MeshEditor::SplitVolumes(), and SMESH_MeshEditor::Transform().
|
virtualinherited |
Return the number of 0D elements.
References SMDS_Mesh::myInfo, and SMDS_MeshInfo::Nb0DElements().
Referenced by SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::DebugStats(), SMESH_MeshObj::GetNbEntities(), SMESH_MeshObj::IsNodePrs(), DriverMED_W_SMESHDS_Mesh::Perform(), and SMESH_Client::Update().
|
virtualinherited |
Return the number of 0D elements.
References SMDS_Mesh::myInfo, and SMDS_MeshInfo::NbBalls().
Referenced by SMDS_Mesh::AddBallWithID(), SMESH_MeshObj::GetNbEntities(), SMESH_MeshObj::IsNodePrs(), and DriverMED_W_SMESHDS_Mesh::Perform().
|
virtualinherited |
Return the number of edges (including construction edges)
References SMDS_Mesh::myInfo, and SMDS_MeshInfo::NbEdges().
Referenced by SMESH::SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMDS_Mesh::DebugStats(), SMDS_Mesh::FindEdgeOrCreate(), SMESH_MeshObj::GetNbEntities(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH_MeshObj::IsNodePrs(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::Perform(), DriverMED_W_Field::Set(), SMESH_Client::Update(), and SMESHGUI_SewingDlg::BorderGroupDisplayer::Update().
|
virtualinherited |
Return the number of elements.
References SMDS_Mesh::myInfo, and SMDS_MeshInfo::NbElements().
Referenced by cleanSubMesh().
|
virtualinherited |
Return the number of faces (including construction faces)
References SMDS_Mesh::myInfo, and SMDS_MeshInfo::NbFaces().
Referenced by SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMESH::SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), SMDS_Mesh::DebugStats(), SMESH_MeshObj::GetNbEntities(), SMESH::Controls::NodeConnectivityNumber::GetValue(), isMeshBoundToShape(), SMESH_MeshObj::IsNodePrs(), SMESH_ProxyMesh::NbFaces(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::Perform(), DriverMED_W_Field::Set(), and SMESH_Client::Update().
|
virtualinherited |
Return the number of nodes.
References SMDS_Mesh::myInfo, and SMDS_MeshInfo::NbNodes().
Referenced by SMESH_Gen_i::CopyMesh(), SMDS_Mesh::DebugStats(), SMESH_MeshEditor::DoubleElements(), MeshEditor_I::getElementsAround(), SMESH_MeshObj::GetNbEntities(), SMESH_MeshEditor_i::GetPreviewData(), StdMeshers_Import_1D::importMesh(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH_Gen_i::Save(), SMESH::Controls::ElementsOnShape::SetMesh(), SetPersistentId(), and SMESH_Client::Update().
|
virtualinherited |
Return the number of child mesh of this mesh.
Note that the tree structure of SMDS_Mesh is unused in SMESH
References SMDS_Mesh::myChildren.
|
virtualinherited |
Return the number of volumes.
References SMDS_Mesh::myInfo, and SMDS_MeshInfo::NbVolumes().
Referenced by SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddVolumeWithID(), SMESH::SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMDS_Mesh::DebugStats(), SMESH_MeshObj::GetNbEntities(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH_MeshObj::IsNodePrs(), DriverMED_W_SMESHDS_Mesh::Perform(), DriverMED_W_Field::Set(), and SMESH_Client::Update().
SMESHDS_SubMesh * SMESHDS_Mesh::NewSubMesh | ( | int | Index | ) |
References SMESHDS_TSubMeshHolder< SUBMESH >::Add(), MeshElements(), and mySubMeshHolder.
Referenced by AddCompoundSubmesh(), SMESH_subMesh::CreateSubMeshDS(), getSubmesh(), SMESH_PreMeshInfo::readSubMeshes(), SetMeshElementOnShape(), SetNodeInVolume(), SetNodeOnEdge(), SetNodeOnFace(), and SetNodeOnVertex().
|
virtualinherited |
Return an iterator on nodes of the current mesh factory.
Reimplemented in SMESH_MeshPartDS.
References SMDS_Mesh::myNodes.
Referenced by SMDS_Mesh::Clear(), SMDS_Mesh::Contains(), SMESH_Gen_i::CopyMesh(), SMDS_Mesh::DebugStats(), SMDS_Mesh::DumpNodes(), SMESH_MeshEditor::FindCoincidentNodes(), SMESH_MeshObj::GetEntities(), SMESH_Mesh_i::GetNodesId(), SMESH_ElementSearcherImpl::getTolerance(), MeshEditor_I::idSourceToNodeSet(), StdMeshers_Import_1D::importMesh(), SMESH_MeshEditor::ExtrusParam::makeNodesByDirAndSew(), DriverGMF_Write::Perform(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH_PreMeshInfo::readSubMeshes(), SMESH::Controls::CoincidentNodes::SetMesh(), SMESH_MeshEditor::Transform(), and SMDS_Mesh::~SMDS_Mesh().
|
protectedinherited |
Registers element with the given ID, maintains inverse connections.
References SMDS_Mesh::chunkSize, SMDS_MeshElement::getVtkId(), MESSAGE, MYASSERT, SMDS_Mesh::myCellIdVtkToSmds, SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_MeshElement::myID, SMDS_MeshElement::myMeshId, SMDS_Mesh::myMeshId, SMDS_MeshElementIDFactory::SetInVtkGrid(), and SMDS_MeshElementIDFactory::updateMinMax().
Referenced by SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceFromVtkIdsWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeFromVtkIdsWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_MeshElementIDFactory::BindID(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), and SMDS_Mesh::FindEdgeOrCreate().
|
virtualinherited |
Remove an edge and all the elements which own this edge.
References SMDS_Mesh::RemoveElement().
|
virtualinherited |
Remove an edge and all the elements which own this edge.
References SMDS_Mesh::RemoveElement().
void SMESHDS_Mesh::RemoveElement | ( | const SMDS_MeshElement * | elt | ) |
References SMDS_MeshElement::GetID(), SMDS_MeshElement::getshapeId(), SMDS_MeshElement::GetType(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), MeshElements(), myGroups, myScript, SMESHDS_Script::RemoveElement(), SMDS_Mesh::RemoveElement(), RemoveFreeElement(), removeFromContainers(), RemoveNode(), and SMDSAbs_Node.
Referenced by clearSubMesh(), SMESH_MeshEditor::DeleteDiag(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor::QuadToTri(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_MeshEditor::Remove(), and SMESH_MeshEditor::UpdateVolumes().
|
virtualinherited |
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 SMDS_Mesh::addChildrenWithNodes(), ObjectPool< X >::destroy(), getExclusiveNodes(), getFinitElements(), SMDS_MeshElement::GetType(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), MYASSERT, SMDS_Mesh::myBallPool, SMDS_Mesh::myCells, SMDS_Mesh::myEdgePool, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myFacePool, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbNodes, SMDS_Mesh::myNodeIDFactory, SMDS_Mesh::myNodePool, SMDS_Mesh::myNodes, SMDS_Mesh::myVolumePool, SMDS_SpacePosition::originSpacePosition(), SMDS_MeshNodeIDFactory::ReleaseID(), SMDS_MeshElementIDFactory::ReleaseID(), SMDS_MeshInfo::remove(), 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 SMDS_Mesh::Remove0DElement(), SMDS_Mesh::RemoveEdge(), RemoveElement(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFace(), RemoveNode(), SMDS_Mesh::RemoveNode(), SMDS_Mesh::RemoveVolume(), and SMESH_Client::Update().
|
virtualinherited |
elem | The element to delete |
removenodes | if true remaining nodes will be removed |
References SMDS_Mesh::RemoveElement().
|
virtualinherited |
Remove an face and all the elements which own this face.
References SMDS_Mesh::RemoveElement().
void SMESHDS_Mesh::RemoveFreeElement | ( | const SMDS_MeshElement * | elt, |
SMESHDS_SubMesh * | subMesh, | ||
bool | fromGroups = true |
||
) |
References SMDS_MeshElement::GetID(), SMDS_MeshElement::getshapeId(), SMDS_MeshElement::GetType(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), SMESHDS_Group::IsEmpty(), MeshElements(), myGroups, myScript, SMDS_MeshGroup::Remove(), SMESHDS_SubMesh::RemoveElement(), SMESHDS_Script::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), RemoveFreeNode(), SMDSAbs_Node, and SMESHDS_Group::SMDSGroup().
Referenced by cleanSubMesh(), StdMeshers_Regular_1D::Compute(), SMESH_MeshEditor::convertElemToQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), StdMeshers_Prism_3D::project2dMesh(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_MeshEditor::QuadTo4Tri(), RemoveElement(), VISCOUS_2D::_ViscousBuilder2D::removeMeshFaces(), SMESH_MeshEditor::removeQuadElem(), SMESH_ProxyMesh::removeTmpElement(), VISCOUS_3D::_ViscousBuilder::shrink(), SMESH_MeshEditor::SplitBiQuadraticIntoLinear(), SMESH_MeshEditor::SplitVolumes(), and SMESH_ProxyMesh::~SMESH_ProxyMesh().
|
virtualinherited |
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 ObjectPool< X >::destroy(), SMDS_MeshElement::GetID(), SMDS_MeshElement::GetType(), SMDS_MeshElement::getVtkId(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), SMDS_Mesh::myBallPool, SMDS_Mesh::myCells, SMDS_Mesh::myEdgePool, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myFacePool, SMDS_Mesh::myGrid, SMDS_Mesh::myInfo, SMDS_MeshInfo::myNbNodes, SMDS_Mesh::myNodeIDFactory, SMDS_Mesh::myNodePool, SMDS_Mesh::myNodes, SMDS_Mesh::myVolumePool, SMDS_MeshNode::NbInverseElements(), SMDS_MeshElement::nodesIterator(), SMDS_SpacePosition::originSpacePosition(), SMDS_MeshNodeIDFactory::ReleaseID(), SMDS_MeshElementIDFactory::ReleaseID(), 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 RemoveFreeElement(), and RemoveFreeNode().
void SMESHDS_Mesh::RemoveFreeNode | ( | const SMDS_MeshNode * | n, |
SMESHDS_SubMesh * | subMesh, | ||
bool | fromGroups = true |
||
) |
Remove only the given element/node and only if it is free.
Methods do not work for meshes with descendants. Implemented for fast cleaning of meshes.
References SMDS_MeshElement::GetID(), SMDS_MeshElement::getshapeId(), SMESHDS_Group::IsEmpty(), MeshElements(), myGroups, myScript, SMDS_MeshGroup::Remove(), SMDS_Mesh::RemoveFreeElement(), SMESHDS_SubMesh::RemoveNode(), SMESHDS_Script::RemoveNode(), and SMESHDS_Group::SMDSGroup().
Referenced by cleanSubMesh(), StdMeshers_Cartesian_3D::Compute(), StdMeshers_Regular_1D::Compute(), SMESH_MeshEditor::convertElemToQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), StdMeshers_Prism_3D::project2dMesh(), StdMeshers_Prism_3D::projectBottomToTop(), RemoveFreeElement(), VISCOUS_2D::_ViscousBuilder2D::removeMeshFaces(), RemoveNode(), SMESH_MeshEditor::removeQuadElem(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), and VISCOUS_3D::_ViscousBuilder::shrink().
|
virtualinherited |
References SMDS_Mesh::myParent, and SMDS_Mesh::RemoveSubMesh().
void SMESHDS_Mesh::RemoveGroup | ( | SMESHDS_GroupBase * | theGroup | ) |
bool SMESHDS_Mesh::RemoveHypothesis | ( | const TopoDS_Shape & | S, |
const SMESHDS_Hypothesis * | H | ||
) |
References myShapeToHypothesis.
Referenced by SMESH_subMesh::AlgoStateEngine().
|
virtual |
Remove a node and all the elements which own this node.
Reimplemented from SMDS_Mesh.
References SMDS_MeshElement::GetID(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), myGroups, myScript, SMDS_MeshNode::NbInverseElements(), SMDS_Mesh::RemoveElement(), RemoveFreeNode(), removeFromContainers(), and SMESHDS_Script::RemoveNode().
Referenced by cleanSubMesh(), clearSubMesh(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Regular_1D::Compute(), SMESH_MeshEditor::DeleteDiag(), StdMeshers_Import_1D2D::Evaluate(), StdMeshers_Import_1D::Evaluate(), SMESH_MeshEditor::Remove(), RemoveElement(), and SMESH_MeshEditor::SplitVolumes().
References SMDS_Mesh::myChildren.
Referenced by SMDS_Mesh::RemoveFromParent().
|
virtualinherited |
Remove a volume.
References SMDS_Mesh::RemoveElement().
|
virtual |
Reimplemented from SMDS_Mesh.
References compactMesh(), and SMDS_Mesh::isCompacted().
Referenced by SMESH_MeshEditor_i::RenumberElements(), and SMESH_MeshEditor_i::RenumberNodes().
|
inherited |
Make this mesh creating construction edges (see hasConstructionEdges)
b | true to have construction edges, else false. |
References SMDS_Mesh::myHasConstructionEdges.
|
inherited |
Make this mesh creating construction faces (see hasConstructionFaces)
b | true to have construction faces, else false. |
References SMDS_Mesh::myHasConstructionFaces.
|
inherited |
Make this mesh creating link from nodes to elements (see hasInverseElements)
b | true to link nodes to elements, else false. |
References MESSAGE, and SMDS_Mesh::myHasInverseElements.
void SMESHDS_Mesh::SetMeshElementOnShape | ( | const SMDS_MeshElement * | anElt, |
const TopoDS_Shape & | S | ||
) |
References add(), and getSubmesh().
Referenced by SMESH_MesherHelper::AddEdge(), SMESH_MesherHelper::AddFace(), SMESH_MesherHelper::AddPolygonalFace(), SMESH_MesherHelper::AddPolyhedralVolume(), SMESH_MesherHelper::AddVolume(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Cartesian_3D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_Prism_3D::computeWalls(), SMESH_Pattern::createElements(), SMESH_MeshEditor::DeleteDiag(), SMESH_MesherHelper::GetCentralNode(), SMESH_MesherHelper::GetMediumNode(), SMESH_MeshEditor::InsertNodesIntoLink(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_Penta_3D::MakeVolumeMesh(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_MeshEditor::QuadToTri(), SMESH_MeshEditor_i::SetMeshElementOnShape(), and SMESH_MeshEditor::UpdateVolumes().
void SMESHDS_Mesh::SetMeshElementOnShape | ( | const SMDS_MeshElement * | anElt, |
int | Index | ||
) |
References add(), and NewSubMesh().
|
inherited |
low level modification: add, change or remove node or element
Referenced by SMDS_VtkFace::init(), SMDS_VtkVolume::init(), SMDS_BallElement::init(), SMDS_VtkEdge::init(), SMDS_VtkFace::initPoly(), SMDS_VtkVolume::initPoly(), SMDS_VtkFace::initQuadPoly(), SMDS_MeshNodeIDFactory::ReleaseID(), SMDS_MeshElementIDFactory::ReleaseID(), and SMDS_MeshNode::setXYZ().
void SMESHDS_Mesh::SetNodeInVolume | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Shell & | S | ||
) |
References add(), getSubmesh(), and SMDS_SpacePosition::originSpacePosition().
Referenced by SMESH_MesherHelper::AddNode(), SMESH_MesherHelper::AddVolume(), StdMeshers_Projection_3D::Compute(), StdMeshers_Prism_3D::compute(), SMESH_Pattern::createElements(), SMESH_MesherHelper::GetCentralNode(), StdMeshers_RadialPrism_3D::makeNodeColumn(), StdMeshers_Penta_3D::MakeVolumeMesh(), VISCOUS_3D::_ViscousBuilder::refine(), and SMESH_MeshEditor_i::SetNodeInVolume().
void SMESHDS_Mesh::SetNodeInVolume | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Solid & | S | ||
) |
References add(), getSubmesh(), and SMDS_SpacePosition::originSpacePosition().
void SMESHDS_Mesh::SetNodeInVolume | ( | const SMDS_MeshNode * | aNode, |
int | Index | ||
) |
References add(), NewSubMesh(), and SMDS_SpacePosition::originSpacePosition().
void SMESHDS_Mesh::SetNodeOnEdge | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Edge & | S, | ||
double | u = 0. |
||
) |
References add(), and getSubmesh().
Referenced by SMESH_MesherHelper::AddNode(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_Prism_3D::computeWalls(), SMESH_MeshEditor::copyPosition(), SMESH_MesherHelper::GetMediumNode(), SMESH_MesherHelper::getMediumNodeOnComposedWire(), VISCOUS_3D::_ViscousBuilder::refine(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), and SMESH_MeshEditor_i::SetNodeOnEdge().
void SMESHDS_Mesh::SetNodeOnEdge | ( | const SMDS_MeshNode * | aNode, |
int | Index, | ||
double | u = 0. |
||
) |
References add(), and NewSubMesh().
void SMESHDS_Mesh::SetNodeOnFace | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Face & | S, | ||
double | u = 0. , |
||
double | v = 0. |
||
) |
References add(), and getSubmesh().
Referenced by SMESH_MesherHelper::AddNode(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), SMESH_MeshEditor::copyPosition(), SMESH_Pattern::createElements(), SMESH_MesherHelper::GetCentralNode(), SMESH_MesherHelper::GetMediumNode(), SMESH_MeshEditor::InverseDiag(), StdMeshers_Prism_3D::projectBottomToTop(), VISCOUS_3D::_ViscousBuilder::refine(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH_MeshEditor_i::SetNodeOnFace(), and SMESH_MeshEditor::SplitVolumes().
void SMESHDS_Mesh::SetNodeOnFace | ( | const SMDS_MeshNode * | aNode, |
int | Index, | ||
double | u = 0. , |
||
double | v = 0. |
||
) |
References add(), and NewSubMesh().
void SMESHDS_Mesh::SetNodeOnVertex | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Vertex & | S | ||
) |
References add(), and getSubmesh().
Referenced by SMESH_MesherHelper::AddNode(), StdMeshers_Prism_3D::computeWalls(), SMESH_MeshEditor::copyPosition(), and SMESH_MeshEditor_i::SetNodeOnVertex().
void SMESHDS_Mesh::SetNodeOnVertex | ( | const SMDS_MeshNode * | aNode, |
int | Index | ||
) |
References add(), and NewSubMesh().
void SMESHDS_Mesh::SetPersistentId | ( | int | id | ) |
Store ID persistent during lifecycle.
Initially it was used to have a persistent reference to the mesh from the hypothesis
References myPersistentID, and SMDS_Mesh::NbNodes().
Referenced by SMESH_MeshPartDS::SMESH_MeshPartDS(), and SMESHDS_Mesh().
int SMESHDS_Mesh::ShapeToIndex | ( | const TopoDS_Shape & | aShape | ) | const |
References myIndexToShape.
Referenced by VISCOUS_3D::_ViscousBuilder::addBoundaryElements(), SMESH_Gen_i::AddHypothesisToShape(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_MesherHelper::CheckNodeU(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_RadialPrism_3D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_Prism_3D::compute(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), StdMeshers_Prism_3D::computeWalls(), SMESH_Pattern::createElements(), SMESH_subMesh::CreateSubMeshDS(), VISCOUS_3D::_ViscousBuilder::findCollisionEdges(), VISCOUS_2D::_ViscousBuilder2D::findEdgesWithLayers(), VISCOUS_3D::_ViscousBuilder::findFacesWithLayers(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_MeshEditor::FindShape(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), VISCOUS_3D::_ViscousBuilder::findSolidsWithLayers(), SMESH_MesherHelper::GetCentralNode(), VISCOUS_3D::getConcaveVertices(), StdMeshers_Quadrangle_2D::getCorners(), VISCOUS_2D::getEdgesToIgnore(), SMESH_MesherHelper::getFaceMaxTol(), VISCOUS_3D::_ViscousBuilder::getFaceNormal(), VISCOUS_3D::_ViscousBuilder::getIgnoreFaces(), SMESH_MesherHelper::getMediumNodeOnComposedWire(), SMESH_MesherHelper::GetMediumPos(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), SMESH_MesherHelper::GetNodeU(), SMESH_MesherHelper::GetProjector(), VISCOUS_3D::_SolidData::GetShapeEdges(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), getSubmesh(), StdMeshers_PrismAsBlock::Init(), SMESH::Controls::BelongToGeom::init(), SMESH::Controls::LyingOnGeom::init(), SMESH_MesherHelper::IsReversedSubMesh(), StdMeshers_Penta_3D::MakeNodes(), StdMeshers_Penta_3D::MakeVolumeMesh(), MeshElements(), VISCOUS_3D::_ViscousBuilder::prepareEdgeToShrink(), StdMeshers_Prism_3D::projectBottomToTop(), VISCOUS_2D::_ViscousBuilder2D::refine(), VISCOUS_3D::_ViscousBuilder::refine(), VISCOUS_3D::_ViscousBuilder::setShapeData(), SMESH_MesherHelper::SetSubShape(), SMESH_ProxyMesh::shapeIndex(), SMESH_MesherHelper::ShapeToIndex(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_ViscousBuilder::shrink(), StdMeshers_FaceSide::StdMeshers_FaceSide(), StdMeshers_PrismAsBlock::TSideFace::TSideFace(), VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces(), and StdMeshers_PrismAsBlock::TSideFace::Value().
void SMESHDS_Mesh::ShapeToMesh | ( | const TopoDS_Shape & | S | ) |
References SMESHDS_TSubMeshHolder< SUBMESH >::DeleteAll(), myGroups, myIndexToShape, myShape, myShapeToHypothesis, mySubMeshHolder, and SubMeshes().
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), StdMeshers_Projection_2D::Compute(), StdMeshers_Import_1D2D::Compute(), SMESH_Pattern::createElements(), SMESH_MeshEditor::FindShape(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), SMESH::Controls::BelongToGeom::init(), SMESH::Controls::LyingOnGeom::init(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH_Gen_i::Save(), and SMESH_Mesh::SMESH_Mesh().
TopoDS_Shape SMESHDS_Mesh::ShapeToMesh | ( | ) | const |
References myShape.
Referenced by SMESH_MeshPartDS::SMESH_MeshPartDS().
SMESHDS_SubMeshIteratorPtr SMESHDS_Mesh::SubMeshes | ( | ) | const |
list< int > SMESHDS_Mesh::SubMeshIndices | ( | ) | const |
References SubMeshes().
Referenced by DriverMED_W_SMESHDS_Mesh::Perform().
void SMESHDS_Mesh::UnSetMeshElementOnShape | ( | const SMDS_MeshElement * | anElt, |
const TopoDS_Shape & | S | ||
) |
References SMDS_MeshElement::GetType(), MeshElements(), and SMDSAbs_Node.
void SMESHDS_Mesh::UnSetNodeOnShape | ( | const SMDS_MeshNode * | aNode | ) |
References SMDS_MeshElement::getshapeId(), and MeshElements().
Referenced by StdMeshers_Prism_3D::computeWalls(), and SMESH_MesherHelper::getMediumNodeOnComposedWire().
|
virtualinherited |
Return an iterator on volumes of the current mesh.
Reimplemented in SMESH_MeshPartDS.
References SMDS_Mesh::myCells, and SMDSAbs_Volume.
Referenced by SMESH_MeshEditor::ConvertToQuadratic(), SMDS_Mesh::DumpVolumes(), DriverSTL_W_SMDS_Mesh::findVolumeTriangles(), SMESH_MeshObj::GetEntities(), and SMESH::SMESH_MeshEditor::Make2DMeshFrom3D().
to retrieve this SMDS_Mesh instance from its elements (index stored in SMDS_Elements)
Referenced by SMDS_MeshNode::AddInverseElement(), SMDS_VtkFace::ChangeApex(), SMDS_BallElement::ChangeNode(), SMDS_Mesh0DElement::ChangeNodes(), SMDS_VtkFace::ChangeNodes(), SMDS_VtkVolume::ChangeNodes(), SMDS_VtkEdge::ChangeNodes(), SMDS_MeshNode::ClearInverseElements(), SMDS_VtkEdge::elementsIterator(), SMDS_BallElement::elementsIterator(), SMDS_VtkFace::elementsIterator(), SMDS_VtkVolume::elementsIterator(), SMDS_MeshNode::getCoord(), SMDS_BallElement::GetDiameter(), SMDS_VtkFace::GetEntityType(), SMDS_VtkVolume::GetEntityType(), SMDS_VtkVolume::GetFaceNode(), SMDS_VtkFace::GetGeomType(), SMDS_VtkVolume::GetGeomType(), SMDS_MeshNode::GetInverseElementIterator(), SMDS_VtkFace::GetNode(), SMDS_VtkEdge::GetNode(), SMDS_BallElement::GetNode(), SMDS_VtkVolume::GetNode(), SMDS_VtkFace::GetNodeIndex(), SMDS_VtkVolume::GetNodeIndex(), SMDS_VtkVolume::GetQuantities(), SMESH::Controls::AspectRatio::GetValue(), SMESH::Controls::AspectRatio3D::GetValue(), SMDS_VtkFace::GetVtkType(), SMDS_VtkVolume::GetVtkType(), SMDS_MeshNode::GetXYZ(), SMDS_MeshNode::init(), SMDS_VtkVolume::interlacedNodesIterator(), SMDS_VtkEdge::IsMediumNode(), SMDS_VtkFace::IsMediumNode(), SMDS_VtkVolume::IsMediumNode(), SMDS_VtkFace::IsPoly(), SMDS_VtkVolume::IsPoly(), SMDS_VtkFace::IsQuadratic(), SMDS_VtkVolume::IsQuadratic(), SMDS_VtkFace::NbCornerNodes(), SMDS_VtkVolume::NbCornerNodes(), SMDS_VtkFace::NbEdges(), SMDS_VtkVolume::NbEdges(), SMDS_VtkVolume::NbFaceNodes(), SMDS_VtkVolume::NbFaces(), SMDS_MeshNode::NbInverseElements(), SMDS_VtkVolume::NbNodes(), SMDS_VtkFace::NbNodes(), SMDS_VtkEdge::NbNodes(), SMDS_VtkVolume::NbUniqueNodes(), SMDS_VtkEdge::nodesIteratorToUNV(), SMDS_VtkFace::nodesIteratorToUNV(), SMDS_VtkVolume::nodesIteratorToUNV(), SMDS_MeshNode::RemoveInverseElement(), SMDS_BallElement::SetDiameter(), SMDS_MeshNode::setXYZ(), SMDS_BallElement::SMDS_BallElement(), SMDS_Mesh::SMDS_Mesh(), SMESH_Gen::SMESH_Gen(), SMDS_VtkVolume::uniqueNodesIterator(), and SMDS_VtkVolume::vtkOrder().
|
staticinherited |
|
protectedinherited |
|
protectedinherited |
for cells only: index = ID in vtkUnstructuredGrid, value = ID for SMDS users
Referenced by SMDS_MeshElementIDFactory::Clear(), SMDS_Mesh::Clear(), compactMesh(), SMDS_Mesh::fromVtkToSmds(), SMDS_Mesh::registerElement(), SMDS_MeshElementIDFactory::ReleaseID(), and SMDS_Mesh::SMDS_Mesh().
|
protectedinherited |
Referenced by SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceFromVtkIdsWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeFromVtkIdsWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::Clear(), compactMesh(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), SMDS_Mesh::edgesIterator(), SMDS_Mesh::elementEntityIterator(), SMDS_Mesh::elementGeomIterator(), SMDS_Mesh::elementsIterator(), SMDS_Mesh::facesIterator(), SMDS_Mesh::FindEdgeOrCreate(), SMDS_Mesh::FindElement(), SMDS_MeshElementIDFactory::MeshElement(), SMDS_Mesh::registerElement(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::SMDS_Mesh(), SMDS_MeshElementIDFactory::updateMinMax(), and SMDS_Mesh::volumesIterator().
|
protectedinherited |
|
protectedinherited |
Referenced by SMDS_Mesh::compactMesh(), and SMDS_Mesh::isCompacted().
|
protectedinherited |
|
protectedinherited |
Referenced by SMDS_Mesh::Add0DElement(), SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::AddBall(), SMDS_Mesh::AddEdge(), SMDS_Mesh::AddFace(), SMDS_Mesh::AddFaceFromVtkIds(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFace(), SMDS_Mesh::AddQuadPolygonalFace(), SMDS_Mesh::AddVolume(), SMDS_Mesh::AddVolumeFromVtkIds(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::Clear(), compactMesh(), SMDS_Mesh::FindEdgeOrCreate(), SMDS_Mesh::FindFaceOrCreate(), SMDS_Mesh::GetElementType(), SMDS_Mesh::MaxElementID(), SMDS_Mesh::MinElementID(), SMDS_Mesh::registerElement(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::Renumber(), SMDS_Mesh::SMDS_Mesh(), and SMDS_Mesh::~SMDS_Mesh().
|
protectedinherited |
Referenced by SMDS_Mesh::AddFaceFromVtkIdsWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::Clear(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::SMDS_Mesh(), and SMDS_Mesh::~SMDS_Mesh().
|
protectedinherited |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid
Referenced by SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceFromVtkIdsWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeFromVtkIdsWithID(), SMDS_Mesh::AddVolumeWithID(), BuildDownWardConnectivity(), CleanDownWardConnectivity(), SMDS_Mesh::Clear(), compactMesh(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), SMDS_Mesh::dumpGrid(), SMDS_Mesh::FindEdgeOrCreate(), ModifyCellNodes(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::SMDS_Mesh(), and SMDS_Mesh::~SMDS_Mesh().
|
private |
Referenced by ClearMesh(), RemoveElement(), RemoveFreeElement(), RemoveFreeNode(), RemoveNode(), and ShapeToMesh().
|
protectedinherited |
Referenced by SMDS_Mesh::hasConstructionEdges(), and SMDS_Mesh::setConstructionEdges().
|
protectedinherited |
Referenced by SMDS_Mesh::hasConstructionFaces(), and SMDS_Mesh::setConstructionFaces().
|
protectedinherited |
Referenced by SMDS_Mesh::hasInverseElements(), and SMDS_Mesh::setInverseElements().
|
private |
Referenced by AddCompoundSubmesh(), HasMeshElements(), IndexToShape(), IsGroupOfSubShapes(), ShapeToIndex(), and ShapeToMesh().
|
protectedinherited |
Referenced by SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceFromVtkIdsWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddNodeWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeFromVtkIdsWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::Clear(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), SMDS_Mesh::FindEdgeOrCreate(), SMDS_Mesh::Nb0DElements(), SMDS_Mesh::NbBalls(), SMDS_Mesh::NbEdges(), SMDS_Mesh::NbElements(), SMDS_Mesh::NbFaces(), SMDS_Mesh::NbNodes(), SMDS_Mesh::NbVolumes(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), and SMESH_MeshPartDS::SMESH_MeshPartDS().
|
private |
Referenced by IsEmbeddedMode().
|
private |
|
protectedinherited |
index of this SMDS_mesh in the static vector<SMDS_Mesh*> _meshList
Referenced by SMDS_Mesh::AddNodeWithID(), SMDS_Mesh::registerElement(), and SMDS_Mesh::SMDS_Mesh().
|
protectedinherited |
any add, remove or change of node or cell
Referenced by SMDS_Mesh::AddNodeWithID(), SMDS_Mesh::Clear(), and SMDS_Mesh::Modified().
|
protectedinherited |
use a counter to keep track of modifications
Referenced by SMDS_Mesh::Clear(), SMDS_Mesh::compactMesh(), SMDS_Mesh::GetMTime(), SMDS_Mesh::isCompacted(), and SMDS_Mesh::Modified().
|
protectedinherited |
Referenced by SMDS_Mesh::Add0DElementWithID(), SMDS_Mesh::AddBallWithID(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddNode(), SMDS_Mesh::AddNodeWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::Clear(), compactMesh(), SMDS_Mesh::GetElementType(), SMDS_Mesh::MaxNodeID(), SMDS_Mesh::MinNodeID(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::Renumber(), SMDS_Mesh::SMDS_Mesh(), and SMDS_Mesh::~SMDS_Mesh().
|
protectedinherited |
a buffer to speed up elements addition by excluding some memory allocation
Referenced by SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddFaceWithID(), SMDS_Mesh::AddPolygonalFaceWithID(), SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddQuadPolygonalFaceWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::createQuadrangle(), SMDS_Mesh::createTriangle(), and SMDS_Mesh::FindEdgeOrCreate().
|
protectedinherited |
Small objects like SMDS_MeshNode are allocated by chunks to limit memory costs of new.
Referenced by SMDS_Mesh::AddNodeWithID(), SMDS_Mesh::Clear(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::SMDS_Mesh(), and SMDS_Mesh::~SMDS_Mesh().
|
protectedinherited |
SMDS_MeshNodes refer to vtk nodes (vtk id != index in myNodes),store reference to this mesh, and sub-shape.
Referenced by SMDS_Mesh::AddNodeWithID(), SMDS_Mesh::Clear(), compactMesh(), SMDS_Mesh::elementEntityIterator(), SMDS_Mesh::elementsIterator(), SMDS_Mesh::FindNode(), SMDS_Mesh::FindNodeVtk(), SMDS_Mesh::nodesIterator(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::SMDS_Mesh(), and SMDS_MeshNodeIDFactory::updateMinMax().
|
protectedinherited |
Referenced by SMDS_Mesh::Clear(), SMDS_Mesh::RemoveFromParent(), and SMDS_Mesh::~SMDS_Mesh().
|
private |
Referenced by GetPersistentId(), and SetPersistentId().
|
private |
Referenced by Add0DElement(), Add0DElementWithID(), AddBall(), AddBallWithID(), AddEdge(), AddEdgeWithID(), AddFace(), AddFaceWithID(), AddNode(), AddNodeWithID(), AddPolygonalFace(), AddPolygonalFaceWithID(), AddPolyhedralVolumeWithID(), AddQuadPolygonalFace(), AddQuadPolygonalFaceWithID(), AddVolume(), AddVolumeWithID(), ChangeElementNodes(), ClearMesh(), ClearScript(), compactMesh(), GetScript(), MoveNode(), RemoveElement(), RemoveFreeElement(), RemoveFreeNode(), RemoveNode(), SMESHDS_Mesh(), and ~SMESHDS_Mesh().
|
private |
Referenced by AddCompoundSubmesh(), and ShapeToMesh().
|
private |
Referenced by AddHypothesis(), GetHypothesis(), HasHypothesis(), IsUsedHypothesis(), RemoveHypothesis(), and ShapeToMesh().
|
private |
Referenced by HasMeshElements(), MaxSubMeshIndex(), MeshElements(), NewSubMesh(), ShapeToMesh(), SubMeshes(), and ~SMESHDS_Mesh().
|
protectedinherited |
Small objects like SMDS_VtkVolume are allocated by chunks to limit memory costs of new.
Referenced by SMDS_Mesh::AddPolyhedralVolumeWithID(), SMDS_Mesh::AddVolumeFromVtkIdsWithID(), SMDS_Mesh::AddVolumeWithID(), SMDS_Mesh::Clear(), SMDS_Mesh::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), SMDS_Mesh::SMDS_Mesh(), and SMDS_Mesh::~SMDS_Mesh().
|
protectedinherited |
Referenced by SMDS_Mesh::Clear(), and SMDS_Mesh::getMaxDim().
|
protectedinherited |
Referenced by SMDS_Mesh::Clear(), and SMDS_Mesh::getMaxDim().
|
protectedinherited |
Referenced by SMDS_Mesh::Clear(), and SMDS_Mesh::getMaxDim().
|
protectedinherited |
Referenced by SMDS_Mesh::Clear(), and SMDS_Mesh::getMaxDim().
|
protectedinherited |
Referenced by SMDS_Mesh::Clear(), and SMDS_Mesh::getMaxDim().
|
protectedinherited |
Referenced by SMDS_Mesh::Clear(), and SMDS_Mesh::getMaxDim().