Defines | Functions | Variables
glut.h File Reference
#include <GL/gl.h>
#include <GL/glu.h>
Include dependency graph for glut.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define APIENTRY
#define CALLBACK
#define GLUT_ACCUM   4
#define GLUT_ACTIVE_ALT   4
#define GLUT_ACTIVE_CTRL   2
#define GLUT_ACTIVE_SHIFT   1
#define GLUT_ALPHA   8
#define GLUT_API_VERSION   3
#define GLUT_APIENTRY_DEFINED
#define GLUT_BITMAP_8_BY_13   (&glutBitmap8By13)
#define GLUT_BITMAP_9_BY_15   (&glutBitmap9By15)
#define GLUT_BITMAP_HELVETICA_10   (&glutBitmapHelvetica10)
#define GLUT_BITMAP_HELVETICA_12   (&glutBitmapHelvetica12)
#define GLUT_BITMAP_HELVETICA_18   (&glutBitmapHelvetica18)
#define GLUT_BITMAP_TIMES_ROMAN_10   (&glutBitmapTimesRoman10)
#define GLUT_BITMAP_TIMES_ROMAN_24   (&glutBitmapTimesRoman24)
#define GLUT_BLUE   2
#define GLUT_CURSOR_BOTTOM_LEFT_CORNER   19
#define GLUT_CURSOR_BOTTOM_RIGHT_CORNER   18
#define GLUT_CURSOR_BOTTOM_SIDE   13
#define GLUT_CURSOR_CROSSHAIR   9
#define GLUT_CURSOR_CYCLE   5
#define GLUT_CURSOR_DESTROY   3
#define GLUT_CURSOR_FULL_CROSSHAIR   102
#define GLUT_CURSOR_HELP   4
#define GLUT_CURSOR_INFO   2
#define GLUT_CURSOR_INHERIT   100
#define GLUT_CURSOR_LEFT_ARROW   1
#define GLUT_CURSOR_LEFT_RIGHT   11
#define GLUT_CURSOR_LEFT_SIDE   14
#define GLUT_CURSOR_NONE   101
#define GLUT_CURSOR_RIGHT_ARROW   0
#define GLUT_CURSOR_RIGHT_SIDE   15
#define GLUT_CURSOR_SPRAY   6
#define GLUT_CURSOR_TEXT   8
#define GLUT_CURSOR_TOP_LEFT_CORNER   16
#define GLUT_CURSOR_TOP_RIGHT_CORNER   17
#define GLUT_CURSOR_TOP_SIDE   12
#define GLUT_CURSOR_UP_DOWN   10
#define GLUT_CURSOR_WAIT   7
#define GLUT_DEPTH   16
#define GLUT_DEVICE_IGNORE_KEY_REPEAT   610
#define GLUT_DEVICE_KEY_REPEAT   611
#define GLUT_DISPLAY_MODE_POSSIBLE   400
#define GLUT_DOUBLE   2
#define GLUT_DOWN   0
#define GLUT_ELAPSED_TIME   700
#define GLUT_ENTERED   1
#define GLUT_FULLY_COVERED   3
#define GLUT_FULLY_RETAINED   1
#define GLUT_GAME_MODE_ACTIVE   0
#define GLUT_GAME_MODE_DISPLAY_CHANGED   6
#define GLUT_GAME_MODE_HEIGHT   3
#define GLUT_GAME_MODE_PIXEL_DEPTH   4
#define GLUT_GAME_MODE_POSSIBLE   1
#define GLUT_GAME_MODE_REFRESH_RATE   5
#define GLUT_GAME_MODE_WIDTH   2
#define GLUT_GREEN   1
#define GLUT_HAS_DIAL_AND_BUTTON_BOX   603
#define GLUT_HAS_JOYSTICK   612
#define GLUT_HAS_KEYBOARD   600
#define GLUT_HAS_MOUSE   601
#define GLUT_HAS_OVERLAY   802
#define GLUT_HAS_SPACEBALL   602
#define GLUT_HAS_TABLET   604
#define GLUT_HIDDEN   0
#define GLUT_INDEX   1
#define GLUT_INIT_DISPLAY_MODE   504
#define GLUT_INIT_WINDOW_HEIGHT   503
#define GLUT_INIT_WINDOW_WIDTH   502
#define GLUT_INIT_WINDOW_X   500
#define GLUT_INIT_WINDOW_Y   501
#define GLUT_JOYSTICK_AXES   615
#define GLUT_JOYSTICK_BUTTON_A   1
#define GLUT_JOYSTICK_BUTTON_B   2
#define GLUT_JOYSTICK_BUTTON_C   4
#define GLUT_JOYSTICK_BUTTON_D   8
#define GLUT_JOYSTICK_BUTTONS   614
#define GLUT_JOYSTICK_POLL_RATE   616
#define GLUT_KEY_DOWN   103
#define GLUT_KEY_END   107
#define GLUT_KEY_F1   1
#define GLUT_KEY_F10   10
#define GLUT_KEY_F11   11
#define GLUT_KEY_F12   12
#define GLUT_KEY_F2   2
#define GLUT_KEY_F3   3
#define GLUT_KEY_F4   4
#define GLUT_KEY_F5   5
#define GLUT_KEY_F6   6
#define GLUT_KEY_F7   7
#define GLUT_KEY_F8   8
#define GLUT_KEY_F9   9
#define GLUT_KEY_HOME   106
#define GLUT_KEY_INSERT   108
#define GLUT_KEY_LEFT   100
#define GLUT_KEY_PAGE_DOWN   105
#define GLUT_KEY_PAGE_UP   104
#define GLUT_KEY_REPEAT_DEFAULT   2
#define GLUT_KEY_REPEAT_OFF   0
#define GLUT_KEY_REPEAT_ON   1
#define GLUT_KEY_RIGHT   102
#define GLUT_KEY_UP   101
#define GLUT_LAYER_IN_USE   801
#define GLUT_LEFT   0
#define GLUT_LEFT_BUTTON   0
#define GLUT_LUMINANCE   512
#define GLUT_MENU_IN_USE   1
#define GLUT_MENU_NOT_IN_USE   0
#define GLUT_MENU_NUM_ITEMS   300
#define GLUT_MIDDLE_BUTTON   1
#define GLUT_MULTISAMPLE   128
#define GLUT_NORMAL   0
#define GLUT_NORMAL   0
#define GLUT_NORMAL_DAMAGED   804
#define GLUT_NOT_VISIBLE   0
#define GLUT_NUM_BUTTON_BOX_BUTTONS   607
#define GLUT_NUM_DIALS   608
#define GLUT_NUM_MOUSE_BUTTONS   605
#define GLUT_NUM_SPACEBALL_BUTTONS   606
#define GLUT_NUM_TABLET_BUTTONS   609
#define GLUT_OVERLAY   1
#define GLUT_OVERLAY   1
#define GLUT_OVERLAY_DAMAGED   805
#define GLUT_OVERLAY_POSSIBLE   800
#define GLUT_OWNS_JOYSTICK   613
#define GLUT_PARTIALLY_RETAINED   2
#define GLUT_RED   0
#define GLUT_RGB   0
#define GLUT_RGBA   GLUT_RGB
#define GLUT_RIGHT_BUTTON   2
#define GLUT_SCREEN_HEIGHT   201
#define GLUT_SCREEN_HEIGHT_MM   203
#define GLUT_SCREEN_WIDTH   200
#define GLUT_SCREEN_WIDTH_MM   202
#define GLUT_SINGLE   0
#define GLUT_STENCIL   32
#define GLUT_STEREO   256
#define GLUT_STROKE_MONO_ROMAN   (&glutStrokeMonoRoman)
#define GLUT_STROKE_ROMAN   (&glutStrokeRoman)
#define GLUT_TRANSPARENT_INDEX   803
#define GLUT_UP   1
#define GLUT_VIDEO_RESIZE_HEIGHT   909
#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA   905
#define GLUT_VIDEO_RESIZE_IN_USE   901
#define GLUT_VIDEO_RESIZE_POSSIBLE   900
#define GLUT_VIDEO_RESIZE_WIDTH   908
#define GLUT_VIDEO_RESIZE_WIDTH_DELTA   904
#define GLUT_VIDEO_RESIZE_X   906
#define GLUT_VIDEO_RESIZE_X_DELTA   902
#define GLUT_VIDEO_RESIZE_Y   907
#define GLUT_VIDEO_RESIZE_Y_DELTA   903
#define GLUT_VISIBLE   1
#define GLUT_WINDOW_ACCUM_ALPHA_SIZE   114
#define GLUT_WINDOW_ACCUM_BLUE_SIZE   113
#define GLUT_WINDOW_ACCUM_GREEN_SIZE   112
#define GLUT_WINDOW_ACCUM_RED_SIZE   111
#define GLUT_WINDOW_ALPHA_SIZE   110
#define GLUT_WINDOW_BLUE_SIZE   109
#define GLUT_WINDOW_BUFFER_SIZE   104
#define GLUT_WINDOW_COLORMAP_SIZE   119
#define GLUT_WINDOW_CURSOR   122
#define GLUT_WINDOW_DEPTH_SIZE   106
#define GLUT_WINDOW_DOUBLEBUFFER   115
#define GLUT_WINDOW_FORMAT_ID   123
#define GLUT_WINDOW_GREEN_SIZE   108
#define GLUT_WINDOW_HEIGHT   103
#define GLUT_WINDOW_NUM_CHILDREN   118
#define GLUT_WINDOW_NUM_SAMPLES   120
#define GLUT_WINDOW_PARENT   117
#define GLUT_WINDOW_RED_SIZE   107
#define GLUT_WINDOW_RGBA   116
#define GLUT_WINDOW_STENCIL_SIZE   105
#define GLUT_WINDOW_STEREO   121
#define GLUT_WINDOW_WIDTH   102
#define GLUT_WINDOW_X   100
#define GLUT_WINDOW_Y   101
#define GLUT_XLIB_IMPLEMENTATION   13

