Debian Codegraph @

plugins/script/interfaces/MapInterface.h

raw
1 #pragma once
2
3 #include "iscript.h"
4 #include "iscriptinterface.h"
5
6 #include "SceneGraphInterface.h"
7
8 namespace script
9 {
10
11 /**
12 * greebo: This class provides the script interface for the GlobalMap module.
13 */
14 class MapInterface :
15 public IScriptInterface
16 {
17 public:
18 ScriptSceneNode getWorldSpawn();
19 std::string getMapName();
20 bool isModified();
21 ScriptSceneNode getRoot();
22 IMap::EditMode getEditMode();
23 void setEditMode(IMap::EditMode mode);
24
25 void showPointFile(const std::string& filePath);
26 bool isPointTraceVisible();
27 std::vector<std::string> getPointFileList();
28
29 // IScriptInterface implementation
30 void registerInterface(py::module& scope, py::dict& globals) override;
31 };
32
33 } // namespace script