ProjectStore.hpp 378 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <QString>
  3. #include "lib3mf_implicit.hpp"
  4. class ProjectStore {
  5. public:
  6. // Create an empty project
  7. ProjectStore();
  8. // Load an existing project
  9. ProjectStore(QString projectFile);
  10. // Load a mesh
  11. void loadMesh(QString meshFileString);
  12. private:
  13. bool projectLoaded;
  14. Lib3MF::PWrapper _wrapper;
  15. Lib3MF::PModel _project;
  16. void load3mfLib();
  17. };