Functions

void APIENTRY glutAddMenuEntry (const char *label, int value)
void APIENTRY glutAddSubMenu (const char *label, int submenu)
void APIENTRY glutAttachMenu (int button)
void APIENTRY glutBitmapCharacter (void *font, int character)
int APIENTRY glutBitmapLength (void *font, const unsigned char *string)
int APIENTRY glutBitmapWidth (void *font, int character)
void APIENTRY glutButtonBoxFunc (void(*func)(int button, int state))
void APIENTRY glutChangeToMenuEntry (int item, const char *label, int value)
void APIENTRY glutChangeToSubMenu (int item, const char *label, int submenu)
void APIENTRY glutCopyColormap (int win)
int APIENTRY glutCreateMenu (void(*)(int))
int APIENTRY glutCreateSubWindow (int win, int x, int y, int width, int height)
int APIENTRY glutCreateWindow (const char *title)
void APIENTRY glutDestroyMenu (int menu)
void APIENTRY glutDestroyWindow (int win)
void APIENTRY glutDetachMenu (int button)
int APIENTRY glutDeviceGet (GLenum type)
void APIENTRY glutDialsFunc (void(*func)(int dial, int value))
void APIENTRY glutDisplayFunc (void(*func)(void))
int APIENTRY glutEnterGameMode (void)
void APIENTRY glutEntryFunc (void(*func)(int state))
void APIENTRY glutEstablishOverlay (void)
int APIENTRY glutExtensionSupported (const char *name)
void APIENTRY glutForceJoystickFunc (void)
void APIENTRY glutFullScreen (void)
int APIENTRY glutGameModeGet (GLenum mode)
void APIENTRY glutGameModeString (const char *string)
int APIENTRY glutGet (GLenum type)
GLfloat APIENTRY glutGetColor (int ndx, int component)
int APIENTRY glutGetMenu (void)
int APIENTRY glutGetModifiers (void)
int APIENTRY glutGetWindow (void)
void APIENTRY glutHideOverlay (void)
void APIENTRY glutHideWindow (void)
void APIENTRY glutIconifyWindow (void)
void APIENTRY glutIdleFunc (void(*func)(void))
void APIENTRY glutIgnoreKeyRepeat (int ignore)
void APIENTRY glutInit (int *argcp, char **argv)
void APIENTRY glutInitDisplayMode (unsigned int mode)
void APIENTRY glutInitDisplayString (const char *string)
void APIENTRY glutInitWindowPosition (int x, int y)
void APIENTRY glutInitWindowSize (int width, int height)
void APIENTRY glutJoystickFunc (void(*func)(unsigned int buttonMask, int x, int y, int z), int pollInterval)
void APIENTRY glutKeyboardFunc (void(*func)(unsigned char key, int x, int y))
void APIENTRY glutKeyboardUpFunc (void(*func)(unsigned char key, int x, int y))
int APIENTRY glutLayerGet (GLenum type)
void APIENTRY glutLeaveGameMode (void)
void APIENTRY glutMainLoop (void)
void APIENTRY glutMenuStateFunc (void(*func)(int state))
void APIENTRY glutMenuStatusFunc (void(*func)(int status, int x, int y))
void APIENTRY glutMotionFunc (void(*func)(int x, int y))
void APIENTRY glutMouseFunc (void(*func)(int button, int state, int x, int y))
void APIENTRY glutOverlayDisplayFunc (void(*func)(void))
void APIENTRY glutPassiveMotionFunc (void(*func)(int x, int y))
void APIENTRY glutPopWindow (void)
void APIENTRY glutPositionWindow (int x, int y)
void APIENTRY glutPostOverlayRedisplay (void)
void APIENTRY glutPostRedisplay (void)
void APIENTRY glutPostWindowOverlayRedisplay (int win)
void APIENTRY glutPostWindowRedisplay (int win)
void APIENTRY glutPushWindow (void)
void APIENTRY glutRemoveMenuItem (int item)
void APIENTRY glutRemoveOverlay (void)
void APIENTRY glutReportErrors (void)
void APIENTRY glutReshapeFunc (void(*func)(int width, int height))
void APIENTRY glutReshapeWindow (int width, int height)
void APIENTRY glutSetColor (int, GLfloat red, GLfloat green, GLfloat blue)
void APIENTRY glutSetCursor (int cursor)
void APIENTRY glutSetIconTitle (const char *title)
void APIENTRY glutSetKeyRepeat (int repeatMode)
void APIENTRY glutSetMenu (int menu)
void APIENTRY glutSetupVideoResizing (void)
void APIENTRY glutSetWindow (int win)
void APIENTRY glutSetWindowTitle (const char *title)
void APIENTRY glutShowOverlay (void)
void APIENTRY glutShowWindow (void)
void APIENTRY glutSolidCone (GLdouble base, GLdouble height, GLint slices, GLint stacks)
void APIENTRY glutSolidCube (GLdouble size)
void APIENTRY glutSolidDodecahedron (void)
void APIENTRY glutSolidIcosahedron (void)
void APIENTRY glutSolidOctahedron (void)
void APIENTRY glutSolidSphere (GLdouble radius, GLint slices, GLint stacks)
void APIENTRY glutSolidTeapot (GLdouble size)
void APIENTRY glutSolidTetrahedron (void)
void APIENTRY glutSolidTorus (GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings)
void APIENTRY glutSpaceballButtonFunc (void(*func)(int button, int state))
void APIENTRY glutSpaceballMotionFunc (void(*func)(int x, int y, int z))
void APIENTRY glutSpaceballRotateFunc (void(*func)(int x, int y, int z))
void APIENTRY glutSpecialFunc (void(*func)(int key, int x, int y))
void APIENTRY glutSpecialUpFunc (void(*func)(int key, int x, int y))
void APIENTRY glutStopVideoResizing (void)
void APIENTRY glutStrokeCharacter (void *font, int character)
int APIENTRY glutStrokeLength (void *font, const unsigned char *string)
int APIENTRY glutStrokeWidth (void *font, int character)
void APIENTRY glutSwapBuffers (void)
void APIENTRY glutTabletButtonFunc (void(*func)(int button, int state, int x, int y))
void APIENTRY glutTabletMotionFunc (void(*func)(int x, int y))
void APIENTRY glutTimerFunc (unsigned int millis, void(*func)(int value), int value)
void APIENTRY glutUseLayer (GLenum layer)
void APIENTRY glutVideoPan (int x, int y, int width, int height)
void APIENTRY glutVideoResize (int x, int y, int width, int height)
int APIENTRY glutVideoResizeGet (GLenum param)
void APIENTRY glutVisibilityFunc (void(*func)(int state))
void APIENTRY glutWarpPointer (int x, int y)
void APIENTRY glutWindowStatusFunc (void(*func)(int state))
void APIENTRY glutWireCone (GLdouble base, GLdouble height, GLint slices, GLint stacks)
void APIENTRY glutWireCube (GLdouble size)
void APIENTRY glutWireDodecahedron (void)
void APIENTRY glutWireIcosahedron (void)
void APIENTRY glutWireOctahedron (void)
void APIENTRY glutWireSphere (GLdouble radius, GLint slices, GLint stacks)
void APIENTRY glutWireTeapot (GLdouble size)
void APIENTRY glutWireTetrahedron (void)
void APIENTRY glutWireTorus (GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings)

