#include <UserInterface.H>
#include <GL/glui.h>
Go to the source code of this file.
Namespaces | |
| namespace | xchen |
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.
1.2.18