mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
Start changing camera write and restore functions.
This commit is contained in:
@@ -196,6 +196,7 @@ public:
|
||||
|
||||
void saveCameraPosition(const std::string& filepath = "");
|
||||
void restoreCameraPosition(const std::string& filepath = "");
|
||||
void setCameraState(const ghoul::Dictionary& cameraDict);
|
||||
|
||||
private:
|
||||
void setInteractionMode(std::shared_ptr<InteractionMode> interactionMode);
|
||||
|
||||
@@ -123,10 +123,12 @@ namespace openspace {
|
||||
void preSynchronization();
|
||||
void serialize(SyncBuffer* syncBuffer);
|
||||
void deserialize(SyncBuffer* syncBuffer);
|
||||
|
||||
|
||||
void serialize(std::ostream& os) const;
|
||||
void deserialize(std::istream& is);
|
||||
|
||||
|
||||
void setStateFromDictionary(const ghoul::Dictionary& cameraDict);
|
||||
ghoul::Dictionary getStateDictionary();
|
||||
/**
|
||||
Handles SGCT's internal matrices. Also caches a calculated viewProjection
|
||||
matrix. This is the data that is different for different cameras within
|
||||
|
||||
Reference in New Issue
Block a user