Variables

voidglutBitmap8By13
voidglutBitmap9By15
voidglutBitmapHelvetica10
voidglutBitmapHelvetica12
voidglutBitmapHelvetica18
voidglutBitmapTimesRoman10
voidglutBitmapTimesRoman24
voidglutStrokeMonoRoman
voidglutStrokeRoman

Define Documentation

#define APIENTRY

Definition at line 63 of file glut.h.

#define CALLBACK

Definition at line 65 of file glut.h.

#define GLUT_ACCUM   4

Definition at line 139 of file glut.h.

#define GLUT_ACTIVE_ALT   4

Definition at line 357 of file glut.h.

#define GLUT_ACTIVE_CTRL   2

Definition at line 356 of file glut.h.

#define GLUT_ACTIVE_SHIFT   1

Definition at line 355 of file glut.h.

#define GLUT_ALPHA   8

Definition at line 140 of file glut.h.

#define GLUT_API_VERSION   3

GLUT API revision history:

GLUT_API_VERSION is updated to reflect incompatible GLUT API changes (interface changes, semantic changes, deletions, or additions).

GLUT_API_VERSION=1 First public release of GLUT. 11/29/94

GLUT_API_VERSION=2 Added support for OpenGL/GLX multisampling, extension. Supports new input devices like tablet, dial and button box, and Spaceball. Easy to query OpenGL extensions.

