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   ((GLenum) 610)
#define GLUT_DEVICE_KEY_REPEAT   ((GLenum) 611)
#define GLUT_DISPLAY_MODE_POSSIBLE   ((GLenum) 400)
#define GLUT_DOUBLE   2
#define GLUT_DOWN   0
#define GLUT_ELAPSED_TIME   ((GLenum) 700)
#define GLUT_ENTERED   1
#define GLUT_FULLY_COVERED   3
#define GLUT_FULLY_RETAINED   1
#define GLUT_GAME_MODE_ACTIVE   ((GLenum) 0)
#define GLUT_GAME_MODE_DISPLAY_CHANGED   ((GLenum) 6)
#define GLUT_GAME_MODE_HEIGHT   ((GLenum) 3)
#define GLUT_GAME_MODE_PIXEL_DEPTH   ((GLenum) 4)
#define GLUT_GAME_MODE_POSSIBLE   ((GLenum) 1)
#define GLUT_GAME_MODE_REFRESH_RATE   ((GLenum) 5)
#define GLUT_GAME_MODE_WIDTH   ((GLenum) 2)
#define GLUT_GREEN   1
#define GLUT_HAS_DIAL_AND_BUTTON_BOX   ((GLenum) 603)
#define GLUT_HAS_JOYSTICK   ((GLenum) 612)
#define GLUT_HAS_KEYBOARD   ((GLenum) 600)
#define GLUT_HAS_MOUSE   ((GLenum) 601)
#define GLUT_HAS_OVERLAY   ((GLenum) 802)
#define GLUT_HAS_SPACEBALL   ((GLenum) 602)
#define GLUT_HAS_TABLET   ((GLenum) 604)
#define GLUT_HIDDEN   0
#define GLUT_INDEX   1
#define GLUT_INIT_DISPLAY_MODE   ((GLenum) 504)
#define GLUT_INIT_WINDOW_HEIGHT   ((GLenum) 503)
#define GLUT_INIT_WINDOW_WIDTH   ((GLenum) 502)
#define GLUT_INIT_WINDOW_X   ((GLenum) 500)
#define GLUT_INIT_WINDOW_Y   ((GLenum) 501)
#define GLUT_JOYSTICK_AXES   ((GLenum) 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   ((GLenum) 614)
#define GLUT_JOYSTICK_POLL_RATE   ((GLenum) 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   ((GLenum) 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   ((GLenum) 300)
#define GLUT_MIDDLE_BUTTON   1
#define GLUT_MULTISAMPLE   128
#define GLUT_NORMAL   ((GLenum) 0)
#define GLUT_NORMAL_DAMAGED   ((GLenum) 804)
#define GLUT_NOT_VISIBLE   0
#define GLUT_NUM_BUTTON_BOX_BUTTONS   ((GLenum) 607)
#define GLUT_NUM_DIALS   ((GLenum) 608)
#define GLUT_NUM_MOUSE_BUTTONS   ((GLenum) 605)
#define GLUT_NUM_SPACEBALL_BUTTONS   ((GLenum) 606)
#define GLUT_NUM_TABLET_BUTTONS   ((GLenum) 609)
#define GLUT_OVERLAY   ((GLenum) 1)
#define GLUT_OVERLAY_DAMAGED   ((GLenum) 805)
#define GLUT_OVERLAY_POSSIBLE   ((GLenum) 800)
#define GLUT_OWNS_JOYSTICK   ((GLenum) 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   ((GLenum) 201)
#define GLUT_SCREEN_HEIGHT_MM   ((GLenum) 203)
#define GLUT_SCREEN_WIDTH   ((GLenum) 200)
#define GLUT_SCREEN_WIDTH_MM   ((GLenum) 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   ((GLenum) 803)
#define GLUT_UP   1
#define GLUT_VIDEO_RESIZE_HEIGHT   ((GLenum) 909)
#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA   ((GLenum) 905)
#define GLUT_VIDEO_RESIZE_IN_USE   ((GLenum) 901)
#define GLUT_VIDEO_RESIZE_POSSIBLE   ((GLenum) 900)
#define GLUT_VIDEO_RESIZE_WIDTH   ((GLenum) 908)
#define GLUT_VIDEO_RESIZE_WIDTH_DELTA   ((GLenum) 904)
#define GLUT_VIDEO_RESIZE_X   ((GLenum) 906)
#define GLUT_VIDEO_RESIZE_X_DELTA   ((GLenum) 902)
#define GLUT_VIDEO_RESIZE_Y   ((GLenum) 907)
#define GLUT_VIDEO_RESIZE_Y_DELTA   ((GLenum) 903)
#define GLUT_VISIBLE   1
#define GLUT_WINDOW_ACCUM_ALPHA_SIZE   ((GLenum) 114)
#define GLUT_WINDOW_ACCUM_BLUE_SIZE   ((GLenum) 113)
#define GLUT_WINDOW_ACCUM_GREEN_SIZE   ((GLenum) 112)
#define GLUT_WINDOW_ACCUM_RED_SIZE   ((GLenum) 111)
#define GLUT_WINDOW_ALPHA_SIZE   ((GLenum) 110)
#define GLUT_WINDOW_BLUE_SIZE   ((GLenum) 109)
#define GLUT_WINDOW_BUFFER_SIZE   ((GLenum) 104)
#define GLUT_WINDOW_COLORMAP_SIZE   ((GLenum) 119)
#define GLUT_WINDOW_CURSOR   ((GLenum) 122)
#define GLUT_WINDOW_DEPTH_SIZE   ((GLenum) 106)
#define GLUT_WINDOW_DOUBLEBUFFER   ((GLenum) 115)
#define GLUT_WINDOW_FORMAT_ID   ((GLenum) 123)
#define GLUT_WINDOW_GREEN_SIZE   ((GLenum) 108)
#define GLUT_WINDOW_HEIGHT   ((GLenum) 103)
#define GLUT_WINDOW_NUM_CHILDREN   ((GLenum) 118)
#define GLUT_WINDOW_NUM_SAMPLES   ((GLenum) 120)
#define GLUT_WINDOW_PARENT   ((GLenum) 117)
#define GLUT_WINDOW_RED_SIZE   ((GLenum) 107)
#define GLUT_WINDOW_RGBA   ((GLenum) 116)
#define GLUT_WINDOW_STENCIL_SIZE   ((GLenum) 105)
#define GLUT_WINDOW_STEREO   ((GLenum) 121)
#define GLUT_WINDOW_WIDTH   ((GLenum) 102)
#define GLUT_WINDOW_X   ((GLenum) 100)
#define GLUT_WINDOW_Y   ((GLenum) 101)
#define GLUT_XLIB_IMPLEMENTATION   17
#define GLUTAPI   extern
#define GLUTAPIENTRY
#define GLUTCALLBACK

