mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Very large datasets can now be loaded
Use a centralized storage in the module if a dataset is too large to be feasible to pass in the dictionary
This commit is contained in:
@@ -27,8 +27,11 @@
|
||||
|
||||
#include <openspace/rendering/renderable.h>
|
||||
|
||||
#include <openspace/properties/scalar/boolproperty.h>
|
||||
#include <openspace/properties/scalar/floatproperty.h>
|
||||
#include <openspace/properties/vector/vec3property.h>
|
||||
#include <ghoul/opengl/ghoul_gl.h>
|
||||
#include <optional>
|
||||
|
||||
namespace openspace::documentation { struct Documentation; }
|
||||
|
||||
@@ -69,6 +72,9 @@ protected:
|
||||
std::vector<float> _fullData;
|
||||
std::vector<float> _slicedData;
|
||||
|
||||
std::optional<std::string> _dataStorageKey = std::nullopt;
|
||||
|
||||
int _nPoints = 0;
|
||||
int _nValuesPerPoint = 0;
|
||||
|
||||
GLuint _vertexArrayObjectID = 0;
|
||||
|
||||
Reference in New Issue
Block a user