GLUT_API_VERSION=3 glutMenuStatus added.

GLUT_API_VERSION=4 glutInitDisplayString, glutWarpPointer, glutBitmapLength, glutStrokeLength, glutWindowStatusFunc, dynamic video resize subAPI, glutPostWindowRedisplay, glutKeyboardUpFunc, glutSpecialUpFunc, glutIgnoreKeyRepeat, glutSetKeyRepeat, glutJoystickFunc, glutForceJoystickFunc (NOT FINALIZED!).

Definition at line 94 of file glut.h.

Definition at line 64 of file glut.h.

Definition at line 248 of file glut.h.

Definition at line 247 of file glut.h.

Definition at line 252 of file glut.h.

Definition at line 253 of file glut.h.

Definition at line 254 of file glut.h.

Definition at line 249 of file glut.h.

Definition at line 250 of file glut.h.

#define GLUT_BLUE   2

Definition at line 207 of file glut.h.

Definition at line 383 of file glut.h.

Definition at line 382 of file glut.h.

#define GLUT_CURSOR_BOTTOM_SIDE   13

Definition at line 377 of file glut.h.

#define GLUT_CURSOR_CROSSHAIR   9

Definition at line 371 of file glut.h.

#define GLUT_CURSOR_CYCLE   5

Definition at line 367 of file glut.h.

#define GLUT_CURSOR_DESTROY   3

Definition at line 365 of file glut.h.

#define GLUT_CURSOR_FULL_CROSSHAIR   102

Definition at line 389 of file glut.h.

#define GLUT_CURSOR_HELP   4

Definition at line 366 of file glut.h.

#define GLUT_CURSOR_INFO   2

Definition at line 364 of file glut.h.

#define GLUT_CURSOR_INHERIT   100

Definition at line 385 of file glut.h.

#define GLUT_CURSOR_LEFT_ARROW   1

Definition at line 362 of file glut.h.

#define GLUT_CURSOR_LEFT_RIGHT   11

Definition at line 374 of file glut.h.

#define GLUT_CURSOR_LEFT_SIDE   14

Definition at line 378 of file glut.h.

#define GLUT_CURSOR_NONE   101

Definition at line 387 of file glut.h.

#define GLUT_CURSOR_RIGHT_ARROW   0

Definition at line 361 of file glut.h.

#define GLUT_CURSOR_RIGHT_SIDE   15

Definition at line 379 of file glut.h.

#define GLUT_CURSOR_SPRAY   6

Definition at line 368 of file glut.h.

#define GLUT_CURSOR_TEXT   8

Definition at line 370 of file glut.h.

#define GLUT_CURSOR_TOP_LEFT_CORNER   16

Definition at line 380 of file glut.h.

Definition at line 381 of file glut.h.

#define GLUT_CURSOR_TOP_SIDE   12

Definition at line 376 of file glut.h.

#define GLUT_CURSOR_UP_DOWN   10

Definition at line 373 of file glut.h.

#define GLUT_CURSOR_WAIT   7

Definition at line 369 of file glut.h.

#define GLUT_DEPTH   16

Definition at line 141 of file glut.h.

Definition at line 318 of file glut.h.

#define GLUT_DEVICE_KEY_REPEAT   611

Definition at line 319 of file glut.h.

#define GLUT_DISPLAY_MODE_POSSIBLE   400

Definition at line 291 of file glut.h.

#define GLUT_DOUBLE   2

Definition at line 138 of file glut.h.

#define GLUT_DOWN   0

Definition at line 157 of file glut.h.

#define GLUT_ELAPSED_TIME   700

Definition at line 298 of file glut.h.

#define GLUT_ENTERED   1

Definition at line 188 of file glut.h.

#define GLUT_FULLY_COVERED   3

Definition at line 202 of file glut.h.

#define GLUT_FULLY_RETAINED   1

Definition at line 200 of file glut.h.

#define GLUT_GAME_MODE_ACTIVE   0

Definition at line 567 of file glut.h.

Definition at line 573 of file glut.h.

#define GLUT_GAME_MODE_HEIGHT   3

Definition at line 570 of file glut.h.

Definition at line 571 of file glut.h.

#define GLUT_GAME_MODE_POSSIBLE   1

Definition at line 568 of file glut.h.

Definition at line 572 of file glut.h.

#define GLUT_GAME_MODE_WIDTH   2

Definition at line 569 of file glut.h.

#define GLUT_GREEN   1

Definition at line 206 of file glut.h.

#define GLUT_HAS_DIAL_AND_BUTTON_BOX   603

Definition at line 309 of file glut.h.

#define GLUT_HAS_JOYSTICK   612

Definition at line 320 of file glut.h.

#define GLUT_HAS_KEYBOARD   600

Definition at line 306 of file glut.h.

#define GLUT_HAS_MOUSE   601

Definition at line 307 of file glut.h.

#define GLUT_HAS_OVERLAY   802

Definition at line 331 of file glut.h.

#define GLUT_HAS_SPACEBALL   602

Definition at line 308 of file glut.h.

#define GLUT_HAS_TABLET   604

Definition at line 310 of file glut.h.

#define GLUT_HIDDEN   0

Definition at line 199 of file glut.h.

#define GLUT_INDEX   1

Definition at line 136 of file glut.h.

#define GLUT_INIT_DISPLAY_MODE   504

Definition at line 296 of file glut.h.

#define GLUT_INIT_WINDOW_HEIGHT   503

Definition at line 295 of file glut.h.

#define GLUT_INIT_WINDOW_WIDTH   502

Definition at line 294 of file glut.h.

#define GLUT_INIT_WINDOW_X   500

Definition at line 292 of file glut.h.

#define GLUT_INIT_WINDOW_Y   501

Definition at line 293 of file glut.h.

#define GLUT_JOYSTICK_AXES   615

Definition at line 323 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_A   1

Definition at line 556 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_B   2

Definition at line 557 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_C   4

Definition at line 558 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_D   8

Definition at line 559 of file glut.h.

#define GLUT_JOYSTICK_BUTTONS   614

Definition at line 322 of file glut.h.

#define GLUT_JOYSTICK_POLL_RATE   616

Definition at line 324 of file glut.h.

#define GLUT_KEY_DOWN   103

Definition at line 178 of file glut.h.

#define GLUT_KEY_END   107

Definition at line 182 of file glut.h.

#define GLUT_KEY_F1   1

Definition at line 162 of file glut.h.

#define GLUT_KEY_F10   10

Definition at line 171 of file glut.h.

#define GLUT_KEY_F11   11

Definition at line 172 of file glut.h.

#define GLUT_KEY_F12   12

Definition at line 173 of file glut.h.

#define GLUT_KEY_F2   2

Definition at line 163 of file glut.h.

#define GLUT_KEY_F3   3

Definition at line 164 of file glut.h.

#define GLUT_KEY_F4   4

Definition at line 165 of file glut.h.

#define GLUT_KEY_F5   5

Definition at line 166 of file glut.h.

#define GLUT_KEY_F6   6

Definition at line 167 of file glut.h.

#define GLUT_KEY_F7   7

Definition at line 168 of file glut.h.

#define GLUT_KEY_F8   8

Definition at line 169 of file glut.h.

#define GLUT_KEY_F9   9

Definition at line 170 of file glut.h.

#define GLUT_KEY_HOME   106

Definition at line 181 of file glut.h.

#define GLUT_KEY_INSERT   108

Definition at line 183 of file glut.h.

#define GLUT_KEY_LEFT   100

Definition at line 175 of file glut.h.

#define GLUT_KEY_PAGE_DOWN   105

Definition at line 180 of file glut.h.

#define GLUT_KEY_PAGE_UP   104

Definition at line 179 of file glut.h.

#define GLUT_KEY_REPEAT_DEFAULT   2

Definition at line 553 of file glut.h.

#define GLUT_KEY_REPEAT_OFF   0

Definition at line 551 of file glut.h.

#define GLUT_KEY_REPEAT_ON   1

Definition at line 552 of file glut.h.

#define GLUT_KEY_RIGHT   102

Definition at line 177 of file glut.h.

#define GLUT_KEY_UP   101

Definition at line 176 of file glut.h.

#define GLUT_LAYER_IN_USE   801

Definition at line 330 of file glut.h.

#define GLUT_LEFT   0

Definition at line 187 of file glut.h.

#define GLUT_LEFT_BUTTON   0

Definition at line 152 of file glut.h.

#define GLUT_LUMINANCE   512

Definition at line 148 of file glut.h.

#define GLUT_MENU_IN_USE   1

Definition at line 192 of file glut.h.

#define GLUT_MENU_NOT_IN_USE   0

Definition at line 191 of file glut.h.

#define GLUT_MENU_NUM_ITEMS   300

Definition at line 290 of file glut.h.

#define GLUT_MIDDLE_BUTTON   1

Definition at line 153 of file glut.h.

#define GLUT_MULTISAMPLE   128

Definition at line 144 of file glut.h.

#define GLUT_NORMAL   0

Definition at line 351 of file glut.h.

#define GLUT_NORMAL   0

Definition at line 351 of file glut.h.

#define GLUT_NORMAL_DAMAGED   804

Definition at line 333 of file glut.h.

#define GLUT_NOT_VISIBLE   0

Definition at line 195 of file glut.h.

#define GLUT_NUM_BUTTON_BOX_BUTTONS   607

Definition at line 313 of file glut.h.

#define GLUT_NUM_DIALS   608

Definition at line 314 of file glut.h.

#define GLUT_NUM_MOUSE_BUTTONS   605

Definition at line 311 of file glut.h.

#define GLUT_NUM_SPACEBALL_BUTTONS   606

Definition at line 312 of file glut.h.

#define GLUT_NUM_TABLET_BUTTONS   609

Definition at line 315 of file glut.h.

#define GLUT_OVERLAY   1

Definition at line 352 of file glut.h.

#define GLUT_OVERLAY   1

Definition at line 352 of file glut.h.

#define GLUT_OVERLAY_DAMAGED   805

Definition at line 334 of file glut.h.

#define GLUT_OVERLAY_POSSIBLE   800

Definition at line 329 of file glut.h.

#define GLUT_OWNS_JOYSTICK   613

Definition at line 321 of file glut.h.

#define GLUT_PARTIALLY_RETAINED   2

Definition at line 201 of file glut.h.

#define GLUT_RED   0

Definition at line 205 of file glut.h.

#define GLUT_RGB   0

Definition at line 134 of file glut.h.

#define GLUT_RGBA   GLUT_RGB

Definition at line 135 of file glut.h.

#define GLUT_RIGHT_BUTTON   2

Definition at line 154 of file glut.h.

#define GLUT_SCREEN_HEIGHT   201

Definition at line 287 of file glut.h.

#define GLUT_SCREEN_HEIGHT_MM   203

Definition at line 289 of file glut.h.

#define GLUT_SCREEN_WIDTH   200

Definition at line 286 of file glut.h.

#define GLUT_SCREEN_WIDTH_MM   202

Definition at line 288 of file glut.h.