Functions

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

Variables

GLUTAPI voidglutBitmap8By13
GLUTAPI voidglutBitmap9By15
GLUTAPI voidglutBitmapHelvetica10
GLUTAPI voidglutBitmapHelvetica12
GLUTAPI voidglutBitmapHelvetica18
GLUTAPI voidglutBitmapTimesRoman10
GLUTAPI voidglutBitmapTimesRoman24
GLUTAPI voidglutStrokeMonoRoman
GLUTAPI voidglutStrokeRoman

Define Documentation

#define APIENTRY

Definition at line 212 of file glut.h.

#define CALLBACK

Definition at line 214 of file glut.h.

#define GLUT_ACCUM   4

Definition at line 303 of file glut.h.

#define GLUT_ACTIVE_ALT   4

Definition at line 517 of file glut.h.

#define GLUT_ACTIVE_CTRL   2

Definition at line 516 of file glut.h.

#define GLUT_ACTIVE_SHIFT   1

Definition at line 515 of file glut.h.

#define GLUT_ALPHA   8

Definition at line 304 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, glutStrokeWidthf, glutStrokeLengthf (NOT FINALIZED!).

Definition at line 250 of file glut.h.

Definition at line 213 of file glut.h.

Definition at line 408 of file glut.h.

Definition at line 407 of file glut.h.

Definition at line 412 of file glut.h.

Definition at line 413 of file glut.h.

Definition at line 414 of file glut.h.

Definition at line 409 of file glut.h.

Definition at line 410 of file glut.h.

#define GLUT_BLUE   2

Definition at line 371 of file glut.h.

Definition at line 543 of file glut.h.

Definition at line 542 of file glut.h.

#define GLUT_CURSOR_BOTTOM_SIDE   13

Definition at line 537 of file glut.h.

#define GLUT_CURSOR_CROSSHAIR   9

