.Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
GraphGL.h
1 // GraphGL.h
2 // Written by Joshua Mellott-Lillie and Jesse Z. Zhong
3 
4 #pragma once
5 
6 #include <QtOpenGL/QtOpenGL>
7 #include <vector>
8 
9 using namespace std;
10 namespace DataVisualizerGUI {
11 
16  class GraphGL : public QGLWidget
17  {
18  Q_OBJECT
19 
20  public:
21 
26  GraphGL(QWidget *parent = 0);
27 
31  ~GraphGL(void);
32 
33  protected:
38  void paintGL(void);
39 
46  void resizeGL(int width, int height);
47 
52  virtual void draw(void) = 0;
53 
57  GLuint listNumber;
58 
59  map<int, GLuint> listMap;
60  private:
61 
62  };
63 }
GLuint listNumber
This number is used by draw to display the glList.
Definition: GraphGL.h:57
This is the base class to display an OpenGL application for the DataVisualizer.
Definition: GraphGL.h:16