24 #ifndef _GEMALUA_SHAPE_H_ 25 #define _GEMALUA_SHAPE_H_ 44 virtual const char*
typeName()
const {
return "shape"; }
54 int elemType (lua_State* L);
55 int numFunctions (lua_State* L);
56 int numNaturalCoord (lua_State* L);
57 int numCartesianCoord (lua_State* L);
58 int naturalCoordLimits (lua_State* L);
59 int nodeNaturalCoord (lua_State* L);
60 int naturalCenter (lua_State* L);
61 int translateEdgePoint (lua_State* L);
62 int translateFacePoint (lua_State* L);
63 int fillNaturalCoordinates (lua_State* L);
64 int cartesianToNatural (lua_State* L);
65 int naturalToCartesian (lua_State* L);
66 int shapeValues (lua_State* L);
67 int shapePartials (lua_State* L);
68 int shapeCartesianPartialsFromCoord (lua_State* L);
69 int shapeCartesianPartialsFromJacobian(lua_State* L);
70 int jacobian (lua_State* L);
71 int scaledJacobianDet (lua_State* L);
72 int jacobianAndPartials (lua_State* L);
73 int borderScalingFactor (lua_State* L);
74 int edgeScalingFactor (lua_State* L);
75 int faceScalingFactor (lua_State* L);
76 int gaussExtrapolationMatrix(lua_State* L);
77 int interpolate (lua_State* L);
79 int parseScalingFactorParams(lua_State* L,
const char* name,
int* border,
GmLuaMatrix** bcoordProxy,
Declaration of the GmLuaObject class.
A proxy class to export GmMatrix and GmVector methods to the Lua environment.
Definition: gmLuaMatrix.h:35
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a GmLuaShape object.
Definition: gmLuaShape.h:49
virtual void fillMetatable(lua_State *L, int index)=0
Function called by populateMetatable() to fill the metatable with exported methods by derived classes...
GmCellGeometry _geom
The geometry corresponding to this shape.
Definition: gmLuaShape.h:84
const GmShape * _shape
The shape 'wrapped' by this proxy object.
Definition: gmLuaShape.h:83
A proxy class to export GmShape methods to the Lua environment.
Definition: gmLuaShape.h:36
virtual const char * typeName() const
Returns the object type as will be stored in the object metatable.
Definition: gmLuaShape.h:44
A proxy class to export object methods to the Lua environment.
Definition: gmLuaObject.h:35