mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Add additional Lua functions that make use of regular expressions to match against fully qualified property identifiers
- Making the GUI use the new function setPropertyValueSingle to not incur the overhead of compiling the regex - The default setPropertyValue Lua function uses a wildcard, which replaces a * with the correct regex (.*) for ease of use - The setPropertyValueRegex Lua function allows a full regular expression to be used Closing #108
This commit is contained in:
@@ -26,12 +26,14 @@
|
||||
#define __QUERY_H__
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace openspace {
|
||||
|
||||
namespace properties {
|
||||
class Property;
|
||||
}
|
||||
|
||||
class Renderable;
|
||||
class Scene;
|
||||
class SceneGraphNode;
|
||||
@@ -42,6 +44,7 @@ Scene* sceneGraph();
|
||||
SceneGraphNode* sceneGraphNode(const std::string& name);
|
||||
Renderable* renderable(const std::string& name);
|
||||
properties::Property* property(const std::string& uri);
|
||||
std::vector<properties::Property*> allProperties();
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user