Face3d
Viewer.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "GLHeader.hpp"
4 #include "Model.hpp"
5 
6 
7 namespace Face3D
8 {
10  class Viewer
11  {
12  public:
13  void initOpenGL();
14  void run();
15 
16 
17  private:
18  GLFWwindow* m_pWindow = 0;
19  const int m_WindowWidth = 640, m_WindowHeight = 640;
20 
21  // load coordinates of important vertices in generic model (this should be loaded from a file, e.g. CSV or XML)
22  void loadModelCoordinates(Model::ModelInfo& modelInfo);
23  };
24 
25 }
const int m_WindowWidth
Definition: Viewer.hpp:19
void initOpenGL()
Definition: Viewer.cpp:9
const int m_WindowHeight
Definition: Viewer.hpp:19
Definition: Viewer.hpp:10
Definition: Model.hpp:56
void loadModelCoordinates(Model::ModelInfo &modelInfo)
Definition: Viewer.cpp:66
Definition: Common.hpp:7
void run()
Definition: Viewer.cpp:110
GLFWwindow * m_pWindow
Definition: Viewer.hpp:18