#include <SMESHDS_Mesh.hxx>
Classes | |
class | SubMeshHolder |
Public Member Functions | |
virtual SMDS_Mesh0DElement * | Add0DElement (const SMDS_MeshNode *node) |
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 * | Add0DElementWithID (int nodeID, int ID) |
create a Mesh0DElement and add it to the current 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_BallElement * | AddBallWithID (const SMDS_MeshNode *n, double diameter, int ID) |
Create a new Ball and at it to the mesh. More... | |
virtual SMDS_BallElement * | AddBallWithID (int n, double diameter, int ID) |
create a Ball and add it to the current Mesh More... | |
int | AddCompoundSubmesh (const TopoDS_Shape &S, TopAbs_ShapeEnum type=TopAbs_SHAPE) |
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 * | AddEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12) |
virtual SMDS_MeshEdge * | AddEdgeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12, int ID) |
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 * | AddEdgeWithID (int n1, int n2, int ID) |
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_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 * | 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 * | 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 * | 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 * | 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 * | 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_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 * | 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 * | 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 * | 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 * | 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 * | 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 * | AddFaceWithID (int n1, int n2, int n3, int ID) |
Add a triangle defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (int n1, int n2, int n3, int n12, int n23, int n31, int ID) |
virtual SMDS_MeshFace * | AddFaceWithID (int n1, int n2, int n3, int n12, int n23, int n31, int nCenter, int ID) |
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 (int n1, int n2, int n3, int n4, int n12, int n23, int n34, int n41, int ID) |
virtual SMDS_MeshFace * | AddFaceWithID (int n1, int n2, int n3, int n4, int n12, int n23, int n34, int n41, int nCenter, int ID) |
void | AddGroup (SMESHDS_GroupBase *theGroup) |
bool | AddHypothesis (const TopoDS_Shape &SS, const SMESHDS_Hypothesis *H) |
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_MeshNode * | AddNodeWithID (double x, double y, double z, int ID) |
create a MeshNode and add it to the current Mesh More... | |
virtual SMDS_MeshFace * | AddPolygonalFace (const std::vector< const SMDS_MeshNode * > &nodes) |
Add a polygon defined by its nodes. 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 * | AddPolygonalFaceWithID (const std::vector< int > &nodes_ids, const int ID) |
Add a polygon defined by its nodes IDs. More... | |
virtual SMDS_MeshVolume * | AddPolyhedralVolume (const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) |
Create a new polyhedral volume and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | 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 * | 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_MeshFace * | AddQuadPolygonalFace (const std::vector< const SMDS_MeshNode * > &nodes) |
Add a quadratic polygon defined by its nodes. 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 * | AddQuadPolygonalFaceWithID (const std::vector< int > &nodes_ids, const int ID) |
Add a quadratic polygon defined by its nodes IDs. 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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_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 (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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 (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 (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 (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 (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 (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 (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 (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 (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 (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... | |
void | BuildDownWardConnectivity (bool withEdges) |
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) |
void | CleanDownWardConnectivity () |
void | ClearMesh () |
Remove all data from the mesh. More... | |
void | ClearScript () |
virtual void | compactMesh () |
const std::set< SMESHDS_GroupBase * > & | GetGroups () const |
const ShapeToHypothesis & | GetHypotheses () const |
const std::list< const SMESHDS_Hypothesis * > & | GetHypothesis (const TopoDS_Shape &S) const |
int | GetNbGroups () const |
int | GetPersistentId () const |
Return ID persistent during lifecycle. More... | |
SMESHDS_Script * | GetScript () |
bool | HasHypothesis (const TopoDS_Shape &S) |
bool | HasMeshElements (const TopoDS_Shape &S) const |
const TopoDS_Shape & | IndexToShape (int ShapeIndex) const |
bool | IsEmbeddedMode () |
bool | IsGroupOfSubShapes (const TopoDS_Shape &aSubShape) const |
bool | IsUsedHypothesis (const SMESHDS_Hypothesis *H) const |
returns true if the hypothesis is assigned to any sub-shape More... | |
int | MaxShapeIndex () const |
int | MaxSubMeshIndex () const |
Return max index of sub-mesh. More... | |
SMESHDS_SubMesh * | MeshElements (const int Index) const |
Return the sub mesh by Id of shape it is linked to. More... | |
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... | |
bool | ModifyCellNodes (int smdsVolId, std::map< int, int > localClonedNodeIds) |
virtual void | MoveNode (const SMDS_MeshNode *, double x, double y, double z) |
SMESHDS_SubMesh * | NewSubMesh (int Index) |
void | RemoveElement (const SMDS_MeshElement *) |
void | RemoveFreeElement (const SMDS_MeshElement *, SMESHDS_SubMesh *, bool fromGroups=true) |
void | RemoveFreeNode (const SMDS_MeshNode *, SMESHDS_SubMesh *, bool fromGroups=true) |
void | RemoveGroup (SMESHDS_GroupBase *theGroup) |
bool | RemoveHypothesis (const TopoDS_Shape &S, const SMESHDS_Hypothesis *H) |
virtual void | RemoveNode (const SMDS_MeshNode *) |
Remove a node and all the elements which own this node. More... | |
void | Renumber (const bool isNodes, const int startID=1, const int deltaID=1) |
void | SetMeshElementOnShape (const SMDS_MeshElement *anElt, const TopoDS_Shape &S) |
void | SetMeshElementOnShape (const SMDS_MeshElement *anElt, int Index) |
void | SetNodeInVolume (const SMDS_MeshNode *aNode, const TopoDS_Shell &S) |
void | SetNodeInVolume (const SMDS_MeshNode *aNode, const TopoDS_Solid &S) |
void | SetNodeInVolume (const SMDS_MeshNode *aNode, int Index) |
void | SetNodeOnEdge (const SMDS_MeshNode *aNode, const TopoDS_Edge &S, double u=0.) |
void | SetNodeOnEdge (const SMDS_MeshNode *aNode, int Index, double u=0.) |
void | SetNodeOnFace (const SMDS_MeshNode *aNode, const TopoDS_Face &S, double u=0., double v=0.) |
void | SetNodeOnFace (const SMDS_MeshNode *aNode, int Index, double u=0., double v=0.) |
void | SetNodeOnVertex (const SMDS_MeshNode *aNode, const TopoDS_Vertex &S) |
void | SetNodeOnVertex (const SMDS_MeshNode *aNode, int Index) |
void | SetPersistentId (int id) |
Store ID persistent during lifecycle. More... | |
int | ShapeToIndex (const TopoDS_Shape &aShape) const |
TopoDS_Shape | ShapeToMesh () const |
void | ShapeToMesh (const TopoDS_Shape &S) |
SMESHDS_Mesh (int theMeshID, bool theIsEmbeddedMode) | |
SMESHDS_SubMeshIteratorPtr | SubMeshes () const |
std::list< int > | SubMeshIndices () const |
void | UnSetMeshElementOnShape (const SMDS_MeshElement *anElt, const TopoDS_Shape &S) |
void | UnSetNodeOnShape (const SMDS_MeshNode *aNode) |
~SMESHDS_Mesh () | |
Public Member Functions inherited from SMDS_Mesh | |
virtual SMDS_Mesh0DElement * | Add0DElement (const SMDS_MeshNode *n) |
create a Mesh0DElement and add it to the current Mesh More... | |
virtual SMDS_Mesh0DElement * | Add0DElementWithID (const SMDS_MeshNode *n, int ID) |
Create a new Mesh0DElement and at it to the mesh. More... | |
virtual SMDS_Mesh0DElement * | Add0DElementWithID (int n, int ID) |
create a Mesh0DElement and add it to the current 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_BallElement * | AddBallWithID (const SMDS_MeshNode *n, double diameter, int ID) |
Create a new Ball and at it to the 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_MeshEdge * | AddEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2) |
create a MeshEdge and add it to the current Mesh More... | |
virtual SMDS_MeshEdge * | AddEdge (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12) |
virtual SMDS_MeshEdge * | AddEdgeWithID (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n12, int ID) |
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 * | AddEdgeWithID (int n1, int n2, int ID) |
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_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_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 * | 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 * | 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 * | 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 * | 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 * | 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_MeshFace * | AddFaceFromVtkIds (const std::vector< vtkIdType > &vtkNodeIds) |
virtual SMDS_MeshFace * | AddFaceFromVtkIdsWithID (const std::vector< vtkIdType > &vtkNodeIds, const int ID) |
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 * | 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_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 * | 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 * | 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 * | 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 * | 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 * | 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 * | AddFaceWithID (int n1, int n2, int n3, int ID) |
Add a triangle defined by its nodes IDs. More... | |
virtual SMDS_MeshFace * | AddFaceWithID (int n1, int n2, int n3, int n12, int n23, int n31, int ID) |
virtual SMDS_MeshFace * | AddFaceWithID (int n1, int n2, int n3, int n12, int n23, int n31, int nCenter, int ID) |
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 (int n1, int n2, int n3, int n4, int n12, int n23, int n34, int n41, int ID) |
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_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_MeshNode * | AddNodeWithID (double x, double y, double z, int ID) |
create a MeshNode and add it to the current Mesh More... | |
virtual SMDS_MeshFace * | AddPolygonalFace (const std::vector< const SMDS_MeshNode * > &nodes) |
Add a polygon defined by its nodes. 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 * | AddPolygonalFaceWithID (const std::vector< int > &nodes_ids, const int ID) |
Add a polygon defined by its nodes IDs. More... | |
virtual SMDS_MeshVolume * | AddPolyhedralVolume (const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) |
Create a new polyhedral volume and add it to the mesh. More... | |
virtual SMDS_MeshVolume * | 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 * | 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_MeshFace * | AddQuadPolygonalFace (const std::vector< const SMDS_MeshNode * > &nodes) |
Add a quadratic polygon defined by its nodes. 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 * | AddQuadPolygonalFaceWithID (const std::vector< int > &nodes_ids, const int ID) |
Add a quadratic polygon defined by its nodes IDs. More... | |
SMDS_Mesh * | AddSubMesh () |
Create a submesh and add it to the current 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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_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 * | AddVolumeFromVtkIds (const std::vector< vtkIdType > &vtkNodeIds) |
virtual SMDS_MeshVolume * | AddVolumeFromVtkIdsWithID (const std::vector< vtkIdType > &vtkNodeIds, const int ID) |
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 * | 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, int ID) |
Create a new tetrahedron defined by its faces 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 *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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 (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 (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 (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 (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 (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 (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 (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 (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 (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... | |
void | adjustStructure () |
bool | ChangeElementNodes (const SMDS_MeshElement *elem, const SMDS_MeshNode *nodes[], const int nbnodes) |
bool | ChangePolyhedronNodes (const SMDS_MeshElement *elem, const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) |
virtual void | Clear () |
Clear all data. More... | |
virtual void | compactMesh () |
bool | Contains (const SMDS_MeshElement *elem) const |
void | DebugStats () const |
void | Dump0DElements () const |
void | DumpEdges () const |
void | DumpFaces () const |
void | dumpGrid (string ficdump="dumpGrid") |
void | DumpNodes () const |
void | DumpVolumes () const |
virtual SMDS_EdgeIteratorPtr | edgesIterator (bool idInceasingOrder=false) const |
Return an iterator on edges of the current mesh. More... | |
virtual SMDS_ElemIteratorPtr | elementEntityIterator (SMDSAbs_EntityType type) const |
virtual SMDS_ElemIteratorPtr | elementGeomIterator (SMDSAbs_GeometryType type) const |
virtual SMDS_ElemIteratorPtr | elementsIterator (SMDSAbs_ElementType type=SMDSAbs_All) const |
Return an iterator on elements of the current mesh factory. More... | |
virtual SMDS_FaceIteratorPtr | facesIterator (bool idInceasingOrder=false) const |
Return an iterator on faces of the current mesh. 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_MeshElement * | FindElement (int IDelem) const |
const SMDS_MeshFace * | FindFace (const std::vector< int > &nodes_ids) 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_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... | |
int | fromVtkToSmds (int vtkid) |
SMDSAbs_ElementType | GetElementType (const int id, const bool iselem) const |
SMDS_UnstructuredGrid * | getGrid () |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid More... | |
double | getMaxDim () |
int | getMeshId () |
const SMDS_MeshInfo & | GetMeshInfo () const |
VTK_MTIME_TYPE | GetMTime () const |
get last modification timeStamp More... | |
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 | incrementCellsCapacity (int nbCells) |
void | incrementNodesCapacity (int nbNodes) |
bool | isCompacted () |
int | MaxElementID () const |
int | MaxNodeID () const |
int | MinElementID () const |
int | MinNodeID () const |
void | Modified () |
modification that needs compact structure and redraw More... | |
virtual void | MoveNode (const SMDS_MeshNode *n, double x, double y, double z) |
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 | NbNodes () const |
Return the number of nodes. More... | |
virtual int | NbSubMesh () const |
Return the number of child mesh of this mesh. More... | |
virtual int | NbVolumes () const |
Return the number of volumes. More... | |
virtual SMDS_NodeIteratorPtr | nodesIterator (bool idInceasingOrder=false) const |
Return an iterator on nodes of the current mesh factory. More... | |
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 | RemoveElement (const SMDS_MeshElement *elem, bool removenodes=false) |
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 | RemoveFace (const SMDS_MeshFace *face) |
Remove an face and all the elements which own this face. More... | |
virtual void | RemoveFreeElement (const SMDS_MeshElement *elem) |
virtual bool | RemoveFromParent () |
virtual void | RemoveNode (const SMDS_MeshNode *node) |
Remove a node and all the elements which own this node. More... | |
virtual bool | RemoveSubMesh (const SMDS_Mesh *aMesh) |
virtual void | RemoveVolume (const SMDS_MeshVolume *volume) |
Remove a volume. More... | |
virtual void | Renumber (const bool isNodes, const int startID=1, const int deltaID=1) |
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... | |
void | setMyModified () |
low level modification: add, change or remove node or element More... | |
SMDS_Mesh () | |
Create a new mesh object. More... | |
void | updateBoundingBox () |
void | updateNodeMinMax () |
virtual SMDS_VolumeIteratorPtr | volumesIterator (bool idInceasingOrder=false) const |
Return an iterator on volumes of the current mesh. More... | |
virtual | ~SMDS_Mesh () |
Destroy the mesh and all its elements All pointer on elements owned by this mesh become illegals. More... | |
Public Member Functions inherited from SMDS_MeshObject | |
virtual | ~SMDS_MeshObject () |
Additional Inherited Members | |
Public Types inherited from SMDS_Mesh | |
typedef std::vector< SMDS_MeshCell * > | SetOfCells |
typedef std::vector< SMDS_MeshNode * > | SetOfNodes |
Static Public Member Functions inherited from SMDS_Mesh | |
static int | CheckMemory (const bool doNotRaise=false) |
Raise an exception if free memory (ram+swap) too low. More... | |
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_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 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 Public Attributes inherited from SMDS_Mesh | |
static int | chunkSize = 1024 |
Protected Member Functions inherited from SMDS_Mesh | |
void | addChildrenWithNodes (std::set< const SMDS_MeshElement * > &setOfChildren, const SMDS_MeshElement *element, std::set< const SMDS_MeshElement * > &nodes) |
Find the children of an element that are made of given nodes. More... | |
void | adjustBoundingBox (double x, double y, double z) |
void | adjustmyCellsCapacity (int ID) |
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_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_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... | |
SMDS_Mesh (SMDS_Mesh *parent) | |
Create a new child mesh Note that the tree structure of SMDS_Mesh seems to be unused in this version (2003-09-08) of SMESH. More... | |
Protected Attributes inherited from SMDS_Mesh | |
ObjectPool< SMDS_BallElement > * | myBallPool |
std::vector< int > | myCellIdVtkToSmds |
for cells only: index = ID in vtkUnstructuredGrid, value = ID for SMDS users More... | |
SetOfCells | myCells |
SMDS_MeshCells refer to vtk cells (vtk id != index in myCells),store reference to this mesh, and sub-shape. More... | |
std::list< SMDS_Mesh * > | myChildren |
unsigned long | myCompactTime |
ObjectPool< SMDS_VtkEdge > * | myEdgePool |
SMDS_MeshElementIDFactory * | myElementIDFactory |
ObjectPool< SMDS_VtkFace > * | myFacePool |
SMDS_UnstructuredGrid * | myGrid |
actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid More... | |
bool | myHasConstructionEdges |
bool | myHasConstructionFaces |
bool | myHasInverseElements |
SMDS_MeshInfo | myInfo |
int | myMeshId |
index of this SMDS_mesh in the static vector<SMDS_Mesh*> _meshList More... | |
bool | myModified |
any add, remove or change of node or cell More... | |
unsigned long | myModifTime |
use a counter to keep track of modifications More... | |
SMDS_MeshNodeIDFactory * | myNodeIDFactory |
std::vector< vtkIdType > | myNodeIds |
a buffer to speed up elements addition by excluding some memory allocation More... | |
int | myNodeMax |
int | myNodeMin |
ObjectPool< SMDS_MeshNode > * | myNodePool |
Small objects like SMDS_MeshNode are allocated by chunks to limit memory costs of new. More... | |
SetOfNodes | myNodes |
SMDS_MeshNodes refer to vtk nodes (vtk id = index in myNodes),store reference to this mesh, and sub-shape. More... | |
SMDS_Mesh * | myParent |
ObjectPool< SMDS_VtkVolume > * | myVolumePool |
Small objects like SMDS_VtkVolume are allocated by chunks to limit memory costs of new. More... | |
double | xmax |
double | xmin |
double | ymax |
double | ymin |
double | zmax |
double | zmin |
References SetPersistentId().
SMESHDS_Mesh::~SMESHDS_Mesh | ( | ) |
|
virtual |
create a Mesh0DElement and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::Add0DElement(), SMESHDS_Script::Add0DElement(), and SMDS_MeshElement::GetID().
Referenced by DriverMED_R_SMESHDS_Mesh::Perform().
|
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 Add0DElementWithID(), and SMDS_MeshElement::GetID().
|
virtual |
create a Mesh0DElement and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::Add0DElement(), and SMDS_Mesh::Add0DElementWithID().
Referenced by Add0DElementWithID(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
create a Ball and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddBall(), SMESHDS_Script::AddBall(), and SMDS_MeshElement::GetID().
Referenced by DriverMED_R_SMESHDS_Mesh::Perform().
|
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(), and SMDS_MeshElement::GetID().
|
virtual |
create a Ball and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddBall(), SMDS_Mesh::AddBallWithID(), and SMDS_MeshElement::GetID().
Referenced by DriverMED_R_SMESHDS_Mesh::Perform().
int SMESHDS_Mesh::AddCompoundSubmesh | ( | const TopoDS_Shape & | S, |
TopAbs_ShapeEnum | type = TopAbs_SHAPE |
||
) |
References SMESHDS_SubMesh::AddSubMesh(), SMESHDS_SubMesh::IsComplexSubmesh(), IsGroupOfSubShapes(), and NewSubMesh().
Referenced by SMESHDS_GroupOnGeom::SetShape().
|
virtual |
create a MeshEdge and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddEdge(), SMESHDS_Script::AddEdge(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddEdge(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Regular_1D::Compute(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MeshEditor::InsertNodesIntoLink(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddEdge(), SMESHDS_Script::AddEdge(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddEdgeWithID(), and SMDS_MeshElement::GetID().
|
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 |
create a MeshEdge and add it to the current Mesh
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddEdge(), and SMDS_Mesh::AddEdgeWithID().
Referenced by SMESH_MesherHelper::AddEdge(), AddEdgeWithID(), DriverMED::buildMeshGrille(), DriverGMF_Read::Perform(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddEdge(), and SMDS_Mesh::AddEdgeWithID().
|
virtual |
Add a triangle defined by its nodes.
An ID is automatically affected to the Created face
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddFace(), SMESHDS_Script::AddFace(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddFace(), StdMeshers_Import_1D2D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_MeshEditor::DeleteDiag(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MeshEditor::InsertNodesIntoLink(), DriverMED_R_SMESHDS_Mesh::Perform(), SMESH_MeshEditor::QuadToTri(), SMESH_MeshEditor::SewSideElements(), and SMESH_MeshEditor::TriToQuad().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddFace(), SMESHDS_Script::AddFace(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddFace(), SMESHDS_Script::AddFace(), and SMDS_MeshElement::GetID().
|
virtual |
Add a quadrangle defined by its nodes.
An ID is automatically affected to the created face
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddFace(), SMESHDS_Script::AddFace(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddFace(), SMESHDS_Script::AddFace(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddFace(), SMESHDS_Script::AddFace(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Add a quadrangle defined by its nodes.
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Add a triangle defined by its nodes.
Reimplemented from SMDS_Mesh.
References AddFaceWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Add a triangle defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), and SMDS_Mesh::AddFaceWithID().
Referenced by SMESH_MesherHelper::AddFace(), AddFaceWithID(), DriverMED::buildMeshGrille(), Fem::FemVTKTools::importVTKMesh(), DriverGMF_Read::Perform(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), and SMDS_Mesh::AddFaceWithID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), and SMDS_Mesh::AddFaceWithID().
Add a quadrangle defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), and SMDS_Mesh::AddFaceWithID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), and SMDS_Mesh::AddFaceWithID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddFace(), and SMDS_Mesh::AddFaceWithID().
void SMESHDS_Mesh::AddGroup | ( | SMESHDS_GroupBase * | theGroup | ) |
Referenced by SMESH_Mesh::AddGroup(), SMESH_Mesh::ConvertToStandalone(), and DriverGMF_Read::Perform().
bool SMESHDS_Mesh::AddHypothesis | ( | const TopoDS_Shape & | SS, |
const SMESHDS_Hypothesis * | H | ||
) |
References DraftVecUtils::find().
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 SMDS_Mesh::AddNode(), SMESHDS_Script::AddNode(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddNode(), SMESH_MesherHelper::AddVolume(), NETGENPlugin_NETGEN_2D_ONLY::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), StdMeshers_Penta_3D::CreateNode(), SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MesherHelper::GetCentralNode(), SMESH_MesherHelper::GetMediumNode(), StdMeshers_Import_1D::importMesh(), SMESH_Pattern::MakeMesh(), StdMeshers_RadialPrism_3D::makeNodeColumn(), SMESH_MeshEditor::QuadToTri(), 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(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddNode(), DriverMED::buildMeshGrille(), Fem::FemVTKTools::importVTKMesh(), DriverGMF_Read::Perform(), and DriverMED_R_SMESHDS_Mesh::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(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddPolygonalFace(), StdMeshers_Import_1D2D::Compute(), SMESH_MeshEditor::InsertNodesIntoLink(), DriverMED_R_SMESHDS_Mesh::Perform(), and SMESH_MeshEditor::SewSideElements().
|
virtual |
Add a polygon defined by its nodes.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddPolygonalFace(), and SMDS_Mesh::AddPolygonalFaceWithID().
|
virtual |
Add a polygon defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddPolygonalFace(), and SMDS_Mesh::AddPolygonalFaceWithID().
Referenced by SMESH_MesherHelper::AddPolygonalFace(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Create a new polyhedral volume and add it to the mesh.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddPolyhedralVolume(), SMDS_Mesh::AddPolyhedralVolume(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddPolyhedralVolume(), StdMeshers_Projection_3D::Compute(), SMESH_MeshEditor::MergeNodes(), DriverMED_R_SMESHDS_Mesh::Perform(), 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(), and SMDS_Mesh::AddPolyhedralVolumeWithID().
|
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(), and SMDS_Mesh::AddPolyhedralVolumeWithID().
Referenced by SMESH_MesherHelper::AddPolyhedralVolume(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
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(), and SMDS_MeshElement::GetID().
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(), and SMDS_Mesh::AddQuadPolygonalFaceWithID().
|
virtual |
Add a quadratic polygon defined by its nodes IDs.
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddQuadPolygonalFace(), and SMDS_Mesh::AddQuadPolygonalFaceWithID().
Referenced by SMESH_MesherHelper::AddPolygonalFace(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Create a new tetrahedron and add it to the mesh.
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::AddVolume(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MeshEditor::MergeNodes(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), 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
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), 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.
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), 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.
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), and SMDS_MeshElement::GetID().
|
virtual |
Create a new hexagonal prism and add it to the mesh.
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::AddVolume(), SMESHDS_Script::AddVolume(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
Reimplemented from SMDS_Mesh.
References AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
virtual |
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 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 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 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 AddVolumeWithID(), and SMDS_MeshElement::GetID().
|
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 tetrahedron and add it to the mesh.
ID | The ID of the new volume |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), and SMDS_Mesh::AddVolumeWithID().
Referenced by SMESH_MesherHelper::AddVolume(), AddVolumeWithID(), DriverMED::buildMeshGrille(), Fem::FemVTKTools::importVTKMesh(), DriverGMF_Read::Perform(), and DriverMED_R_SMESHDS_Mesh::Perform().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), and SMDS_Mesh::AddVolumeWithID().
|
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(), and SMDS_Mesh::AddVolumeWithID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), and SMDS_Mesh::AddVolumeWithID().
|
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(), and SMDS_Mesh::AddVolumeWithID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), and SMDS_Mesh::AddVolumeWithID().
|
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(), and SMDS_Mesh::AddVolumeWithID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), and SMDS_Mesh::AddVolumeWithID().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMESHDS_Script::AddVolume(), and SMDS_Mesh::AddVolumeWithID().
|
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(), and SMDS_Mesh::AddVolumeWithID().
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 SMDS_Mesh::ChangeElementNodes(), SMESHDS_Script::ChangeElementNodes(), and SMDS_MeshElement::GetID().
Referenced by ChangePolygonNodes(), SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::InverseDiag(), SMESH_MeshEditor::MergeNodes(), StdMeshers_QuadToTriaAdaptor::MergePiramids(), SMESH_MeshEditor::Reorient(), and SMESH_MeshEditor::Transform().
bool SMESHDS_Mesh::ChangePolygonNodes | ( | const SMDS_MeshElement * | elem, |
std::vector< const SMDS_MeshNode * > | nodes | ||
) |
References ChangeElementNodes().
bool SMESHDS_Mesh::ChangePolyhedronNodes | ( | const SMDS_MeshElement * | elem, |
std::vector< const SMDS_MeshNode * > | nodes, | ||
std::vector< int > | quantities | ||
) |
References SMESHDS_Script::ChangePolyhedronNodes(), SMDS_Mesh::ChangePolyhedronNodes(), and SMDS_MeshElement::GetID().
Referenced by SMESH_MeshEditor::Reorient().
void SMESHDS_Mesh::CleanDownWardConnectivity | ( | ) |
References SMDS_UnstructuredGrid::CleanDownwardConnectivity(), and SMDS_Mesh::myGrid.
Referenced by SMESH_MeshEditor::DoubleNodesOnGroupBoundaries().
void SMESHDS_Mesh::ClearMesh | ( | ) |
Remove all data from the mesh.
References SMDS_Mesh::Clear(), SMESHDS_Script::ClearMesh(), and SubMeshes().
Referenced by Fem::FemVTKTools::importVTKMesh().
void SMESHDS_Mesh::ClearScript | ( | ) |
References SMESHDS_Script::Clear().
|
virtual |
Reimplemented from SMDS_Mesh.
References SMDS_UnstructuredGrid::compactGrid(), SMDS_MeshNodeIDFactory::emptyPool(), SMDS_Mesh::myCellIdVtkToSmds, SMDS_Mesh::myCells, SMDS_Mesh::myElementIDFactory, SMDS_Mesh::myGrid, SMDS_Mesh::myNodeIDFactory, SMDS_Mesh::myNodes, SMESHDS_Script::SetModified(), and SubMeshes().
Referenced by SMESH_Gen::Compute(), SMESH_Pattern::MakeMesh(), DriverMED_R_SMESHDS_Mesh::Perform(), and Renumber().
const std::set< SMESHDS_GroupBase * > & SMESHDS_Mesh::GetGroups | ( | ) | const |
const ShapeToHypothesis & SMESHDS_Mesh::GetHypotheses | ( | ) | const |
const list< const SMESHDS_Hypothesis * > & SMESHDS_Mesh::GetHypothesis | ( | const TopoDS_Shape & | S | ) | const |
Referenced by SMESH_subMesh::cleanDependsOn(), and SMESH_Gen::GetAlgoState().
int SMESHDS_Mesh::GetNbGroups | ( | ) | const |
Referenced by SMESH::Controls::GroupColor::SetMesh().
int SMESHDS_Mesh::GetPersistentId | ( | ) | const |
Return ID persistent during lifecycle.
Referenced by StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), SMESH_Mesh::ExportCGNS(), and StdMeshers_ImportSource1D::GetSourceMeshes().
SMESHDS_Script * SMESHDS_Mesh::GetScript | ( | ) |
bool SMESHDS_Mesh::HasHypothesis | ( | const TopoDS_Shape & | S | ) |
bool SMESHDS_Mesh::HasMeshElements | ( | const TopoDS_Shape & | S | ) | const |
References SMESHDS_TSubMeshHolder< SUBMESH >::Get().
const TopoDS_Shape & SMESHDS_Mesh::IndexToShape | ( | int | ShapeIndex | ) | const |
Referenced by NETGENPlugin_Mesher::AddIntVerticesInFaces(), StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate(), NETGENPlugin_NETGEN_3D::Compute(), StdMeshers_Import_1D2D::Compute(), DriverMED_R_SMESHDS_Mesh::CreateAllSubMeshes(), NETGENPlugin_Internals::findBorderElements(), SMESH_MeshEditor::FindShape(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_MesherHelper::GetCentralNode(), VISCOUS_2D::getEdgesToIgnore(), SMESH_MesherHelper::GetMediumNode(), DriverMED_W_SMESHDS_Mesh::getNodesOfMissing0DOnVert(), SMESH_MesherHelper::GetNodeU(), SMESH_MesherHelper::GetSubShapeByNode(), SMESH_MesherHelper::IsReversedSubMesh(), SMESH_MeshEditor::MakeBoundaryMesh(), SMESH_MeshEditor::QuadToTri(), StdMeshers_SegmentLengthAroundVertex::SetParametersByMesh(), SMESH_MeshEditor::Smooth(), SMESH_MeshEditor::SplitVolumes(), and SMESH_Algo::VertexNode().
bool SMESHDS_Mesh::IsEmbeddedMode | ( | ) |
Referenced by StdMeshers_QuadToTriaAdaptor::Compute2ndPart().
bool SMESHDS_Mesh::IsGroupOfSubShapes | ( | const TopoDS_Shape & | aSubShape | ) | const |
References IsGroupOfSubShapes().
Referenced by AddCompoundSubmesh(), IsGroupOfSubShapes(), and SMESH_MesherHelper::IsSubShape().
bool SMESHDS_Mesh::IsUsedHypothesis | ( | const SMESHDS_Hypothesis * | H | ) | const |
returns true if the hypothesis is assigned to any sub-shape
References DraftVecUtils::find().
Referenced by StdMeshers_ViscousLayers2D::RestoreListeners().
int SMESHDS_Mesh::MaxShapeIndex | ( | ) | const |
int SMESHDS_Mesh::MaxSubMeshIndex | ( | ) | const |
Return max index of sub-mesh.
References SMESHDS_TSubMeshHolder< SUBMESH >::GetMaxID().
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().
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(), and ShapeToIndex().
Referenced by VISCOUS_3D::_Shrinker1D::AddEdge(), StdMeshers_Quadrangle_2D::check(), NETGENPlugin_NETGEN_2D_ONLY::Compute(), StdMeshers_Cartesian_3D::Compute(), StdMeshers_Hexa_3D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), StdMeshers_Regular_1D::computeInternalParameters(), SMESH_MeshEditor::ConvertToQuadratic(), NETGENPlugin_Internals::findBorderElements(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_MeshEditor::FindShape(), StdMeshers_ProjectionUtils::FindSubShapeAssociation(), StdMeshers_FaceSide::GetEdgeNodes(), StdMeshers_CompositeSegment_1D::GetFaceSide(), SMESH_Algo::GetNodeParamOnEdge(), DriverMED_W_SMESHDS_Mesh::getNodesOfMissing0DOnVert(), SMESH_Algo::GetSortedNodesOnEdge(), SMESH_ProxyMesh::GetSubMesh(), SMESH_MesherHelper::IsDistorted2D(), SMESH_subMesh::IsMeshComputed(), SMESH_MesherHelper::IsQuadraticSubMesh(), SMESH_MesherHelper::IsReversedSubMesh(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::LoadIJNodes(), SMESH_MesherHelper::LoadNodeColumns(), VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), StdMeshers_Penta_3D::MakeNodes(), SMESH_MeshEditor::MergeNodes(), NewSubMesh(), SMESH_MeshEditor::QuadTo4Tri(), RemoveElement(), RemoveFreeElement(), RemoveFreeNode(), StdMeshers_Adaptive1D::SetParametersByMesh(), StdMeshers_AutomaticLength::SetParametersByMesh(), StdMeshers_MaxElementArea::SetParametersByMesh(), StdMeshers_MaxElementVolume::SetParametersByMesh(), StdMeshers_NumberOfSegments::SetParametersByMesh(), StdMeshers_SegmentLengthAroundVertex::SetParametersByMesh(), SMESHDS_GroupOnGeom::SetShape(), SMESH_subMesh::SMESH_subMesh(), StdMeshers_Quadrangle_2D::smooth(), SMESH_MeshEditor::Smooth(), SMESH_MeshEditor::SplitVolumes(), UnSetMeshElementOnShape(), UnSetNodeOnShape(), and SMESH_Algo::VertexNode().
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_Mesh::MoveNode(), and SMESHDS_Script::MoveNode().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), SMESH_2D_Algo::FixInternalNodes(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_MeshEditor::InverseDiag(), SMESH_MeshEditor::SewFreeBorder(), StdMeshers_Quadrangle_2D::smooth(), SMESH_MeshEditor::Smooth(), SMESH_MeshEditor::SplitVolumes(), SMESH_MeshEditor::Transform(), and Fem::FemMesh::transformGeometry().
SMESHDS_SubMesh * SMESHDS_Mesh::NewSubMesh | ( | int | Index | ) |
References SMESHDS_TSubMeshHolder< SUBMESH >::Add(), and MeshElements().
Referenced by AddCompoundSubmesh(), SMESH_subMesh::CreateSubMeshDS(), SetMeshElementOnShape(), SetNodeInVolume(), SetNodeOnEdge(), SetNodeOnFace(), and SetNodeOnVertex().
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(), SMDS_Mesh::RemoveElement(), SMESHDS_Script::RemoveElement(), RemoveFreeElement(), and RemoveNode().
Referenced by SMESH_MeshEditor::DeleteDiag(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor::QuadToTri(), SMESH_MeshEditor::Remove(), SMESH_MeshEditor::SewSideElements(), SMESH_MeshEditor::TriToQuad(), and SMESH_MeshEditor::UpdateVolumes().
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(), MeshElements(), SMDS_MeshGroup::Remove(), SMESHDS_SubMesh::RemoveElement(), SMESHDS_Script::RemoveElement(), SMDS_Mesh::RemoveFreeElement(), RemoveFreeNode(), and SMESHDS_Group::SMDSGroup().
Referenced by StdMeshers_Regular_1D::Compute(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshEditor::MergeNodes(), SMESH_MeshEditor::QuadTo4Tri(), RemoveElement(), SMESH_ProxyMesh::removeTmpElement(), SMESH_MeshEditor::SplitVolumes(), and SMESH_ProxyMesh::~SMESH_ProxyMesh().
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 MeshElements(), SMDS_MeshGroup::Remove(), SMDS_Mesh::RemoveFreeElement(), SMESHDS_SubMesh::RemoveNode(), SMESHDS_Script::RemoveNode(), and SMESHDS_Group::SMDSGroup().
Referenced by StdMeshers_Cartesian_3D::Compute(), StdMeshers_Regular_1D::Compute(), SMESH_MeshEditor::ConvertToQuadratic(), StdMeshers_QuadToTriaAdaptor::MergePiramids(), RemoveFreeElement(), and RemoveNode().
void SMESHDS_Mesh::RemoveGroup | ( | SMESHDS_GroupBase * | theGroup | ) |
Referenced by SMESH_Mesh::ConvertToStandalone(), and SMESH_Mesh::RemoveGroup().
bool SMESHDS_Mesh::RemoveHypothesis | ( | const TopoDS_Shape & | S, |
const SMESHDS_Hypothesis * | H | ||
) |
References DraftVecUtils::find().
Referenced by SMESH_subMesh::AlgoStateEngine().
|
virtual |
Remove a node and all the elements which own this node.
Reimplemented from SMDS_Mesh.
References SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), SMDS_Mesh::RemoveElement(), RemoveFreeNode(), and SMESHDS_Script::RemoveNode().
Referenced by StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Regular_1D::Compute(), SMESH_MeshEditor::DeleteDiag(), StdMeshers_Import_1D2D::Evaluate(), SMESH_MeshEditor::Remove(), RemoveElement(), SMESH_MeshEditor::SplitVolumes(), and SMESH_MeshEditor::TriToQuad().
|
virtual |
Reimplemented from SMDS_Mesh.
References compactMesh(), and SMDS_Mesh::isCompacted().
void SMESHDS_Mesh::SetMeshElementOnShape | ( | const SMDS_MeshElement * | anElt, |
const TopoDS_Shape & | S | ||
) |
Referenced by SMESH_MesherHelper::AddEdge(), SMESH_MesherHelper::AddFace(), SMESH_MesherHelper::AddPolygonalFace(), SMESH_MesherHelper::AddPolyhedralVolume(), SMESH_MesherHelper::AddVolume(), StdMeshers_Cartesian_3D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_Regular_1D::Compute(), DriverMED_R_SMESHDS_Mesh::CreateAllSubMeshes(), SMESH_MeshEditor::DeleteDiag(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MesherHelper::GetCentralNode(), SMESH_MesherHelper::GetMediumNode(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor::MakeBoundaryMesh(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_Penta_3D::MakeVolumeMesh(), SMESH_MeshEditor::MergeNodes(), SMESH_MeshEditor::QuadToTri(), SMESH_MeshEditor::SewSideElements(), SMESH_MeshEditor::TriToQuad(), and SMESH_MeshEditor::UpdateVolumes().
void SMESHDS_Mesh::SetMeshElementOnShape | ( | const SMDS_MeshElement * | anElt, |
int | Index | ||
) |
References NewSubMesh().
void SMESHDS_Mesh::SetNodeInVolume | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Shell & | S | ||
) |
References SMDS_SpacePosition::originSpacePosition().
Referenced by SMESH_MesherHelper::AddNode(), SMESH_MesherHelper::AddVolume(), StdMeshers_Projection_3D::Compute(), DriverMED_R_SMESHDS_Mesh::CreateAllSubMeshes(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MesherHelper::GetCentralNode(), SMESH_Pattern::MakeMesh(), StdMeshers_RadialPrism_3D::makeNodeColumn(), and StdMeshers_Penta_3D::MakeVolumeMesh().
void SMESHDS_Mesh::SetNodeInVolume | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Solid & | S | ||
) |
References SMDS_SpacePosition::originSpacePosition().
void SMESHDS_Mesh::SetNodeInVolume | ( | const SMDS_MeshNode * | aNode, |
int | Index | ||
) |
References NewSubMesh(), and SMDS_SpacePosition::originSpacePosition().
void SMESHDS_Mesh::SetNodeOnEdge | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Edge & | S, | ||
double | u = 0. |
||
) |
Referenced by SMESH_MesherHelper::AddNode(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_Regular_1D::Compute(), DriverMED_R_SMESHDS_Mesh::CreateAllSubMeshes(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MesherHelper::GetMediumNode(), and SMESH_Pattern::MakeMesh().
void SMESHDS_Mesh::SetNodeOnEdge | ( | const SMDS_MeshNode * | aNode, |
int | Index, | ||
double | u = 0. |
||
) |
References NewSubMesh().
void SMESHDS_Mesh::SetNodeOnFace | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Face & | S, | ||
double | u = 0. , |
||
double | v = 0. |
||
) |
Referenced by SMESH_MesherHelper::AddNode(), NETGENPlugin_NETGEN_2D_ONLY::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), DriverMED_R_SMESHDS_Mesh::CreateAllSubMeshes(), NETGENPlugin_Mesher::FillSMesh(), SMESH_MesherHelper::GetCentralNode(), SMESH_MesherHelper::GetMediumNode(), SMESH_MeshEditor::InverseDiag(), SMESH_Pattern::MakeMesh(), StdMeshers_Penta_3D::MakeNodes(), and SMESH_MeshEditor::SplitVolumes().
void SMESHDS_Mesh::SetNodeOnFace | ( | const SMDS_MeshNode * | aNode, |
int | Index, | ||
double | u = 0. , |
||
double | v = 0. |
||
) |
References NewSubMesh().
void SMESHDS_Mesh::SetNodeOnVertex | ( | const SMDS_MeshNode * | aNode, |
const TopoDS_Vertex & | S | ||
) |
void SMESHDS_Mesh::SetNodeOnVertex | ( | const SMDS_MeshNode * | aNode, |
int | Index | ||
) |
References 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 SMDS_Mesh::NbNodes().
Referenced by SMESHDS_Mesh().
int SMESHDS_Mesh::ShapeToIndex | ( | const TopoDS_Shape & | aShape | ) | const |
Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), NETGENPlugin_Mesher::AddSegmentsToMesh(), SMESH_MesherHelper::CheckNodeU(), NETGENPlugin_NETGEN_2D_ONLY::Compute(), NETGENPlugin_NETGEN_3D::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), SMESH_subMesh::CreateSubMeshDS(), NETGENPlugin_Mesher::FillNgMesh(), NETGENPlugin_Internals::findBorderElements(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_MeshEditor::FindShape(), StdMeshers_ProjectionUtils::FindSubShapeAssociation(), NETGENPlugin_Mesher::FixIntFaces(), SMESH_MesherHelper::GetCentralNode(), VISCOUS_3D::getConcaveVertices(), VISCOUS_2D::getEdgesToIgnore(), SMESH_MesherHelper::getFaceMaxTol(), SMESH_MesherHelper::GetMediumPos(), SMESH_MesherHelper::GetNodeU(), SMESH_MesherHelper::GetProjector(), VISCOUS_3D::_SolidData::GetShapeEdges(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), StdMeshers_PrismAsBlock::Init(), SMESH_MesherHelper::IsReversedSubMesh(), SMESH_MesherHelper::IsSubShape(), StdMeshers_Penta_3D::MakeBlock(), StdMeshers_Penta_3D::MakeNodes(), StdMeshers_Penta_3D::MakeVolumeMesh(), MeshElements(), NETGENPlugin_Internals::NETGENPlugin_Internals(), SMESH_MesherHelper::SetSubShape(), and StdMeshers_FaceSide::StdMeshers_FaceSide().
TopoDS_Shape SMESHDS_Mesh::ShapeToMesh | ( | ) | const |
void SMESHDS_Mesh::ShapeToMesh | ( | const TopoDS_Shape & | S | ) |
References SMESHDS_TSubMeshHolder< SUBMESH >::DeleteAll(), and SubMeshes().
Referenced by StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), SMESH_MeshEditor::FindShape(), SMESH_Gen::GetAlgoState(), SMESH_Gen::IsGlobalHypothesis(), DriverMED_W_SMESHDS_Mesh::Perform(), and SMESH_Mesh::SMESH_Mesh().
SMESHDS_SubMeshIteratorPtr SMESHDS_Mesh::SubMeshes | ( | ) | const |
References SMESHDS_TSubMeshHolder< SUBMESH >::GetIterator().
Referenced by ClearMesh(), compactMesh(), SMESH_MeshEditor::FindShape(), DriverMED_W_SMESHDS_Mesh::Perform(), ShapeToMesh(), and SubMeshIndices().
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(), and MeshElements().
void SMESHDS_Mesh::UnSetNodeOnShape | ( | const SMDS_MeshNode * | aNode | ) |
References SMDS_MeshElement::getshapeId(), and MeshElements().