mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-28 07:59:37 -06:00
Cleanup of ImageSequencer
Added caching to playbook loading Increased performance of playbook loading Added default placeholder image
This commit is contained in:
@@ -88,7 +88,7 @@ private:
|
||||
glm::mat4 _projectorMatrix;
|
||||
|
||||
// spice
|
||||
std::string _sequenceDir;
|
||||
std::string _sequenceFile;
|
||||
std::string _instrumentID;
|
||||
std::string _projectorID;
|
||||
std::string _projecteeID;
|
||||
|
||||
@@ -39,7 +39,8 @@ public:
|
||||
static ImageSequencer& ref();
|
||||
bool loadSequence(const std::string dir);
|
||||
|
||||
bool parsePlaybook(const std::string& dir, const std::string& type, std::string year = "2015");
|
||||
bool parsePlaybook(const std::string& dir, const std::string& type, std::string year = "2015");
|
||||
bool parsePlaybookFile(const std::string& fileName, std::string year = "2015");
|
||||
|
||||
void testStartTimeMap();
|
||||
|
||||
@@ -61,6 +62,8 @@ private:
|
||||
|
||||
double _nextCapture;
|
||||
double _intervalLength;
|
||||
|
||||
std::string _defaultCaptureImage;
|
||||
};
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
Reference in New Issue
Block a user