![]() |
Xfem
The Xfem Plugin
|
A proxy class to export XfemFracture methods to the Lua environment. More...
#include <xfemLuaFracture.h>


Public Member Functions | |
| XfemLuaFracture (XfemFracture *f, XfemMesh *m, const GmLogCategory &logger) | |
| Constructor. | |
| virtual const char * | typeName () const |
| virtual void | fillMetatable (lua_State *L, int index) |
| Prepares the object metatable for calling methods. | |
| virtual void * | getClassMetatableID () |
| Returns an unique identifier to identify an user object as a XfemLuaFracture object. | |
Public Member Functions inherited from GmLuaObject | |
| virtual void | populateMetatable (lua_State *L, int index) |
| QVariant | ptrToVariant () |
| void | ref () |
Private Member Functions | |
| int | numPoints (lua_State *L) |
| Returns the number of points of the fracture. | |
| int | pointCoordinate (lua_State *L) |
| Returns a vector with the coordinate of the given point index. | |
| int | numCrackPaths (lua_State *L) |
| Returns the number of 'crack paths' in the fracture. | |
| int | crackPath (lua_State *L) |
| Returns three values with information about the element and the nodes of the given crack path. | |
| int | appendCrackPath (lua_State *L) |
| Given an element and two node indices plus a boolean, appends (boolean = true) or prepends (false) the given values to the path. | |
| int | splitCrackPath (lua_State *L) |
| Given a crack path index, splits it in two on the given vertex. | |
| int | numElemCutPos (lua_State *L) |
| Returns the number of 'element cut positions' in the fracture. | |
| int | elemCutPos (lua_State *L) |
| Returns three values with information about the element and the edges of the given crack path. | |
| int | appendElemCutPos (lua_State *L) |
| Given an element and two edge indices plus a boolean, appends (boolean = true) or prepends (false) the given values to the path. | |
| int | splitElemCutPos (lua_State *L) |
| Given a crack path index, splits it in two on the given edge. | |
Private Attributes | |
| XfemFracture * | _fracture |
| The fracture 'wrapped' by this proxy object. | |
| XfemMesh * | _mesh |
| The mesh that this fracture belongs to. | |
Additional Inherited Members | |
Protected Member Functions inherited from GmLuaObject | |
| GmLuaObject (const GmLogCategory &logger) | |
| virtual QString | toString () const |
Protected Attributes inherited from GmLuaObject | |
| const GmLogCategory & | _logger |
| QAtomicInteger< int > | _refCount |
A proxy class to export XfemFracture methods to the Lua environment.
1.8.15