GLutils.h File Reference

Header for OpenGL-related utility classes/functions. More...

#include "standard.h"
#include <windows.h>
#include <GL/glu.h>
#include "MatrixTypes.h"
#include <math.h>

Include dependency graph for GLutils.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  ModelviewMatrix
 Encapsulates a limited OpenGL modelview matrix. More...

class  ProjectionMatrix
 Encapsulates a limited OpenGL projection matrix. More...


Functions

void printBitmapString (const char *str, HDC hdc)
 Prints a string to an opengl-friendly screen. More...

void drawCube (GLfloat size, GLenum type)
 Draws a cube. This is based on glut's "glutSolidCube()" routine.


Detailed Description

Header for OpenGL-related utility classes/functions.

Author: Matt Loper

Revision:
1.2
Date:
2002/05/21 05:32:43

Definition in file GLutils.h.


Function Documentation

void printBitmapString const char *    str,
HDC    hdc
 

Prints a string to an opengl-friendly screen.

Todo:
To write a string, we use display lists, which we would ideally create only once. However, since we may be talking to multiple device contexts, it's a little hard to predict whether we've built the list for a particular context. Anyway, it'd be nice to just build the display list once for each context, instead of putting it up and tearing it down each time.

Definition at line 29 of file GLutils.cpp.

Referenced by Scanner::takeSnapshots().


Generated on Tue May 21 03:34:54 2002 for Archimedes by doxygen1.2.15