CAVAPA-GUI  30.5.2014
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
cavapa_gui::GridEngine Class Reference

Draws a grid with OpenGL. More...

#include <gridengine.h>

Inheritance diagram for cavapa_gui::GridEngine:

Public Member Functions

void initialize ()
 
void drawGridGeometry (QGLShaderProgram *program)
 Draws the grid. More...
 

Detailed Description

Draws a grid with OpenGL.

The grid is drawn in the XZ plane and its center is in (0,0,0).

Remarks
The original implementation used vertex buffer objects but for some reason this seemed to be incompatible with QPainter overdawing.
Author
Oskari Leppäaho

Member Function Documentation

void cavapa_gui::GridEngine::drawGridGeometry ( QGLShaderProgram *  program)

Draws the grid.

Parameters
*programSpecifies the OpenGL shader program to be used.
void cavapa_gui::GridEngine::initialize ( )


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