Definition at line 531 of file glut.h.

#define GLUT_CURSOR_CYCLE   5

Definition at line 527 of file glut.h.

#define GLUT_CURSOR_DESTROY   3

Definition at line 525 of file glut.h.

#define GLUT_CURSOR_FULL_CROSSHAIR   102

Definition at line 549 of file glut.h.

#define GLUT_CURSOR_HELP   4

Definition at line 526 of file glut.h.

#define GLUT_CURSOR_INFO   2

Definition at line 524 of file glut.h.

#define GLUT_CURSOR_INHERIT   100

Definition at line 545 of file glut.h.

#define GLUT_CURSOR_LEFT_ARROW   1

Definition at line 522 of file glut.h.

#define GLUT_CURSOR_LEFT_RIGHT   11

Definition at line 534 of file glut.h.

#define GLUT_CURSOR_LEFT_SIDE   14

Definition at line 538 of file glut.h.

#define GLUT_CURSOR_NONE   101

Definition at line 547 of file glut.h.

#define GLUT_CURSOR_RIGHT_ARROW   0

Definition at line 521 of file glut.h.

#define GLUT_CURSOR_RIGHT_SIDE   15

Definition at line 539 of file glut.h.

#define GLUT_CURSOR_SPRAY   6

Definition at line 528 of file glut.h.

#define GLUT_CURSOR_TEXT   8

Definition at line 530 of file glut.h.

#define GLUT_CURSOR_TOP_LEFT_CORNER   16

Definition at line 540 of file glut.h.

Definition at line 541 of file glut.h.

#define GLUT_CURSOR_TOP_SIDE   12

Definition at line 536 of file glut.h.

#define GLUT_CURSOR_UP_DOWN   10

Definition at line 533 of file glut.h.

#define GLUT_CURSOR_WAIT   7

Definition at line 529 of file glut.h.

#define GLUT_DEPTH   16

Definition at line 305 of file glut.h.

#define GLUT_DEVICE_IGNORE_KEY_REPEAT   ((GLenum) 610)

Definition at line 478 of file glut.h.

#define GLUT_DEVICE_KEY_REPEAT   ((GLenum) 611)

Definition at line 479 of file glut.h.

#define GLUT_DISPLAY_MODE_POSSIBLE   ((GLenum) 400)

Definition at line 451 of file glut.h.

#define GLUT_DOUBLE   2

Definition at line 302 of file glut.h.

#define GLUT_DOWN   0

Definition at line 321 of file glut.h.

#define GLUT_ELAPSED_TIME   ((GLenum) 700)

Definition at line 458 of file glut.h.

#define GLUT_ENTERED   1

Definition at line 352 of file glut.h.

#define GLUT_FULLY_COVERED   3

Definition at line 366 of file glut.h.

#define GLUT_FULLY_RETAINED   1

Definition at line 364 of file glut.h.

#define GLUT_GAME_MODE_ACTIVE   ((GLenum) 0)

Definition at line 752 of file glut.h.

Definition at line 758 of file glut.h.

#define GLUT_GAME_MODE_HEIGHT   ((GLenum) 3)

Definition at line 755 of file glut.h.

#define GLUT_GAME_MODE_PIXEL_DEPTH   ((GLenum) 4)

Definition at line 756 of file glut.h.

#define GLUT_GAME_MODE_POSSIBLE   ((GLenum) 1)

Definition at line 753 of file glut.h.

#define GLUT_GAME_MODE_REFRESH_RATE   ((GLenum) 5)

Definition at line 757 of file glut.h.

#define GLUT_GAME_MODE_WIDTH   ((GLenum) 2)

Definition at line 754 of file glut.h.

#define GLUT_GREEN   1

Definition at line 370 of file glut.h.

#define GLUT_HAS_DIAL_AND_BUTTON_BOX   ((GLenum) 603)

Definition at line 469 of file glut.h.

#define GLUT_HAS_JOYSTICK   ((GLenum) 612)

Definition at line 480 of file glut.h.

#define GLUT_HAS_KEYBOARD   ((GLenum) 600)

Definition at line 466 of file glut.h.

#define GLUT_HAS_MOUSE   ((GLenum) 601)

Definition at line 467 of file glut.h.

#define GLUT_HAS_OVERLAY   ((GLenum) 802)

Definition at line 491 of file glut.h.

