Add Lua functions to load and unload SpiceKernels

This commit is contained in:
Alexander Bock
2016-07-18 14:41:27 +02:00
parent f7f8f279de
commit 1b7ede6d5c
4 changed files with 119 additions and 1 deletions
+3 -1
View File
@@ -25,6 +25,7 @@
#ifndef __SPICEMANAGER_H__
#define __SPICEMANAGER_H__
#include <openspace/scripting/lualibrary.h>
#include <openspace/util/powerscaledcoordinate.h>
#include <ghoul/glm.h>
@@ -47,7 +48,6 @@ namespace openspace {
class SpiceManager : public ghoul::Singleton<SpiceManager> {
friend class ghoul::Singleton<SpiceManager>;
public:
using TransformMatrix = std::array<double, 36>;
using KernelHandle = unsigned int;
@@ -809,6 +809,8 @@ public:
*/
std::string frameFromBody(const std::string& body) const;
static scripting::LuaLibrary luaLibrary();
private:
/// Struct storing the information about all loaded kernels
struct KernelInformation {