#define GLUT_SINGLE   0

Definition at line 137 of file glut.h.

#define GLUT_STENCIL   32

Definition at line 142 of file glut.h.

#define GLUT_STEREO   256

Definition at line 145 of file glut.h.

Definition at line 235 of file glut.h.

Definition at line 234 of file glut.h.

#define GLUT_TRANSPARENT_INDEX   803

Definition at line 332 of file glut.h.

#define GLUT_UP   1

Definition at line 158 of file glut.h.

#define GLUT_VIDEO_RESIZE_HEIGHT   909

Definition at line 347 of file glut.h.

Definition at line 343 of file glut.h.

#define GLUT_VIDEO_RESIZE_IN_USE   901

Definition at line 339 of file glut.h.

#define GLUT_VIDEO_RESIZE_POSSIBLE   900

Definition at line 338 of file glut.h.

#define GLUT_VIDEO_RESIZE_WIDTH   908

Definition at line 346 of file glut.h.

Definition at line 342 of file glut.h.

#define GLUT_VIDEO_RESIZE_X   906

Definition at line 344 of file glut.h.

#define GLUT_VIDEO_RESIZE_X_DELTA   902

Definition at line 340 of file glut.h.

#define GLUT_VIDEO_RESIZE_Y   907

Definition at line 345 of file glut.h.

#define GLUT_VIDEO_RESIZE_Y_DELTA   903

Definition at line 341 of file glut.h.

#define GLUT_VISIBLE   1

Definition at line 196 of file glut.h.

#define GLUT_WINDOW_ACCUM_ALPHA_SIZE   114

Definition at line 273 of file glut.h.

#define GLUT_WINDOW_ACCUM_BLUE_SIZE   113

Definition at line 272 of file glut.h.

#define GLUT_WINDOW_ACCUM_GREEN_SIZE   112

Definition at line 271 of file glut.h.

#define GLUT_WINDOW_ACCUM_RED_SIZE   111

Definition at line 270 of file glut.h.

#define GLUT_WINDOW_ALPHA_SIZE   110

Definition at line 269 of file glut.h.

#define GLUT_WINDOW_BLUE_SIZE   109

Definition at line 268 of file glut.h.

#define GLUT_WINDOW_BUFFER_SIZE   104

Definition at line 263 of file glut.h.

#define GLUT_WINDOW_COLORMAP_SIZE   119

Definition at line 278 of file glut.h.

#define GLUT_WINDOW_CURSOR   122

Definition at line 284 of file glut.h.

#define GLUT_WINDOW_DEPTH_SIZE   106

Definition at line 265 of file glut.h.

#define GLUT_WINDOW_DOUBLEBUFFER   115

Definition at line 274 of file glut.h.

#define GLUT_WINDOW_FORMAT_ID   123

Definition at line 301 of file glut.h.

#define GLUT_WINDOW_GREEN_SIZE   108

Definition at line 267 of file glut.h.

#define GLUT_WINDOW_HEIGHT   103

Definition at line 262 of file glut.h.

#define GLUT_WINDOW_NUM_CHILDREN   118

Definition at line 277 of file glut.h.

#define GLUT_WINDOW_NUM_SAMPLES   120

Definition at line 280 of file glut.h.

#define GLUT_WINDOW_PARENT   117

Definition at line 276 of file glut.h.

#define GLUT_WINDOW_RED_SIZE   107

Definition at line 266 of file glut.h.

#define GLUT_WINDOW_RGBA   116

Definition at line 275 of file glut.h.

#define GLUT_WINDOW_STENCIL_SIZE   105

Definition at line 264 of file glut.h.

#define GLUT_WINDOW_STEREO   121

Definition at line 281 of file glut.h.

#define GLUT_WINDOW_WIDTH   102

Definition at line 261 of file glut.h.

#define GLUT_WINDOW_X   100

Definition at line 259 of file glut.h.

#define GLUT_WINDOW_Y   101

Definition at line 260 of file glut.h.

#define GLUT_XLIB_IMPLEMENTATION   13

GLUT implementation revision history:

GLUT_XLIB_IMPLEMENTATION is updated to reflect both GLUT API revisions and implementation revisions (ie, bug fixes).

GLUT_XLIB_IMPLEMENTATION=1 mjk's first public release of GLUT Xlib-based implementation. 11/29/94

GLUT_XLIB_IMPLEMENTATION=2 mjk's second public release of GLUT Xlib-based implementation providing GLUT version 2 interfaces.

GLUT_XLIB_IMPLEMENTATION=3 mjk's GLUT 2.2 images. 4/17/95

GLUT_XLIB_IMPLEMENTATION=4 mjk's GLUT 2.3 images. 6/?/95

GLUT_XLIB_IMPLEMENTATION=5 mjk's GLUT 3.0 images. 10/?/95

GLUT_XLIB_IMPLEMENTATION=7 mjk's GLUT 3.1+ with glutWarpPoitner. 7/24/96

GLUT_XLIB_IMPLEMENTATION=8 mjk's GLUT 3.1+ with glutWarpPoitner and video resize. 1/3/97