#define GLUT_HAS_SPACEBALL   ((GLenum) 602)

Definition at line 468 of file glut.h.

#define GLUT_HAS_TABLET   ((GLenum) 604)

Definition at line 470 of file glut.h.

#define GLUT_HIDDEN   0

Definition at line 363 of file glut.h.

#define GLUT_INDEX   1

Definition at line 300 of file glut.h.

#define GLUT_INIT_DISPLAY_MODE   ((GLenum) 504)

Definition at line 456 of file glut.h.

#define GLUT_INIT_WINDOW_HEIGHT   ((GLenum) 503)

Definition at line 455 of file glut.h.

#define GLUT_INIT_WINDOW_WIDTH   ((GLenum) 502)

Definition at line 454 of file glut.h.

#define GLUT_INIT_WINDOW_X   ((GLenum) 500)

Definition at line 452 of file glut.h.

#define GLUT_INIT_WINDOW_Y   ((GLenum) 501)

Definition at line 453 of file glut.h.

#define GLUT_JOYSTICK_AXES   ((GLenum) 615)

Definition at line 483 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_A   1

Definition at line 741 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_B   2

Definition at line 742 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_C   4

Definition at line 743 of file glut.h.

#define GLUT_JOYSTICK_BUTTON_D   8

Definition at line 744 of file glut.h.

#define GLUT_JOYSTICK_BUTTONS   ((GLenum) 614)

Definition at line 482 of file glut.h.

#define GLUT_JOYSTICK_POLL_RATE   ((GLenum) 616)

Definition at line 484 of file glut.h.

#define GLUT_KEY_DOWN   103

Definition at line 342 of file glut.h.

#define GLUT_KEY_END   107

Definition at line 346 of file glut.h.

#define GLUT_KEY_F1   1

Definition at line 326 of file glut.h.

#define GLUT_KEY_F10   10

Definition at line 335 of file glut.h.

#define GLUT_KEY_F11   11

Definition at line 336 of file glut.h.

#define GLUT_KEY_F12   12

Definition at line 337 of file glut.h.

#define GLUT_KEY_F2   2

Definition at line 327 of file glut.h.

#define GLUT_KEY_F3   3

Definition at line 328 of file glut.h.

#define GLUT_KEY_F4   4

Definition at line 329 of file glut.h.

#define GLUT_KEY_F5   5

Definition at line 330 of file glut.h.

#define GLUT_KEY_F6   6

Definition at line 331 of file glut.h.

#define GLUT_KEY_F7   7

Definition at line 332 of file glut.h.

#define GLUT_KEY_F8   8

Definition at line 333 of file glut.h.

#define GLUT_KEY_F9   9

Definition at line 334 of file glut.h.

#define GLUT_KEY_HOME   106

Definition at line 345 of file glut.h.

#define GLUT_KEY_INSERT   108

Definition at line 347 of file glut.h.

#define GLUT_KEY_LEFT   100

Definition at line 339 of file glut.h.

#define GLUT_KEY_PAGE_DOWN   105

Definition at line 344 of file glut.h.

#define GLUT_KEY_PAGE_UP   104

Definition at line 343 of file glut.h.

#define GLUT_KEY_REPEAT_DEFAULT   2

Definition at line 738 of file glut.h.

#define GLUT_KEY_REPEAT_OFF   0

Definition at line 736 of file glut.h.

#define GLUT_KEY_REPEAT_ON   1

Definition at line 737 of file glut.h.

#define GLUT_KEY_RIGHT   102

Definition at line 341 of file glut.h.

#define GLUT_KEY_UP   101

Definition at line 340 of file glut.h.

#define GLUT_LAYER_IN_USE   ((GLenum) 801)

Definition at line 490 of file glut.h.

#define GLUT_LEFT   0

Definition at line 351 of file glut.h.

#define GLUT_LEFT_BUTTON   0

Definition at line 316 of file glut.h.

#define GLUT_LUMINANCE   512

Definition at line 312 of file glut.h.

#define GLUT_MENU_IN_USE   1

Definition at line 356 of file glut.h.

#define GLUT_MENU_NOT_IN_USE   0

Definition at line 355 of file glut.h.

#define GLUT_MENU_NUM_ITEMS   ((GLenum) 300)

Definition at line 450 of file glut.h.

#define GLUT_MIDDLE_BUTTON   1

Definition at line 317 of file glut.h.

#define GLUT_MULTISAMPLE   128

Definition at line 308 of file glut.h.

#define GLUT_NORMAL   ((GLenum) 0)

Definition at line 511 of file glut.h.

#define GLUT_NORMAL_DAMAGED   ((GLenum) 804)

Definition at line 493 of file glut.h.

#define GLUT_NOT_VISIBLE   0

Definition at line 359 of file glut.h.

#define GLUT_NUM_BUTTON_BOX_BUTTONS   ((GLenum) 607)

Definition at line 473 of file glut.h.

#define GLUT_NUM_DIALS   ((GLenum) 608)

Definition at line 474 of file glut.h.

#define GLUT_NUM_MOUSE_BUTTONS   ((GLenum) 605)

Definition at line 471 of file glut.h.

#define GLUT_NUM_SPACEBALL_BUTTONS   ((GLenum) 606)

Definition at line 472 of file glut.h.

#define GLUT_NUM_TABLET_BUTTONS   ((GLenum) 609)

Definition at line 475 of file glut.h.

#define GLUT_OVERLAY   ((GLenum) 1)

Definition at line 512 of file glut.h.

#define GLUT_OVERLAY_DAMAGED   ((GLenum) 805)

Definition at line 494 of file glut.h.

#define GLUT_OVERLAY_POSSIBLE   ((GLenum) 800)

Definition at line 489 of file glut.h.

#define GLUT_OWNS_JOYSTICK   ((GLenum) 613)

Definition at line 481 of file glut.h.

#define GLUT_PARTIALLY_RETAINED   2

Definition at line 365 of file glut.h.

#define GLUT_RED   0

Definition at line 369 of file glut.h.

#define GLUT_RGB   0

Definition at line 298 of file glut.h.

#define GLUT_RGBA   GLUT_RGB

Definition at line 299 of file glut.h.

#define GLUT_RIGHT_BUTTON   2

Definition at line 318 of file glut.h.

#define GLUT_SCREEN_HEIGHT   ((GLenum) 201)

Definition at line 447 of file glut.h.

#define GLUT_SCREEN_HEIGHT_MM   ((GLenum) 203)

Definition at line 449 of file glut.h.

#define GLUT_SCREEN_WIDTH   ((GLenum) 200)

Definition at line 446 of file glut.h.

#define GLUT_SCREEN_WIDTH_MM   ((GLenum) 202)

Definition at line 448 of file glut.h.

#define GLUT_SINGLE   0

Definition at line 301 of file glut.h.

#define GLUT_STENCIL   32

Definition at line 306 of file glut.h.

#define GLUT_STEREO   256

Definition at line 309 of file glut.h.

Definition at line 395 of file glut.h.

Definition at line 394 of file glut.h.

#define GLUT_TRANSPARENT_INDEX   ((GLenum) 803)

Definition at line 492 of file glut.h.

#define GLUT_UP   1

Definition at line 322 of file glut.h.

#define GLUT_VIDEO_RESIZE_HEIGHT   ((GLenum) 909)

Definition at line 507 of file glut.h.

#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA   ((GLenum) 905)

Definition at line 503 of file glut.h.

#define GLUT_VIDEO_RESIZE_IN_USE   ((GLenum) 901)

Definition at line 499 of file glut.h.

#define GLUT_VIDEO_RESIZE_POSSIBLE   ((GLenum) 900)

Definition at line 498 of file glut.h.

#define GLUT_VIDEO_RESIZE_WIDTH   ((GLenum) 908)

Definition at line 506 of file glut.h.

#define GLUT_VIDEO_RESIZE_WIDTH_DELTA   ((GLenum) 904)

Definition at line 502 of file glut.h.

#define GLUT_VIDEO_RESIZE_X   ((GLenum) 906)

Definition at line 504 of file glut.h.

#define GLUT_VIDEO_RESIZE_X_DELTA   ((GLenum) 902)

Definition at line 500 of file glut.h.

#define GLUT_VIDEO_RESIZE_Y   ((GLenum) 907)

Definition at line 505 of file glut.h.

#define GLUT_VIDEO_RESIZE_Y_DELTA   ((GLenum) 903)

Definition at line 501 of file glut.h.

#define GLUT_VISIBLE   1

Definition at line 360 of file glut.h.

#define GLUT_WINDOW_ACCUM_ALPHA_SIZE   ((GLenum) 114)

