.Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DataVisualizerGUI::GraphGL Class Referenceabstract

This is the base class to display an OpenGL application for the DataVisualizer. More...

#include <GraphGL.h>

Inheritance diagram for DataVisualizerGUI::GraphGL:
DataVisualizerGUI::GLEnergyCollision DataVisualizerGUI::GLParticleDist

Public Member Functions

 GraphGL (QWidget *parent=0)
 Initializes the settings for the widget. More...
 
 ~GraphGL (void)
 Destructs the memory allocation for the object.
 

Protected Member Functions

void paintGL (void)
 This is the override function for the shared functions of the OpenGL based graphs.
 
void resizeGL (int width, int height)
 This function is called after initialization and every subsequent resize of the graph. More...
 
virtual void draw (void)=0
 This function is to be overridden in the subclasses and is required to perform all drawing operations.
 

Protected Attributes

GLuint listNumber
 This number is used by draw to display the glList.
 
map< int, GLuint > listMap
 

Detailed Description

This is the base class to display an OpenGL application for the DataVisualizer.

Constructor & Destructor Documentation

GraphGL::GraphGL ( QWidget *  parent = 0)

Initializes the settings for the widget.

Parameters
parentThe parent container.

Member Function Documentation

void GraphGL::resizeGL ( int  width,
int  height 
)
protected

This function is called after initialization and every subsequent resize of the graph.

Parameters
widthThe new width of the widget.
heightThe new height of the widget.

The documentation for this class was generated from the following files: