Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Namespace Members   Compound Members   File Members   Related Pages  

MSG::Window Class Reference

interface to glut. More...

#include </msg/src/other/window.h>

List of all members.

Public Members

 Window (int argc, char **argv, Group* _root, const Camera& _camera, char* windowTitle = "MSG")
void display (void)
void handleKeys (unsigned char c, int x, int y)
void handleMouse (int button, int state, int x, int y)
void handleMotion (int x, int y)
void handleVisibility (int state)
void idle (void)
void mainLoop ()

Protected Members

Camera camera
Grouproot
int mouseX
int mouseY
int dragX
int dragY
bool dragging


Detailed Description

interface to glut.

references the root of the scene graph and stores a camera.


Member Function Documentation

MSG::Window::Window (int argc, char ** argv, Group * _root, const Camera & _camera, char * windowTitle = "MSG")

void MSG::Window::display (void)

void MSG::Window::handleKeys (unsigned char k, int x, int y)

void MSG::Window::handleMouse (int button, int state, int x, int y)

void MSG::Window::handleMotion (int x, int y)

void MSG::Window::handleVisibility (int state)

void MSG::Window::idle (void)

void MSG::Window::mainLoop ()


Member Data Documentation

Camera MSG::Window::camera [protected]

Group* MSG::Window::root [protected]

int MSG::Window::mouseX [protected]

int MSG::Window::mouseY [protected]

int MSG::Window::dragX [protected]

int MSG::Window::dragY [protected]

bool MSG::Window::dragging [protected]


The documentation for this class was generated from the following files:
Generated at Sat Jul 22 00:32:17 2000 for MSG by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999