GLUI_Master_Object Class Reference

#include <glui.h>

Collaboration diagram for GLUI_Master_Object:

Collaboration graph
[legend]

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

Friends

void glui_idle_func ()


Detailed Description

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

Definition at line 471 of file glui.h.


Constructor & Destructor Documentation

GLUI_Master_Object::GLUI_Master_Object (  ) 

GLUI_Master_Object::~GLUI_Master_Object (  ) 


Member Function Documentation

GLUI_Glut_Window* GLUI_Master_Object::find_glut_window ( int  window_id  ) 

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

void GLUI_Master_Object::set_left_button_glut_menu_control ( GLUI_Control control  ) 

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

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

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

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

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

Definition at line 513 of file glui.h.

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

Definition at line 514 of file glui.h.

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

Definition at line 516 of file glui.h.

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

Definition at line 517 of file glui.h.

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

Definition at line 518 of file glui.h.

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

Definition at line 519 of file glui.h.

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

Definition at line 520 of file glui.h.

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

Definition at line 521 of file glui.h.

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

Definition at line 523 of file glui.h.

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

Definition at line 524 of file glui.h.

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

Definition at line 525 of file glui.h.

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

Definition at line 526 of file glui.h.

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  ) 

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

void GLUI_Master_Object::auto_set_viewport (  ) 

void GLUI_Master_Object::close_all (  ) 

void GLUI_Master_Object::sync_live_all (  ) 

void GLUI_Master_Object::reshape (  ) 

float GLUI_Master_Object::get_version (  )  [inline]

Definition at line 539 of file glui.h.

void GLUI_Master_Object::glui_setIdleFuncIfNecessary ( void   ) 


Friends And Related Function Documentation

void glui_idle_func (  )  [friend]


Member Data Documentation

GLUI_Node GLUI_Master_Object::gluis

Definition at line 481 of file glui.h.

GLUI_Control* GLUI_Master_Object::active_control

Definition at line 482 of file glui.h.

GLUI_Control * GLUI_Master_Object::curr_left_button_glut_menu

Definition at line 482 of file glui.h.

GLUI* GLUI_Master_Object::active_control_glui

Definition at line 483 of file glui.h.

int GLUI_Master_Object::glui_id_counter

Definition at line 484 of file glui.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 30 11:04:43 2007 for SPRING Mac by  doxygen 1.5.3