proj home

Files   Classes   Functions   Hierarchy  

openwindowresource Class Reference

#include <openwindowresource.h>

Collaboration diagram for openwindowresource:

List of all members.

Public Member Functions

 openwindowresource (int argc, char **&argv)
 ~openwindowresource ()


Detailed Description

Definition at line 9 of file openwindowresource.h.


Constructor & Destructor Documentation

openwindowresource::openwindowresource ( int  argc,
char **&  argv 
)

Definition at line 42 of file openwindowresource.cpp.

References display(), keyboard(), and gobjContainer::set().

00046 {
00047   glutInit(&argc,argv);
00048   glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
00049   wx=600;
00050   wy=600;
00051 
00052   glutInitWindowSize(wx,wy);
00053 
00054   glutCreateWindow("");
00055 
00056   glutDisplayFunc(display);
00057   glutKeyboardFunc(keyboard);
00058 
00059   OpenGLinitialisation();
00060 
00061   glEnable(GL_DEPTH_TEST);
00062   glEnable(GL_CULL_FACE);
00063 
00064   xGraphics.set();
00065 }

openwindowresource::~openwindowresource (  ) 

Definition at line 67 of file openwindowresource.cpp.

References zpr::update().

00068 {
00069   
00070 //  zpr::setViewVolumeFromXaxis(wx,wy,-2.0,10.0,-2.0,-1.0,1.0);
00071 
00072 //  zprInit();
00073   zpr zz;
00074   zz.update();
00075   glutMainLoop();
00076 }


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

Generated on Fri Mar 4 00:50:07 2011 for Chelton Evans Source by  doxygen 1.5.8