.Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
GLParticleDist.h
1 // GLParticleDist.h
2 // Written by Joshua Mellott-Lillie
3 #pragma once
4 #include "GraphGL.h"
5 #include "DataSavepoint.h"
6 
7 using namespace DataReader;
8 
9 namespace DataVisualizerGUI {
14  class GLParticleDist : public GraphGL
15  {
16 
17  public:
22  GLParticleDist(QWidget *parent = 0);
23 
24 
25  // Destructs the memory allocation for the object.
26  ~GLParticleDist(void);
27 
32  void setData(DataSavepoint *data, int index);
33 
34  void changeDataSet(int index);
35 
36  protected:
37 
38  // This function draws the widget.
39  void draw();
40  };
41 }
This class takes in a DataSavepoint and outputs an OpenGL plot of points.
Definition: GLParticleDist.h:14
This is the base class to display an OpenGL application for the DataVisualizer.
Definition: GraphGL.h:16
Stores the data from a save point data set.
Definition: DataSavepoint.h:16