GLUI_Master_Object Class Reference

#include <glui.h>

List of all members.

Public Member Functions

 GLUI_Master_Object ()
 ~GLUI_Master_Object ()
GLUI_Glut_Windowfind_glut_window (int window_id)
void set_glutIdleFunc (void(*f)(void))
void set_left_button_glut_menu_control (GLUI_Control *control)
void set_glutReshapeFunc (void(*f)(int width, int height))
void set_glutKeyboardFunc (void(*f)(unsigned char key, int x, int y))
void set_glutSpecialFunc (void(*f)(int key, int x, int y))
void set_glutMouseFunc (void(*f)(int, int, int, int))
void set_glutDisplayFunc (void(*f)(void))
void set_glutTimerFunc (unsigned int millis, void(*f)(int value), int value)
void set_glutOverlayDisplayFunc (void(*f)(void))
void set_glutSpaceballMotionFunc (Int3_CB f)
void set_glutSpaceballRotateFunc (Int3_CB f)
void set_glutSpaceballButtonFunc (Int2_CB f)
void set_glutTabletMotionFunc (Int2_CB f)
void set_glutTabletButtonFunc (Int4_CB f)
void set_glutMenuStatusFunc (Int3_CB f)
void set_glutMenuStateFunc (Int1_CB f)
void set_glutButtonBoxFunc (Int2_CB f)
void set_glutDialsFunc (Int2_CB f)
GLUIcreate_glui (const char *name, long flags=0, int x=-1, int y=-1)
GLUIcreate_glui_subwindow (int parent_window, long flags=0)
GLUIfind_glui_by_window_id (int window_id)
void get_viewport_area (int *x, int *y, int *w, int *h)
void auto_set_viewport ()
void close_all ()
void sync_live_all ()
void reshape ()
float get_version ()
void glui_setIdleFuncIfNecessary (void)

Public Attributes

GLUI_Node gluis
GLUI_Controlactive_control
GLUI_Controlcurr_left_button_glut_menu
GLUIactive_control_glui
int glui_id_counter

Private Member Functions

void add_cb_to_glut_window (int window, int cb_type, void *cb)

Private Attributes

GLUI_Node glut_windows
void(* glut_idle_CB )(void)

Friends

void glui_idle_func ()


Detailed Description

The master manages our interaction with GLUT. There's only one GLUI_Master_Object.

Constructor & Destructor Documentation

GLUI_Master_Object::GLUI_Master_Object (  ) 

GLUI_Master_Object::~GLUI_Master_Object (  ) 


Member Function Documentation

void GLUI_Master_Object::add_cb_to_glut_window ( int  window,
int  cb_type,
void *  cb 
) [private]

void GLUI_Master_Object::auto_set_viewport (  ) 

void GLUI_Master_Object::close_all (  ) 

GLUI* GLUI_Master_Object::create_glui ( const char *  name,
long  flags = 0,
int  x = -1,
int  y = -1 
)

GLUI* GLUI_Master_Object::create_glui_subwindow ( int  parent_window,
long  flags = 0 
)

GLUI* GLUI_Master_Object::find_glui_by_window_id ( int  window_id  ) 

GLUI_Glut_Window* GLUI_Master_Object::find_glut_window ( int  window_id  ) 

float GLUI_Master_Object::get_version (  )  [inline]

void GLUI_Master_Object::get_viewport_area ( int *  x,
int *  y,
int *  w,
int *  h 
)

void GLUI_Master_Object::glui_setIdleFuncIfNecessary ( void   ) 

void GLUI_Master_Object::reshape (  ) 

void GLUI_Master_Object::set_glutButtonBoxFunc ( Int2_CB  f  )  [inline]

void GLUI_Master_Object::set_glutDialsFunc ( Int2_CB  f  )  [inline]

void GLUI_Master_Object::set_glutDisplayFunc ( void(*)(void)  f  )  [inline]

void GLUI_Master_Object::set_glutIdleFunc ( void(*)(void)  f  ) 

void GLUI_Master_Object::set_glutKeyboardFunc ( void(*)(unsigned char key, int x, int y f  ) 

void GLUI_Master_Object::set_glutMenuStateFunc ( Int1_CB  f  )  [inline]

void GLUI_Master_Object::set_glutMenuStatusFunc ( Int3_CB  f  )  [inline]

void GLUI_Master_Object::set_glutMouseFunc ( void(*)(int, int, int, int)  f  ) 

void GLUI_Master_Object::set_glutOverlayDisplayFunc ( void(*)(void)  f  )  [inline]

void GLUI_Master_Object::set_glutReshapeFunc ( void(*)(int width, int height f  ) 

void GLUI_Master_Object::set_glutSpaceballButtonFunc ( Int2_CB  f  )  [inline]

void GLUI_Master_Object::set_glutSpaceballMotionFunc ( Int3_CB  f  )  [inline]

void GLUI_Master_Object::set_glutSpaceballRotateFunc ( Int3_CB  f  )  [inline]

void GLUI_Master_Object::set_glutSpecialFunc ( void(*)(int key, int x, int y f  ) 

void GLUI_Master_Object::set_glutTabletButtonFunc ( Int4_CB  f  )  [inline]

void GLUI_Master_Object::set_glutTabletMotionFunc ( Int2_CB  f  )  [inline]

void GLUI_Master_Object::set_glutTimerFunc ( unsigned int  millis,
void(*)(int value f,
int  value 
) [inline]

void GLUI_Master_Object::set_left_button_glut_menu_control ( GLUI_Control control  ) 

void GLUI_Master_Object::sync_live_all (  ) 


Friends And Related Function Documentation

void glui_idle_func (  )  [friend]


Member Data Documentation

void(* GLUI_Master_Object::glut_idle_CB)(void) [private]


The documentation for this class was generated from the following file:

Generated on Tue Jan 20 23:44:14 2009 for FlowVis by  doxygen 1.5.7.1