Cleaned up script functionality in SceneGraph

Removed scriptfunctions.h and cpp as the functions have moved into other classes
This commit is contained in:
Alexander Bock
2014-09-14 18:36:33 +02:00
parent 3d62caae46
commit 66722e83a6
7 changed files with 284 additions and 290 deletions
+13 -2
View File
@@ -31,12 +31,15 @@
#include <openspace/util/camera.h>
#include <openspace/scripting/scriptengine.h>
// ghoul includes
#include <ghoul/opengl/programobject.h>
#include <ghoul/misc/dictionary.h>
namespace openspace {
class SceneGraphNode;
class SceneGraph {
@@ -94,9 +97,17 @@ public:
*/
SceneGraphNode* sceneGraphNode(const std::string& name) const;
/**
* Returns the Lua library that contains all Lua functions available to change the
* scene graph. The functions contained are
* - openspace::luascriptfunctions::property_setValue
* - openspace::luascriptfunctions::property_getValue
* \return The Lua library that contains all Lua functions available to change the
* scene graph
*/
static scripting::ScriptEngine::LuaLibrary luaLibrary();
private:
bool registerScriptFunctions();
std::string _focus, _position;
// actual scenegraph