Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Application Class Reference

Defines the Application we are about to run. More...

#include <Application.h>

List of all members.

Public Methods

 Application ()
 Initialize application state.

void init (const char *modelFileName)
 Setup OpenGL state and load the Model.

const VectorgetEyePosition () const
 Retrieve the eye position.

ModelgetModel ()
 Retrieve the Model drawn by this Application.

void draw () const
 Draw the Model.


Private Attributes

Color m_lightAmbientColor
 The color of the ambient light.

Color m_lightDiffuseColor
 The color of the diffuse light.

Vector m_lightPosition
 The position of the diffuse light.

Vector m_eyePosition
 The position of the eye.

Model m_model
 The Model to draw on the screen.


Detailed Description

Defines the Application we are about to run.


Member Function Documentation

void Application::init const char *    modelFileName
 

Setup OpenGL state and load the Model.


The documentation for this class was generated from the following files:
Generated on Sat Mar 22 15:12:07 2003 for Bumpmap by doxygen1.3-rc2