|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Subset of the routines provided by the GLUT interface. More...
Public Member Functions | |
| void | glutWireSphere (final double radius, final int slices, final int stacks) |
| void | glutSolidSphere (final double radius, final int slices, final int stacks) |
| void | glutWireCone (final double base, final double height, final int slices, final int stacks) |
| void | glutSolidCone (final double base, final double height, final int slices, final int stacks) |
| void | glutWireCylinder (final double radius, final double height, final int slices, final int stacks) |
| void | glutSolidCylinder (final double radius, final double height, final int slices, final int stacks) |
| void | glutWireCube (final float size) |
| void | glutSolidCube (final float size) |
| void | glutWireTorus (final double innerRadius, final double outerRadius, final int nsides, final int rings) |
| void | glutSolidTorus (final double innerRadius, final double outerRadius, final int nsides, final int rings) |
| void | glutWireDodecahedron () |
| void | glutSolidDodecahedron () |
| void | glutWireOctahedron () |
| void | glutSolidOctahedron () |
| void | glutWireIcosahedron () |
| void | glutSolidIcosahedron () |
| void | glutWireTetrahedron () |
| void | glutSolidTetrahedron () |
| void | glutSolidTeapot (final double scale) |
| Renders the teapot as a solid shape of the specified size. More... | |
| void | glutSolidTeapot (final double scale, final boolean cStyle) |
| Renders the teapot as a solid shape of the specified size. More... | |
| void | glutWireTeapot (final double scale) |
| Renders the teapot as a wireframe shape of the specified size. More... | |
| void | glutWireTeapot (final double scale, final boolean cStyle) |
| Renders the teapot as a wireframe shape of the specified size. More... | |
| void | glutBitmapCharacter (final int font, final char character) |
| void | glutBitmapString (final int font, final String string) |
| int | glutBitmapWidth (final int font, final char character) |
| void | glutStrokeCharacter (final int font, final char character) |
| void | glutStrokeString (final int font, final String string) |
| int | glutStrokeWidth (final int font, final char character) |
| float | glutStrokeWidthf (final int font, final char character) |
| int | glutBitmapLength (final int font, final String string) |
| int | glutStrokeLength (final int font, final String string) |
| float | glutStrokeLengthf (final int font, final String string) |
| void | glutWireRhombicDodecahedron () |
| This function draws a wireframe dodecahedron whose facets are rhombic and whose vertices are at unit radius. More... | |
| void | glutSolidRhombicDodecahedron () |
| This function draws a solid-shaded dodecahedron whose facets are rhombic and whose vertices are at unit radius. More... | |
Static Public Attributes | |
| static final int | STROKE_ROMAN = 0 |
| static final int | STROKE_MONO_ROMAN = 1 |
| static final int | BITMAP_9_BY_15 = 2 |
| static final int | BITMAP_8_BY_13 = 3 |
| static final int | BITMAP_TIMES_ROMAN_10 = 4 |
| static final int | BITMAP_TIMES_ROMAN_24 = 5 |
| static final int | BITMAP_HELVETICA_10 = 6 |
| static final int | BITMAP_HELVETICA_12 = 7 |
| static final int | BITMAP_HELVETICA_18 = 8 |
Subset of the routines provided by the GLUT interface.
Note the signatures of many of the methods are necessarily different than the corresponding C version. A GLUT object must only be used from one particular thread at a time.
Copyright (c) Mark J. Kilgard, 1994, 1997.
(c) Copyright 1993, Silicon Graphics, Inc.
ALL RIGHTS RESERVED
Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice appear in supporting documentation, and that the name of Silicon Graphics, Inc. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.
THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
US Government Users Restricted Rights
Use, duplication, or disclosure by the Government is subject to restrictions set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or in similar or successor clauses in the FAR or the DOD or NASA FAR Supplement. Unpublished– rights reserved under the copyright laws of the United States. Contractor/manufacturer is Silicon Graphics, Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
OpenGL(TM) is a trademark of Silicon Graphics, Inc.
| void com.jogamp.opengl.util.gl2.GLUT.glutBitmapCharacter | ( | final int | font, |
| final char | character | ||
| ) |
| int com.jogamp.opengl.util.gl2.GLUT.glutBitmapLength | ( | final int | font, |
| final String | string | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutBitmapString | ( | final int | font, |
| final String | string | ||
| ) |
| int com.jogamp.opengl.util.gl2.GLUT.glutBitmapWidth | ( | final int | font, |
| final char | character | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidCone | ( | final double | base, |
| final double | height, | ||
| final int | slices, | ||
| final int | stacks | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidCube | ( | final float | size | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidCylinder | ( | final double | radius, |
| final double | height, | ||
| final int | slices, | ||
| final int | stacks | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidDodecahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidIcosahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidOctahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidRhombicDodecahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidSphere | ( | final double | radius, |
| final int | slices, | ||
| final int | stacks | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidTeapot | ( | final double | scale | ) |
Renders the teapot as a solid shape of the specified size.
The teapot is created in a way that replicates the C GLUT implementation.
| scale | the factor by which to scale the teapot |
Definition at line 270 of file GLUT.java.
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidTeapot | ( | final double | scale, |
| final boolean | cStyle | ||
| ) |
Renders the teapot as a solid shape of the specified size.
The teapot can either be created in a way that is backward-compatible with the standard C glut library (i.e. broken), or in a more pleasing way (i.e. with surfaces whose front-faces point outwards and standing on the z=0 plane, instead of the y=-1 plane). Both surface normals and texture coordinates for the teapot are generated. The teapot is generated with OpenGL evaluators.
| scale | the factor by which to scale the teapot |
| cStyle | whether to create the teapot in exactly the same way as in the C implementation of GLUT |
Definition at line 289 of file GLUT.java.
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidTetrahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutSolidTorus | ( | final double | innerRadius, |
| final double | outerRadius, | ||
| final int | nsides, | ||
| final int | rings | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutStrokeCharacter | ( | final int | font, |
| final char | character | ||
| ) |
| int com.jogamp.opengl.util.gl2.GLUT.glutStrokeLength | ( | final int | font, |
| final String | string | ||
| ) |
| float com.jogamp.opengl.util.gl2.GLUT.glutStrokeLengthf | ( | final int | font, |
| final String | string | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutStrokeString | ( | final int | font, |
| final String | string | ||
| ) |
| int com.jogamp.opengl.util.gl2.GLUT.glutStrokeWidth | ( | final int | font, |
| final char | character | ||
| ) |
| float com.jogamp.opengl.util.gl2.GLUT.glutStrokeWidthf | ( | final int | font, |
| final char | character | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireCone | ( | final double | base, |
| final double | height, | ||
| final int | slices, | ||
| final int | stacks | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireCube | ( | final float | size | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireCylinder | ( | final double | radius, |
| final double | height, | ||
| final int | slices, | ||
| final int | stacks | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireDodecahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireIcosahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireOctahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireRhombicDodecahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireSphere | ( | final double | radius, |
| final int | slices, | ||
| final int | stacks | ||
| ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireTeapot | ( | final double | scale | ) |
Renders the teapot as a wireframe shape of the specified size.
The teapot is created in a way that replicates the C GLUT implementation.
| scale | the factor by which to scale the teapot |
Definition at line 300 of file GLUT.java.
| void com.jogamp.opengl.util.gl2.GLUT.glutWireTeapot | ( | final double | scale, |
| final boolean | cStyle | ||
| ) |
Renders the teapot as a wireframe shape of the specified size.
The teapot can either be created in a way that is backward-compatible with the standard C glut library (i.e. broken), or in a more pleasing way (i.e. with surfaces whose front-faces point outwards and standing on the z=0 plane, instead of the y=-1 plane). Both surface normals and texture coordinates for the teapot are generated. The teapot is generated with OpenGL evaluators.
| scale | the factor by which to scale the teapot |
| cStyle | whether to create the teapot in exactly the same way as in the C implementation of GLUT |
Definition at line 319 of file GLUT.java.
| void com.jogamp.opengl.util.gl2.GLUT.glutWireTetrahedron | ( | ) |
| void com.jogamp.opengl.util.gl2.GLUT.glutWireTorus | ( | final double | innerRadius, |
| final double | outerRadius, | ||
| final int | nsides, | ||
| final int | rings | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |