// // Snapshot.h // hifi // // Created by Stojce Slavkovski on 1/26/14. // Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // #ifndef __hifi__Snapshot__ #define __hifi__Snapshot__ #include "InterfaceConfig.h" #include #include #include #include "avatar/Avatar.h" class SnapshotMetaData { public: QString getDomain() { return _domain; } void setDomain(QString domain) { _domain = domain; } glm::vec3 getLocation() { return _location; } void setLocation(glm::vec3 location) { _location = location; } glm::quat getOrientation() { return _orientation; } void setOrientation(glm::quat orientation) { _orientation = orientation; } private: QString _domain; glm::vec3 _location; glm::quat _orientation;; }; class Snapshot { public: static void saveSnapshot(QGLWidget* widget, Avatar* avatar); static SnapshotMetaData* parseSnapshotData(QString snapshotPath); }; #endif /* defined(__hifi__Snapshot__) */