#include <BackgroundMesh.h>
Definition at line 144 of file BackgroundMesh.h.
◆ GlobalBackgroundMesh() [1/2]
GlobalBackgroundMesh::GlobalBackgroundMesh |
( |
const std::string & |
_name | ) |
|
|
inline |
◆ GlobalBackgroundMesh() [2/2]
◆ ~GlobalBackgroundMesh()
GlobalBackgroundMesh::~GlobalBackgroundMesh |
( |
| ) |
|
◆ importGModelMeshes()
int GlobalBackgroundMesh::importGModelMeshes |
( |
GModel * |
gm, |
|
|
bool |
overwriteExisting = true |
|
) |
| |
Fill the entityMesh map by copying the meshes in the GModel. New MVertex, MLine and MTriangle instances are created, the background meshes are totally independant from the ones in the GModel after this function call. Quadrangles in GFace are split into two triangles.
- Parameters
-
gm | the GModel containing the GEntity whose meshes are imported |
overwriteExisting | Delete existing background meshes before importing new ones |
- Warning
- Only import GVertex, GEdge, GFace for the moment, not GRegion
- Returns
- 0 if successful import
Definition at line 764 of file BackgroundMesh.cpp.
◆ operator=()
◆ edgeBackgroundMeshes
◆ faceBackgroundMeshes
◆ gm
GModel* GlobalBackgroundMesh::gm |
◆ mesh_vertices
std::vector<MVertex *> GlobalBackgroundMesh::mesh_vertices |
◆ name
const std::string& GlobalBackgroundMesh::name |
The documentation for this class was generated from the following files: