2 #ifndef ANIM_PROJECT1_APPLICATION_HPP_ 3 #define ANIM_PROJECT1_APPLICATION_HPP_ 4 #define GLFW_INCLUDE_NONE 5 #include <GLFW/glfw3.h> 6 #include "world/Scene.hpp" 7 #include "systems/AnimationSystem.hpp" 8 #include "systems/RenderSystem.hpp" 18 virtual void parseArgs(
int argc,
char** argv);
20 virtual const std::string& helpStr()
const;
22 virtual void postValidate();
24 virtual std::vector<std::string>::iterator parseOption(
25 std::vector<std::string>::iterator carg,
26 const std::vector<std::string>& args);
28 virtual std::vector<std::string>::iterator parseInput(
29 std::vector<std::string>::iterator carg,
30 const std::vector<std::string>& args);
32 bool developer_mode =
false;
33 double framerate = -1;
34 std::string renderOutputPath;
35 std::vector<std::string> inputPaths;
47 void init(
int argc,
char** argv);
52 void runRender(
const std::string& aOutputDir,
double aFramerate = 24.0);
54 const GLFWwindow* getWindow()
const {
return (mWindow); }
56 bool shouldExit()
const;
71 void initPanelAlphas();
72 void initPanelPortals(
Scene& aShot);
74 std::vector<Scene> shots;
76 GLuint mPanelOutline = 0;
77 std::vector<GLuint> mPanelMasks;
85 bool mShouldExit =
false;
86 GLFWwindow* mWindow =
nullptr;
Definition: AnimationSystem.hpp:9
Definition: RenderSystem.hpp:10
Definition: Application.hpp:79
Definition: Application.hpp:40
Definition: Application.hpp:13