OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GmshMeshCreation.h
Go to the documentation of this file.
1#pragma once
2
3#include "OldTreeIcon.h"
4
5class EntityBase;
6class EntityMeshTet;
7class EntityMeshTetItem;
8class EntityMeshTetFace;
9class EntityFaceAnnotation;
10class EntityGeometry;
11class ClassFactory;
12class EntityPropertiesEntityList;
14class EntityAnnotation;
15class Application;
16
17#include <vector>
18#include <string>
19#include <list>
20#include <map>
21#include <ctime>
22#include <gmsh.h_cwrap>
23
25{
26public:
28 virtual ~GmshMeshCreation();
29
30 void updateMesh(EntityMeshTet *mesh);
31
32private:
33 struct meshRefinement {
34 double stepWidth;
35 std::vector<double> edgeList;
36 std::vector<double> faceList;
37 std::vector<double> volumeList;
38 };
39
40 void deleteMesh(void);
41 EntityMeshTet *getEntityMesh(void) { return entityMesh; }
42 void setEntityMesh(EntityMeshTet *mesh) { entityMesh = mesh; }
43 void reportTime(const std::string &message, std::time_t &timer, bool verbose);
44 void hideAllOtherEntities(EntityMeshTet *thisMesh);
45 std::list<ot::UID> getAllGeometryEntitiesForMeshing(void);
46 void setProgress(int percentage);
47 void displayMessage(std::string message);
48 void setProgressInformation(std::string message, bool continuous);
49 void closeProgressInformation(void);
50 enum lockType {ANY_OPERATION, MODEL_CHANGE};
51 void setUILock(bool flag, lockType type);
52 std::list<EntityGeometry *> loadGeometryEntitiesAndBreps(std::list<ot::UID> &geometryEntitiesID);
53
54 // Attributes
55 Application *application;
56 EntityMeshTet *entityMesh;
57 bool loggerRunning;
58
59};
Definition Application.h:25
Definition GmshMeshCreation.h:25
void updateMesh(EntityMeshTet *mesh)
Definition GmshMeshCreation.cpp:82
virtual ~GmshMeshCreation()
Definition GmshMeshCreation.cpp:77
GmshMeshCreation(Application *app)
Definition GmshMeshCreation.cpp:69
Definition SelfIntersectionCheck.h:4
The app namespace contains several functions that may be used to start processes.