GLUT_XLIB_IMPLEMENTATION=9 mjk's GLUT 3.4 release with early GLUT 4 routines.

GLUT_XLIB_IMPLEMENTATION=11 Mesa 2.5's GLUT 3.6 release.

GLUT_XLIB_IMPLEMENTATION=12 mjk's GLUT 3.6 release with early GLUT 4 routines + signal handling.

GLUT_XLIB_IMPLEMENTATION=13 mjk's GLUT 3.7 release with GameGLUT support.

Definition at line 130 of file glut.h.


Function Documentation

void APIENTRY glutAddMenuEntry ( const char *  label,
int  value 
)
void APIENTRY glutAddSubMenu ( const char *  label,
int  submenu 
)
void APIENTRY glutBitmapCharacter ( void font,
int  character 
)
int APIENTRY glutBitmapLength ( void font,
const unsigned char *  string 
)
int APIENTRY glutBitmapWidth ( void font,
int  character 
)
void APIENTRY glutButtonBoxFunc ( void(*)(int button, int state)  func)
void APIENTRY glutChangeToMenuEntry ( int  item,
const char *  label,
int  value 
)
void APIENTRY glutChangeToSubMenu ( int  item,
const char *  label,
int  submenu 
)
int APIENTRY glutCreateSubWindow ( int  win,
int  x,
int  y,
int  width,
int  height 
)
int APIENTRY glutCreateWindow ( const char *  title)
void APIENTRY glutDialsFunc ( void(*)(int dial, int value func)
void APIENTRY glutEntryFunc ( void(*)(int state)  func)
int APIENTRY glutExtensionSupported ( const char *  name)
void APIENTRY glutGameModeString ( const char *  string)
GLfloat APIENTRY glutGetColor ( int  ndx,
int  component 
)
void APIENTRY glutInit ( int argcp,
char **  argv 
)
void APIENTRY glutInitDisplayMode ( unsigned int  mode)
void APIENTRY glutInitDisplayString ( const char *  string)
void APIENTRY glutInitWindowSize ( int  width,
int  height 
)
void APIENTRY glutJoystickFunc ( void(*)(unsigned int buttonMask, int x, int y, int z func,
int  pollInterval 
)
void APIENTRY glutKeyboardFunc ( void(*)(unsigned char key, int x, int y func)
void APIENTRY glutKeyboardUpFunc ( void(*)(unsigned char key, int x, int y func)
void APIENTRY glutMenuStateFunc ( void(*)(int state)  func)
void APIENTRY glutMenuStatusFunc ( void(*)(int status, int x, int y func)
void APIENTRY glutMouseFunc ( void(*)(int button, int state, int x, int y func)
void APIENTRY glutReshapeWindow ( int  width,
int  height 
)
void APIENTRY glutSetColor ( int  ,
GLfloat  red,
GLfloat  green,
GLfloat  blue 
)
void APIENTRY glutSetIconTitle ( const char *  title)
void APIENTRY glutSetKeyRepeat ( int  repeatMode)
void APIENTRY glutSetWindowTitle ( const char *  title)
void APIENTRY glutSolidCone ( GLdouble  base,
GLdouble  height,
GLint  slices,
GLint  stacks 
)
void APIENTRY glutSolidSphere ( GLdouble  radius,
GLint  slices,
GLint  stacks 
)
void APIENTRY glutSolidTorus ( GLdouble  innerRadius,
GLdouble  outerRadius,
GLint  sides,
GLint  rings 
)
void APIENTRY glutSpaceballButtonFunc ( void(*)(int button, int state)  func)
void APIENTRY glutSpecialFunc ( void(*)(int key, int x, int y func)
void APIENTRY glutSpecialUpFunc ( void(*)(int key, int x, int y func)
void APIENTRY glutStrokeCharacter ( void font,
int  character 
)
int APIENTRY glutStrokeLength ( void font,
const unsigned char *  string 
)
int APIENTRY glutStrokeWidth ( void font,
int  character 
)
void APIENTRY glutTabletButtonFunc ( void(*)(int button, int state, int x, int y func)
void APIENTRY glutTimerFunc ( unsigned int  millis,
void(*)(int value func,
int  value 
)
void APIENTRY glutVideoPan ( int  x,
int  y,
int  width,
int  height 
)
void APIENTRY glutVideoResize ( int  x,
int  y,
int  width,
int  height 
)
void APIENTRY glutVisibilityFunc ( void(*)(int state)  func)
void APIENTRY glutWindowStatusFunc ( void(*)(int state)  func)
void APIENTRY glutWireCone ( GLdouble  base,
GLdouble  height,
GLint  slices,
GLint  stacks 
)
void APIENTRY glutWireSphere ( GLdouble  radius,
GLint  slices,
GLint  stacks 
)
void APIENTRY glutWireTorus ( GLdouble  innerRadius,
GLdouble  outerRadius,
GLint  sides,
GLint  rings 
)

Variable Documentation



nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:51