24#ifndef _GEMA_PLUGIN_GEOM_PROCESS_H_
25#define _GEMA_PLUGIN_GEOM_PROCESS_H_
43 virtual const char* pluginName()
const {
return "GeomProcess"; }
46 virtual const char* pluginType()
const {
return "geom"; }
74 QVariantMap& attributes,
QString& plugin,
bool& addToModel,
75 bool* projected,
bool* saveSrc,
LuaFunction* filter,
76 int* borderCellOrIndex,
int* borderSide)
const;
79 QVariantMap& attributes,
QString& plugin)
const;
virtual const GmLogCategory & logger() const
QString description() const
void registerFunctions(LuaTable &table, typename GmProcessMethodRedirector< T >::MethodRegistry *methods, bool noProgressStats=false)
QStringList buildFunctionList(typename GmProcessMethodRedirector< T >::MethodRegistry *methods) const
Basic class for the Geometry Utils process plugin object.
Definition gmpGeomProcess.h:37
int createSimpleMesh(lua_State *L)
Creates a new mesh with nodes and cells provided by the given Lua tables.
Definition gmpGeomProcess.cpp:702
int isMeshValid(lua_State *L)
The geom.isMeshValid process implementation.
Definition gmpGeomProcess.cpp:229
void parseExtractParameters(int start, LuaEnv *env, const char *fname, QString &newMeshName, QVariantMap &attributes, QString &plugin, bool &addToModel, bool *projected, bool *saveSrc, LuaFunction *filter, int *borderCellOrIndex, int *borderSide) const
Parses and validates the mesh name and option parameters from the calls to the extract functions....
Definition gmpGeomProcess.cpp:808
int extractProjectedMeshFromMesh(lua_State *L)
Creates a new mesh that projects the given src mesh cells on the XY plane. The src mesh should be com...
Definition gmpGeomProcess.cpp:545
int releaseExtractedMesh(lua_State *L)
Releases the extracted mesh object received as parameter. The given mesh should be a mesh returned by...
Definition gmpGeomProcess.cpp:596
int extractMeshFromMeshBorders(lua_State *L)
Creates a new mesh with cells extracted from a src mesh border and filtered by an optional user filte...
Definition gmpGeomProcess.cpp:354
int meshQualityHistogram(lua_State *L)
The geom.MeshQualityHistogram process implementation.
Definition gmpGeomProcess.cpp:294
bool parseExtractIndexParameters(LuaEnv *env, const char *fname, QString newMeshName, QString &newIndexName, QVariantMap &attributes, QString &plugin) const
Parses and validates option parameters related to spatial index creation from the calls to the extrac...
Definition gmpGeomProcess.cpp:893
int fillEmptyMesh(lua_State *L)
Fills an EMPTY mesh with nodes and cells provided by the given Lua tables.
Definition gmpGeomProcess.cpp:758
int extractMeshFromMeshBoundary(lua_State *L)
Creates a new mesh with cells extracted from the given boundary group. If the group is an edge group,...
Definition gmpGeomProcess.cpp:473
int getConvexHull(lua_State *L)
The geom.getConvexHull() process implementation.
Definition gmpGeomProcess.cpp:95
GmProcessMethodRedirector< GmpGeomProcess >::MethodRegistry * processMethodTable() const
Returns the table storing the process exported function names / methods.
Definition gmpGeomProcess.cpp:68
int delaunayTriangulation(lua_State *L)
The geom.delaunayTriangulation() process implementation.
Definition gmpGeomProcess.cpp:170
GmpGeomProcess(GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
Constructor. Will be called by the plugin loading code.
Definition gmpGeomProcess.cpp:57
int isMeshQualityGT(lua_State *L)
The geom.isMeshQualityGT process implementation.
Definition gmpGeomProcess.cpp:268
int pointInConvexPolygon(lua_State *L)
The geom.pointInConvexPolygon() process implementation.
Definition gmpGeomProcess.cpp:124
int createEmptyDiscSet(lua_State *L)
Creates a new empty discontinuitySet.
Definition gmpGeomProcess.cpp:943
int burialDepth(lua_State *L)
Given a 3d point coordinate, returns its burial depth by finding the point projection on the sea floo...
Definition gmpGeomProcess.cpp:625
virtual ~GmpGeomProcess()
Destructor.
Definition gmpGeomProcess.cpp:63