Load CDFs and trace field lines using kameleon and store the info in FieldlinesState.

This commit is contained in:
Oskar Carlbaum
2017-10-09 21:56:47 +02:00
parent bf83073120
commit 4fc88c595f
4 changed files with 275 additions and 4 deletions

View File

@@ -149,6 +149,15 @@ private:
void setModelDependentConstants();
void setupProperties();
bool prepareForOsflsStreaming();
#ifdef OPENSPACE_MODULE_KAMELEON_ENABLED
// --- Initialization functions which require the kameleon module to be loaded! --- //
bool extractCdfInfoFromDictionary(std::string& seedFilePath,
std::string& tracingVar,
std::vector<std::string>& extraVars);
bool extractSeedPointsFromFile(const std::string& path,
std::vector<glm::vec3>& outVec);
bool getStatesFromCdfFiles(const std::string& OUTPUT_FOLDER);
#endif // OPENSPACE_MODULE_KAMELEON_ENABLED
// ------------------------- FUNCTIONS USED DURING RUNTIME ------------------------ //
inline bool isWithinSequenceInterval(const double CURRENT_TIME) const;