Definition at line 433 of file glut.h.

#define GLUT_WINDOW_ACCUM_BLUE_SIZE   ((GLenum) 113)

Definition at line 432 of file glut.h.

#define GLUT_WINDOW_ACCUM_GREEN_SIZE   ((GLenum) 112)

Definition at line 431 of file glut.h.

#define GLUT_WINDOW_ACCUM_RED_SIZE   ((GLenum) 111)

Definition at line 430 of file glut.h.

#define GLUT_WINDOW_ALPHA_SIZE   ((GLenum) 110)

Definition at line 429 of file glut.h.

#define GLUT_WINDOW_BLUE_SIZE   ((GLenum) 109)

Definition at line 428 of file glut.h.

#define GLUT_WINDOW_BUFFER_SIZE   ((GLenum) 104)

Definition at line 423 of file glut.h.

#define GLUT_WINDOW_COLORMAP_SIZE   ((GLenum) 119)

Definition at line 438 of file glut.h.

#define GLUT_WINDOW_CURSOR   ((GLenum) 122)

Definition at line 444 of file glut.h.

#define GLUT_WINDOW_DEPTH_SIZE   ((GLenum) 106)

Definition at line 425 of file glut.h.

#define GLUT_WINDOW_DOUBLEBUFFER   ((GLenum) 115)

Definition at line 434 of file glut.h.

#define GLUT_WINDOW_FORMAT_ID   ((GLenum) 123)

Definition at line 461 of file glut.h.

#define GLUT_WINDOW_GREEN_SIZE   ((GLenum) 108)

Definition at line 427 of file glut.h.

#define GLUT_WINDOW_HEIGHT   ((GLenum) 103)

Definition at line 422 of file glut.h.

#define GLUT_WINDOW_NUM_CHILDREN   ((GLenum) 118)

Definition at line 437 of file glut.h.

#define GLUT_WINDOW_NUM_SAMPLES   ((GLenum) 120)

Definition at line 440 of file glut.h.

#define GLUT_WINDOW_PARENT   ((GLenum) 117)

Definition at line 436 of file glut.h.

#define GLUT_WINDOW_RED_SIZE   ((GLenum) 107)

Definition at line 426 of file glut.h.

#define GLUT_WINDOW_RGBA   ((GLenum) 116)

Definition at line 435 of file glut.h.

#define GLUT_WINDOW_STENCIL_SIZE   ((GLenum) 105)

Definition at line 424 of file glut.h.

#define GLUT_WINDOW_STEREO   ((GLenum) 121)

Definition at line 441 of file glut.h.

#define GLUT_WINDOW_WIDTH   ((GLenum) 102)

Definition at line 421 of file glut.h.

#define GLUT_WINDOW_X   ((GLenum) 100)

Definition at line 419 of file glut.h.

#define GLUT_WINDOW_Y   ((GLenum) 101)

Definition at line 420 of file glut.h.

#define GLUT_XLIB_IMPLEMENTATION   17

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 beta with GameGLUT support.

GLUT_XLIB_IMPLEMENTATION=14 mjk's GLUT 3.7 beta with f90gl friend interface.

GLUT_XLIB_IMPLEMENTATION=15 mjk's GLUT 3.7 beta sync'ed with Mesa <GL/glut.h>

GLUT_XLIB_IMPLEMENTATION=16 mjk's early GLUT 3.8

GLUT_XLIB_IMPLEMENTATION=17 mjk's GLUT 3.8 with glutStrokeWidthf and glutStrokeLengthf

Definition at line 294 of file glut.h.

#define GLUTAPI   extern

Definition at line 216 of file glut.h.

#define GLUTAPIENTRY

Definition at line 217 of file glut.h.

#define GLUTCALLBACK

Definition at line 218 of file glut.h.


Function Documentation

