Package freeglut-devel

Freeglut developmental libraries and header files

http://freeglut.sourceforge.net

Developmental libraries and header files required for developing or compiling
software which links to the freeglut library, which is an open source
alternative to the popular GLUT library, with an OSI approved free software
license.

Library Functions (Section 3)
glutAddMenuEntry
Append an item to the current menu.
glutAddSubMenu
Attaches an existing menu as a submenu of the current menu.
glutAttachMenu
Attach the current menu to the current window.
glutBitmapCharacter
Draw a bitmapped character
glutBitmapHeight
Return the line-to-line vertical spacing (in pixels) between lines of a bitmapped
glutBitmapLength
Returns the maximum horizontal OpenGL raster position offset for a
glutBitmapString
Draw a string of bitmapped characters
glutBitmapWidth
Returns the horizontal OpenGL raster position offset for a
glutButtonBoxFunc
A dials-and-buttons box has buttons numbered from 1 to glutDeviceGet(
glutChangeToMenuEntry
Walks the list of the menu items and replaces the numbered
glutChangeToSubMenu
Walks the list of the menu items and replaces the numbered
glutCloseFunc
When a window is destroyed by user-action in traditional GLUT, the application terminates. In freeglut and OpenGLUT, the application can choose to persist and...
glutCopyColormap
Allows you to copy an entire color map from one window to another. This function copies
glutCreateMenu
Create a menu with a callback bound to
glutCreateMenuWindow
This is a highly experimental function. It creates a menu-like window, of requested dimensions, and at a position relative to your current window. The...
glutCreateSubWindow
In almost every regard that is important to you, a subwindow is like a top-level window. It has a window id; it has its own set of event callbacks; you can...
glutCreateWindow
This function sends a request for a window to be constructed. OpenGLUT immediately constructs a data structure to track further events with the window, on the...
glutDestroyMenu
Destroys a given menu object by its ID.
glutDestroyWindow
After this function is invoked, the only further event that may be delivered for your window is the one for its destruction. All other events should be...
glutDetachMenu
Detach menu from the current window.
glutDeviceGet
Retrieves some system-specific information about attached devices. Supported device queries are: -
glutDialsFunc
A dials-and-buttons box has dials numbered from 1 to glutDeviceGet(
glutDisplayFunc
Sets the display callback for the
glutEnterGameMode
Any combination of the following may apply: - Resolution change, possibly to the requested resolution, possibly to a "nearest match". - Refresh frequency...
glutEntryFunc
When the mouse enters or exits a window (or sub-window), OpenGLUT can report this transition via the Entry callback.
glutEstablishOverlay
Creates an overlay associated with the
glutExtensionSupported
Returns 0 if OpenGLUT cannot determine that the requested extension is definitely present. Only checks extensions from glGetString().
glutForceJoystickFunc
Forces the OpenGLUT joystick code to poll your joystick(s) and to call your joystick callbacks with the result. The operation completes, including callbacks...
glutFullScreen
The glutFullScreen() function resizes the window to cover the entire screen and hide window decorations such as title bars and icons.
glutGameModeGet
Return the value of a game mode parameter
glutGameModeString
Sets the gamemode status according to an undocumented string. Glancing at old GLUT 3.7, the freeglut codebase that we inherited does not implement more than a...
glutGet
This function permits you to query for the current value of many different OpenGLUT state variables. The current list is: -
glutGetColor
Allows you to get individual color-map entries in a
glutGetMenu
Returns the integer ID of the current menu.
glutGetMenuData
Retrieve a previously stored user data pointer from the current menu.
glutGetModifiers
According to which, if any, modifier keys are held, the return value is the logical
glutGetProcAddress
Given a function name, searches for the function (or "procedure", hence "Proc") in internal tables. If the function is found, a pointer to the function is...
glutGetWindow
glutGetWindow() returns the
glutGetWindowData
This function will return whatever
glutHideOverlay
Causes a visible overlay to become invisible. Applies to the
glutHideWindow
Even if a window is ``open'', it need not be visible. It may be convenient to hide a window rather than to close it, if you want to re-display the window at the...
glutIconifyWindow
Most window systems have some kind of ``minimized'' or ``iconified'' state for windows. All systems currently supported by OpenGLUT do so. The exact meaning of...
glutIdleFunc
When OpenGLUT's glutMainLoop() is doing nothing else, it checks to see if an ``idle'' callback set. If so, OpenGLUT invokes that callback. This callback is
glutIgnoreKeyRepeat
Set autorepeat status.
glutInit
This function should be called once, near the start of any GLUT, freeglut, or OpenGLUT program. It serves two vital roles: - It allows OpenGLUT to initialize...
glutInitDisplayMode
glutInitDisplayMode() allows you to control the mode for subsequent OpenGLUT windows. Allowable
glutInitDisplayString
glutInitDisplayString() permits you to define a display mode for subsequent windows that you open. In most regards, control is at least as fine as with...
glutInitWindowPosition
This function allows you to request an initial position for future windows.
glutInitWindowSize
This function allows you to request initial dimensions for future windows. There is a callback function to inform you of the new window shape (whether initially...
glutJoystickFunc
The callback is called roughly every
glutKeyboardFunc
This callback registration allows you to handle traditional ASCII keyboard input. A general rule of thumb is that if a key has a common ASCII code, then...
glutKeyboardUpFunc
This function provides a way to detect the release of a keyboard key. The keys are reported exactly as with glutKeyboardFunc(), save that the
glutLayerGet
Returns some useful information about layers. Or, it would be useful if layers were implemented...
glutLeaveGameMode
Leave game mode, returning to normal desktop mode
glutLeaveMainLoop
This function allows you to unilaterally tell OpenGLUT that you are done and wish to exit. This is useful if you have also told OpenGLUT to return to you rather...
glutMainLoop
This is the main driving force for an event-driven OpenGLUT program. It alternates between calling glutMainLoopEvent() to process pending events and then either...
glutMainLoopEvent
The general outline of this function is to first drain the queue of windowsystem events, in most cases dispatching each as it is found. After the queue is...
glutMenuDestroyFunc
When a menu is destroyed, OpenGLUT will call this hook, if defined on that menu. This callback is
glutMenuStateFunc
Broadly, OpenGLUT operates in two modes. At any given time, it is either in menu mode (with a popup menu display, possibly with subitems) or it is not. When...
glutMenuStatusFunc
Broadly, OpenGLUT operates in two modes. At any given time, it is either in menu mode (with a popup menu display, possibly with subitems) or it is not. When...
glutMotionFunc
This function reports the mouse position when the mouse is dragged starting from within your window. (``Dragging'' occurs when you press one or more mouse...
glutMouseFunc
Whenever a mouse button is pressed or released in an OpenGLUT window, OpenGLUT checks if that window has a mouse-button (Mouse) callback registered. If so...
glutMouseWheelFunc
If the mouse wheel is spun over your (sub)window, OpenGLUT will, in theory, report this via the MouseWheel callback.
glutOverlayDisplayFunc
Defines the display hook for an overlay.
glutPassiveMotionFunc
If you set this callback on a window, then every time that OpenGLUT detects a change in the mouse position inside that window, with no buttons pressed on that...
glutPopWindow
Request to raise the current window to the top
glutPositionWindow
The glutPositionWindow() function requests that the window system position a top-level or subwindow relative to the top-left corner. Subwindows are typically...
glutPostOverlayRedisplay
Posts a redispaly against the layer for the current window.
glutPostRedisplay
Whenever circumstances indicate that your window is in need of being redisplayed, you may call glutPostRedisplay() to tell OpenGLUT that you want to redraw your...
glutPostWindowOverlayRedisplay
This function lets you post an overlay update to the overlay of any arbitrary window.
glutPostWindowRedisplay
Similar to glutPostRedisplay(), except that instead of affecting the
glutPushWindow
This function requests that the
glutRemoveMenuItem
Walks the list of the menu items and deletes the numbered
glutRemoveOverlay
Removes the overlay associated with the
glutReportErrors
Displays as an OpenGLUT warning every OpenGL error that OpenGL remembers giving to us and which we have not processed. Uses gluErrorString(). This is forcibly...
glutReshapeFunc
This registers a function with OpenGLUT, which OpenGLUT will invoke whenever the window is reshaped or resized. Your callback is only invoked when the host...
glutReshapeWindow
The glutReshapeWindow() function adjusts the width and height of the
glutSetColor
glutSetCursor() allows you to set individual color-map entries in a
glutSetCursor
Set the cursor image to be used for the current window
glutSetIconTitle
Requests that the window system change the title of the icon (or whatever) that is displayed when the
glutSetKeyRepeat
glutSetKeyRepeat() is similar to glutIgnoreKeyRepeat() but sets the behavior for OpenGLUT in general, rather than for a particular window. The options for
glutSetMenu
Set the current menu ID.
glutSetMenuData
glutSetMenuData() associates an arbitrary user data pointer,
glutSetOption
Allows you to set some general state/option variables.
glutSetupVideoResizing
This function is undocumented. This function is unimplemeneted (presently).
glutSetWindow
Select the <i>current window</i>
glutSetWindowData
This associates an arbitrary
glutSetWindowStayOnTop
Set stay on top mode for current window
glutSetWindowTitle
glutSetWindowTitle() requests that the window system change the title of the window. Normally a window system displays a title for every top-level window in the...
glutShowOverlay
Causes a previously-hidden overlay to become apparent. Applies to the
glutShowWindow
glutShowWindow() requests that the window system make the
glutSolidCone
The glutSolidCone() function draws a shaded cone with a base in the xy-plane, oriented in the positive z direction.
glutSolidCube
The glutSolidCube() function draws a solid-shaded cube with side-length given by
glutSolidCylinder
glutSolidCylinder() draws a shaded cylinder, the center of whose base is at the origin and whose axis is along the positive z axis.
glutSolidDodecahedron
This function draws a regular, solid, 12-sided polyhedron centered at the origin. The distance from the origin to the vertices is sqrt(3). The facets are...
glutSolidIcosahedron
This function draws a regular, solid 20-sided polyhedron centered at the origin. The distance from the origin to the vertices is 1.
glutSolidOctahedron
This function draws a regular, solid 8-sided polyhedron centered at the origin. The vertices are at (+/-1, 0, 0), (0, +/-1, 0), (0, 0, +/-1).
glutSolidRhombicDodecahedron
This function draws a solid-shaded dodecahedron whose facets are rhombic and whose vertices are at unit radius. No facet lies normal to any coordinate axes. The...
glutSolidSierpinskiSponge
This function recursively draws a few levels of a solid-shaded Sierpinski's Sponge. If
glutSolidSphere
The glutSolidSphere() function draws a shaded sphere centered at the origin. The surface is created from quadrangles (except for triangles as degenerate quads...
glutSolidTeapot
Draws the standard Teapot, solid shaded, using OpenGL evaluators. This is the classic "Utah Teapot" of computer graphics. The base should lie in the xy-plane...
glutSolidTetrahedron
This function draws a regular, solid 4-sided polyhedron centered at the origin. The distance from the origin to the vertices is 1.
glutSolidTorus
This function effectively wraps a cylinder with
glutSpaceballButtonFunc
This function registers a callback for a spaceball to report buttons. A spaceball has six axes of freedom (three of motion and three of orientation), plus...
glutSpaceballMotionFunc
This function registers a callback for a spaceball to report position. A spaceball has six axes of freedom (three of motion and three of orientation), plus...
glutSpaceballRotateFunc
This function registers a callback for a spaceball to report rotation. A spaceball has six axes of freedom (three of motion and three of orientation), plus...
glutSpecialFunc
Sets the Special callback for the current window
glutSpecialUpFunc
This function provides a way to detect the release of a keyboard
glutStopVideoResizing
This function is undocumented. This function is unimplemeneted (presently).
glutStrokeCharacter
Draw a stroked character.
glutStrokeHeight
This function reports the height of a font, given by
glutStrokeLength
This function reports the sum of the widths of the characters in a
glutStrokeString
Draw a string of stroked characters.
glutStrokeWidth
This function reports how far the model space origin will advance if you putput this
glutSwapBuffers
This function signals to OpenGLUT that you are done drawing to the
glutTabletButtonFunc
This function registers a
glutTabletMotionFunc
This function registers a
glutTimerFunc
Sets the Timer callback for the current window.
glutUseLayer
By default, OpenGLUT operates in "normal" mode, with respect to layers. If you have a layer open and wish to operate on the layer, you must use glutUseLayer().
glutVideoPan
This function is undocumented. This function is unimplemeneted (presently). Appears to be for moving the video display about (panning) in a much larger graphic...
glutVideoResize
This function is undocumented. This function is unimplemeneted (presently). This function appears to allow setting the video display rectangle to a...
glutVideoResizeGet
This function is undocumented. This function is unimplemeneted (presently). From GLUT 3.7's implementation, the following is a list of symbols that GLUT 3.7...
glutVisibilityFunc
OpenGLUT may call this function when your window's visbility status has changed.
glutWarpPointer
glutWarpPointer() moves the mouse pointer to window-relative coordinates given by
glutWindowStatusFunc
When the visibility status of your window changes, OpenGLUT either invokes the
glutWireCone
The glutWireCone() function draws a wireframe cone with a base in the xy plane oriented in positive z.
glutWireCube
The glutWireCube() function draws an axis-aligned wireframe cube with a specified width, height and depth. The vertices of the cube are at (+/-
glutWireCylinder
glutWireCylinder() draws a wireframe of a cylinder, the center of whose base is at the origin, and whose axis parallels the z axis.
glutWireDodecahedron
This function draws a regular, wireframe 12-sided polyhedron centered at the origin. The distance from the origin to the vertices is sqrt(3). The facets are...
glutWireIcosahedron
This function draws a regular, solid 20-sided polyhedron centered at the origin. The distance from the origin to the vertices is 1. No facet is normal to any of...
glutWireOctahedron
This function draws a regular wireframe 8-sided polyhedron centered at the origin. The vertices are at (+/-1, 0, 0), (0, +/-1, 0), (0, 0, +/-1).
glutWireRhombicDodecahedron
This function draws a wireframe dodecahedron whose facets are rhombic and whose vertices are at unit radius. No facet lies normal to any coordinate axes. The...
glutWireSierpinskiSponge
This function recursively draws a few levels of Sierpinski's Sponge in wireframe. If
glutWireSphere
The glutWireSphere() function draws a wireframe sphere centered at the origin. The "equatorial" great circle lies in the xy-plane.
glutWireTeapot
This function draws the standard Teapot in wireframe using OpenGL evaluators. This is the classic "Utah Teapot" of computer graphics. The base should lie in the...
glutWireTetrahedron
This function draws a regular, wireframe 4-sided polyhedron centered at the origin. The distance from the origin to the vertices is 1.
glutWireTorus
This function effectively wraps a cylinder with
glutWMCloseFunc
Window destruction callback.