24 #ifndef _GEMALUA_SPATIALINDEX_H_    25 #define _GEMALUA_SPATIALINDEX_H_    42   virtual const char* 
typeName()
 const { 
return "spatialIndex"; }
    53   int id                        (lua_State* L);
    54   int hasCapability             (lua_State* L);
    55   int closestNode               (lua_State* L);
    56   int closestNodes              (lua_State* L);
    57   int closestNodesInRadius      (lua_State* L);
    58   int containingCell            (lua_State* L);
    59   int closestGaussPoint         (lua_State* L);
    60   int closestGaussPoints        (lua_State* L);
    61   int closestGaussPointsInRadius(lua_State* L);
 Declaration of the GmLuaObject class.
GmSpatialIndex * _si
The spatial index 'wrapped' by this proxy object.
Definition: gmLuaSpatialIndex.h:64
GmSpatialIndex * index() const
Returns the wrapped spatial index.
Definition: gmLuaSpatialIndex.h:50
virtual const char * typeName() const
Returns the object type as will be stored in the object metatable.
Definition: gmLuaSpatialIndex.h:42
A proxy class to export GmSpatialIndex methods to the Lua environment.
Definition: gmLuaSpatialIndex.h:34
virtual void fillMetatable(lua_State *L, int index)=0
Function called by populateMetatable() to fill the metatable with exported methods by derived classes...
bool _newIndex
Is thos a new spatial index whose ownership belongs to the proxy?
Definition: gmLuaSpatialIndex.h:65
A proxy class to export object methods to the Lua environment.
Definition: gmLuaObject.h:35
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a GmLuaSpatialIndex object.
Definition: gmLuaSpatialIndex.h:47