Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Motion Class Reference

#include <Motion.h>

Collaboration diagram for Motion:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int getCameraMode ()
void glutSpecialKeyboard (int key, int x, int y)
void glutSpecialKeyboardUp (int key, int x, int y)
void glutKeyboard (unsigned char key, int x, int y)
void glutKeyboardUp (unsigned char key, int x, int y)
void glutMouse (int button, int state, int x, int y)
void glutMotion (int x, int y)
void glutPassiveMotion (int x, int y)
 Motion (Camera *cam, FMODSound *sound)
void calculateFrameRate ()
float getTime ()
void startTimeCounting ()
int getFrameRate ()
float getFrameInterval ()
void calculateKeys ()

Public Attributes

CameraptrCam
bool timeCounting

Private Attributes

int mButton
int mOldY_ObjectMode
int mOldX_ObjectMode
int mOldY_1stPSMode
int mOldX_1stPSMode
bool showAsFullscreen
bool showAsWireFrame
bool showStatePanel
int cameraMode
FMODSoundptrSound
float frameInterval
int frameRate
bool kLeft
bool kRight
bool kUp
bool kDown
bool firstTimeKlick
float secSinceStart
float startTime

Constructor & Destructor Documentation

Motion::Motion Camera cam,
FMODSound sound
 


Member Function Documentation

void Motion::calculateFrameRate  ) 
 

void Motion::calculateKeys  ) 
 

int Motion::getCameraMode  )  [inline]
 

float Motion::getFrameInterval  )  [inline]
 

int Motion::getFrameRate  )  [inline]
 

float Motion::getTime  )  [inline]
 

void Motion::glutKeyboard unsigned char  key,
int  x,
int  y
 

void Motion::glutKeyboardUp unsigned char  key,
int  x,
int  y
 

void Motion::glutMotion int  x,
int  y
 

void Motion::glutMouse int  button,
int  state,
int  x,
int  y
 

void Motion::glutPassiveMotion int  x,
int  y
 

void Motion::glutSpecialKeyboard int  key,
int  x,
int  y
 

void Motion::glutSpecialKeyboardUp int  key,
int  x,
int  y
 

void Motion::startTimeCounting  )  [inline]
 


Member Data Documentation

int Motion::cameraMode [private]
 

bool Motion::firstTimeKlick [private]
 

float Motion::frameInterval [private]
 

int Motion::frameRate [private]
 

bool Motion::kDown [private]
 

bool Motion::kLeft [private]
 

bool Motion::kRight [private]
 

bool Motion::kUp [private]
 

int Motion::mButton [private]
 

int Motion::mOldX_1stPSMode [private]
 

int Motion::mOldX_ObjectMode [private]
 

int Motion::mOldY_1stPSMode [private]
 

int Motion::mOldY_ObjectMode [private]
 

Camera* Motion::ptrCam
 

FMODSound* Motion::ptrSound [private]
 

float Motion::secSinceStart [private]
 

bool Motion::showAsFullscreen [private]
 

bool Motion::showAsWireFrame [private]
 

bool Motion::showStatePanel [private]
 

float Motion::startTime [private]
 

bool Motion::timeCounting
 


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 17:42:33 2005 for Loud and Proud by doxygen 1.3.8