void exit ( int  )
GLUTAPI void GLUTAPIENTRY glutAddMenuEntry ( const char *  label,
int  value 
)
GLUTAPI void GLUTAPIENTRY glutAddSubMenu ( const char *  label,
int  submenu 
)
GLUTAPI void GLUTAPIENTRY glutBitmapCharacter ( void font,
int  character 
)
GLUTAPI int GLUTAPIENTRY glutBitmapLength ( void font,
const unsigned char *  string 
)
GLUTAPI int GLUTAPIENTRY glutBitmapWidth ( void font,
int  character 
)
GLUTAPI void GLUTAPIENTRY glutChangeToMenuEntry ( int  item,
const char *  label,
int  value 
)
GLUTAPI void GLUTAPIENTRY glutChangeToSubMenu ( int  item,
const char *  label,
int  submenu 
)
GLUTAPI int GLUTAPIENTRY glutCreateSubWindow ( int  win,
int  x,
int  y,
int  width,
int  height 
)
GLUTAPI int GLUTAPIENTRY glutCreateWindow ( const char *  title)
GLUTAPI void GLUTAPIENTRY glutGameModeString ( const char *  string)
GLUTAPI GLfloat GLUTAPIENTRY glutGetColor ( int  ndx,
int  component 
)
GLUTAPI void GLUTAPIENTRY glutInit ( int argcp,
char **  argv 
)
GLUTAPI void GLUTAPIENTRY glutInitDisplayString ( const char *  string)
GLUTAPI void GLUTAPIENTRY glutJoystickFunc ( void(GLUTCALLBACK *func)(unsigned int buttonMask, int x, int y, int z ,
int  pollInterval 
)
GLUTAPI void GLUTAPIENTRY glutKeyboardFunc ( void(GLUTCALLBACK *func)(unsigned char key, int x, int y )
GLUTAPI void GLUTAPIENTRY glutKeyboardUpFunc ( void(GLUTCALLBACK *func)(unsigned char key, int x, int y )
GLUTAPI void GLUTAPIENTRY glutReshapeWindow ( int  width,
int  height 
)
GLUTAPI void GLUTAPIENTRY glutSetColor ( int  ,
GLfloat  red,
GLfloat  green,
GLfloat  blue 
)
GLUTAPI void GLUTAPIENTRY glutSetIconTitle ( const char *  title)
GLUTAPI void GLUTAPIENTRY glutSetWindowTitle ( const char *  title)
GLUTAPI void GLUTAPIENTRY glutSolidCone ( GLdouble  base,
GLdouble  height,
GLint  slices,
GLint  stacks 
)
GLUTAPI void GLUTAPIENTRY glutSolidSphere ( GLdouble  radius,
GLint  slices,
GLint  stacks 
)
GLUTAPI void GLUTAPIENTRY glutSolidTorus ( GLdouble  innerRadius,
GLdouble  outerRadius,
GLint  sides,
GLint  rings 
)
GLUTAPI void GLUTAPIENTRY glutStrokeCharacter ( void font,
int  character 
)
GLUTAPI int GLUTAPIENTRY glutStrokeLength ( void font,
const unsigned char *  string 
)
GLUTAPI float GLUTAPIENTRY glutStrokeLengthf ( void font,
const unsigned char *  string 
)
GLUTAPI int GLUTAPIENTRY glutStrokeWidth ( void font,
int  character 
)
GLUTAPI float GLUTAPIENTRY glutStrokeWidthf ( void font,
int  character 
)
GLUTAPI void GLUTAPIENTRY glutTimerFunc ( unsigned int  millis,
void(GLUTCALLBACK *func)(int value ,
int  value 
)
GLUTAPI void GLUTAPIENTRY glutVideoPan ( int  x,
int  y,
int  width,
int  height 
)
GLUTAPI void GLUTAPIENTRY glutVideoResize ( int  x,
int  y,
int  width,
int  height 
)
GLUTAPI void GLUTAPIENTRY glutWireCone ( GLdouble  base,
GLdouble  height,
GLint  slices,
GLint  stacks 
)
GLUTAPI void GLUTAPIENTRY glutWireSphere ( GLdouble  radius,
GLint  slices,
GLint  stacks 
)
GLUTAPI void GLUTAPIENTRY glutWireTorus ( GLdouble  innerRadius,
GLdouble  outerRadius,
GLint  sides,
GLint  rings 
)

Variable Documentation

Definition at line 399 of file glut.h.

Definition at line 398 of file glut.h.

Definition at line 402 of file glut.h.

Definition at line 403 of file glut.h.

Definition at line 404 of file glut.h.

Definition at line 400 of file glut.h.

Definition at line 401 of file glut.h.

Definition at line 391 of file glut.h.

Definition at line 390 of file glut.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rgbd_registration
Author(s): Ross Kidson
autogenerated on Thu May 23 2013 15:36:56