Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

gluifVectorSpinner.H File Reference

Nested class in UserInterface for glui interface. More...

#include <UserInterface.H>
#include <GL/glui.h>

Go to the source code of this file.

Namespaces

namespace  xchen


Detailed Description

Nested class in UserInterface for glui interface.

UserInterface has a static member object of this class to provide GLUI interface for Vector<float>, to provide float control variable interface for GLUT popup Menu.

Any number of float-vector-control-variable items in any (sub)menus, can register with a float vector glui spinner, provided that the vector size of the spinner is at least the same size. A popmenu item clicking will bind that specific control float vector to the spinner contrl vector.

The GLUI interface for a float vector live variable includes n spinners, where n is the size of the maximal component of the vector, and one text editor, which shows which menu item is bounded to this vector currently.

The glui callback id is the id for its gluifVectorSpinner object as well as the ConvertedKeyValue of keyboard callback.

Author:
Xianming Chen
Computer Science Department
University of Utah
Date:
12 Jan 2004
Date:

Generated on Wed Apr 7 21:40:50 2004 by doxygen1.2.18