Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

GlutRobot Class Reference
[GLUT Master]

GLUT Window Event Trigger Class. More...

#include <robot.h>

Inheritance diagram for GlutRobot:

Inheritance graph
[legend]
Collaboration diagram for GlutRobot:

Collaboration graph
[legend]
List of all members.

Public Methods

 GlutRobot (GltShapePtr &shape, GlutWindow &window, const GlutWindow::MenuCallbacks value)
 Constructor.

 ~GlutRobot ()
 Destructor.

virtual void draw () const
 Derived classes should supply this.


Detailed Description

GLUT Window Event Trigger Class.

Author:
Nigel Stewart (nigels.com@gmail.com)
A robot node will send a menu event to a select window when a particular node in the scene-graph expires. Once the event is sent, the robot will also expire.

Definition at line 52 of file robot.h.


Constructor & Destructor Documentation

GlutRobot::GlutRobot GltShapePtr &    shape,
GlutWindow   window,
const GlutWindow::MenuCallbacks    value
 

Constructor.

Parameters:
shape  Wait for shape node to expire
window  Window to send menu event
value  Menu event ID

Definition at line 7 of file robot.cpp.

References GlutWindow::MenuCallbacks.


The documentation for this class was generated from the following files:
Generated on Tue Nov 5 11:11:48 2002 for GLT by doxygen1.2.18