|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Public Member Functions | |
| GLUgl2 () | |
| Instantiates a new OpenGL Utility Library object. More... | |
| final boolean | isFunctionAvailable (String gluFunctionName) |
| Returns true if the specified GLU core- or extension-function can be successfully used through this GLU instance. More... | |
| final void | gluOrtho2D (float left, float right, float bottom, float top) |
| final void | gluOrtho2D (double left, double right, double bottom, double top) |
| final void | gluPerspective (float fovy, float aspect, float zNear, float zFar) |
| final void | gluPerspective (double fovy, double aspect, double zNear, double zFar) |
| final void | gluLookAt (float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) |
| final void | gluLookAt (double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ) |
| final boolean | gluProject (double objX, double objY, double objZ, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double[] winPos, int winPos_offset) |
Interface to C language function: GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More... | |
| final boolean | gluProject (double objX, double objY, double objZ, DoubleBuffer model, DoubleBuffer proj, IntBuffer view, DoubleBuffer winPos) |
Interface to C language function: GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More... | |
| final boolean | gluUnProject (double winX, double winY, double winZ, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double[] objPos, int objPos_offset) |
Interface to C language function: GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More... | |
| final boolean | gluUnProject (double winX, double winY, double winZ, DoubleBuffer model, DoubleBuffer proj, IntBuffer view, DoubleBuffer objPos) |
Interface to C language function: GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More... | |
| final boolean | gluUnProject4 (double winX, double winY, double winZ, double clipW, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double nearVal, double farVal, double[] objPos, int objPos_offset) |
Interface to C language function: GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More... | |
| final boolean | gluUnProject4 (double winX, double winY, double winZ, double clipW, DoubleBuffer model, DoubleBuffer proj, IntBuffer view, double nearVal, double farVal, DoubleBuffer objPos) |
Interface to C language function: GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More... | |
| final void | gluPickMatrix (double x, double y, double delX, double delY, int[] viewport, int viewport_offset) |
| final void | gluPickMatrix (double x, double y, double delX, double delY, IntBuffer viewport) |
| final int | gluBuild1DMipmapLevels (int target, int internalFormat, int width, int format, int type, int level, int base, int max, java.nio.Buffer data) |
Interface to C language function: GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); More... | |
| final int | gluBuild1DMipmaps (int target, int internalFormat, int width, int format, int type, java.nio.Buffer data) |
Interface to C language function: GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data); More... | |
| final int | gluBuild2DMipmapLevels (int target, int internalFormat, int width, int height, int format, int type, int level, int base, int max, java.nio.Buffer data) |
Interface to C language function: GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); More... | |
| final int | gluBuild2DMipmaps (int target, int internalFormat, int width, int height, int format, int type, java.nio.Buffer data) |
Interface to C language function: GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data); More... | |
| final int | gluBuild3DMipmapLevels (int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int base, int max, java.nio.Buffer data) |
Interface to C language function: GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); More... | |
| final int | gluBuild3DMipmaps (int target, int internalFormat, int width, int height, int depth, int format, int type, java.nio.Buffer data) |
Interface to C language function: GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); More... | |
| final int | gluScaleImage (int format, int wIn, int hIn, int typeIn, java.nio.Buffer dataIn, int wOut, int hOut, int typeOut, java.nio.Buffer dataOut) |
Interface to C language function: GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut); More... | |
| final void | gluNurbsProperty (GLUnurbs r, int property, float value) |
| Sets a property on a NURBS object. More... | |
| final GLUnurbs | gluNewNurbsRenderer () |
| Creates a new GLUnurbs object. More... | |
| final void | gluBeginCurve (GLUnurbs r) |
| Begins a curve definition. More... | |
| final void | gluBeginSurface (GLUnurbs r) |
| Begins a surface definition. More... | |
| final void | gluEndSurface (GLUnurbs r) |
| Ends a surface. More... | |
| final void | gluNurbsSurface (GLUnurbs r, int sknot_count, float[] sknot, int tknot_count, float[] tknot, int s_stride, int t_stride, float[] ctlarray, int sorder, int torder, int type) |
| Makes a NURBS surface. More... | |
| final void | gluNurbsCurve (GLUnurbs r, int nknots, float[] knot, int stride, float[] ctlarray, int order, int type) |
| Make a NURBS curve. More... | |
| final void | gluEndCurve (GLUnurbs r) |
| Ends a curve definition. More... | |
Public Member Functions inherited from com.jogamp.opengl.glu.GLU | |
| boolean | isFunctionAvailable (String gluFunctionName) |
| Returns true if the specified GLU core- or extension-function can be successfully used through this GLU instance. More... | |
| GLU () | |
| final String | gluErrorString (int errorCode) |
| final boolean | gluCheckExtension (java.lang.String extName, java.lang.String extString) |
| final String | gluGetString (int name) |
| final void | gluCylinder (GLUquadric quad, double base, double top, double height, int slices, int stacks) |
| Option (throws GLException if not available in profile). More... | |
| final void | gluDeleteQuadric (GLUquadric quad) |
| Option (throws GLException if not available in profile). More... | |
| final void | gluDisk (GLUquadric quad, double inner, double outer, int slices, int loops) |
| Option (throws GLException if not available in profile). More... | |
| final GLUquadric | gluNewQuadric () |
| Option (throws GLException if not available in profile). More... | |
| final GLUquadric | gluNewQuadric (boolean useGLSL, ShaderState st) |
| final GLUquadric | gluNewQuadric (boolean useGLSL, int shaderProgram) |
| final void | gluPartialDisk (GLUquadric quad, double inner, double outer, int slices, int loops, double start, double sweep) |
| Option (throws GLException if not available in profile). More... | |
| final void | gluQuadricDrawStyle (GLUquadric quad, int draw) |
| Option (throws GLException if not available in profile). More... | |
| final void | gluQuadricNormals (GLUquadric quad, int normal) |
| Option (throws GLException if not available in profile). More... | |
| final void | gluQuadricOrientation (GLUquadric quad, int orientation) |
| Option (throws GLException if not available in profile). More... | |
| final void | gluQuadricTexture (GLUquadric quad, boolean texture) |
| Option (throws GLException if not available in profile). More... | |
| final void | gluSphere (GLUquadric quad, double radius, int slices, int stacks) |
| Option (throws GLException if not available in profile). More... | |
| void | gluOrtho2D (float left, float right, float bottom, float top) |
| void | gluPerspective (float fovy, float aspect, float zNear, float zFar) |
| void | gluLookAt (float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) |
| boolean | gluProject (float objX, float objY, float objZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] winPos, int winPos_offset) |
Interface to C language function: GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More... | |
| boolean | gluProject (float objX, float objY, float objZ, java.nio.FloatBuffer model, java.nio.FloatBuffer proj, java.nio.IntBuffer view, java.nio.FloatBuffer winPos) |
Interface to C language function: GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More... | |
| boolean | gluUnProject (float winX, float winY, float winZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] objPos, int objPos_offset) |
Interface to C language function: GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More... | |
| boolean | gluUnProject (float winX, float winY, float winZ, java.nio.FloatBuffer model, java.nio.FloatBuffer proj, java.nio.IntBuffer view, java.nio.FloatBuffer objPos) |
Interface to C language function: GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More... | |
| boolean | gluUnProject4 (float winX, float winY, float winZ, float clipW, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float nearVal, float farVal, float[] objPos, int objPos_offset) |
Interface to C language function: GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More... | |
| boolean | gluUnProject4 (float winX, float winY, float winZ, float clipW, java.nio.FloatBuffer model, java.nio.FloatBuffer proj, java.nio.IntBuffer view, float nearVal, float farVal, java.nio.FloatBuffer objPos) |
Interface to C language function: GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More... | |
| void | gluPickMatrix (float x, float y, float delX, float delY, int[] viewport, int viewport_offset) |
| void | gluPickMatrix (float x, float y, float delX, float delY, java.nio.IntBuffer viewport) |
| void | gluOrtho2D (double left, double right, double bottom, double top) |
| void | gluPerspective (double fovy, double aspect, double zNear, double zFar) |
| void | gluLookAt (double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ) |
| boolean | gluProject (double objX, double objY, double objZ, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double[] winPos, int winPos_offset) |
Interface to C language function: GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More... | |
| boolean | gluUnProject (double winX, double winY, double winZ, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double[] objPos, int objPos_offset) |
Interface to C language function: GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More... | |
| boolean | gluUnProject4 (double winX, double winY, double winZ, double clipW, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double nearVal, double farVal, double[] objPos, int objPos_offset) |
Interface to C language function: GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More... | |
| void | gluPickMatrix (double x, double y, double delX, double delY, int[] viewport, int viewport_offset) |
| void | gluPickMatrix (double x, double y, double delX, double delY, IntBuffer viewport) |
| int | gluScaleImage (int format, int widthin, int heightin, int typein, java.nio.Buffer datain, int widthout, int heightout, int typeout, java.nio.Buffer dataout) |
| Optional, throws GLException if not available in profile. More... | |
| int | gluBuild1DMipmapLevels (int target, int internalFormat, int width, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data) |
| Optional, throws GLException if not available in profile. More... | |
| int | gluBuild1DMipmaps (int target, int internalFormat, int width, int format, int type, java.nio.Buffer data) |
| Optional, throws GLException if not available in profile. More... | |
| int | gluBuild2DMipmapLevels (int target, int internalFormat, int width, int height, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data) |
| Optional, throws GLException if not available in profile. More... | |
| int | gluBuild2DMipmaps (int target, int internalFormat, int width, int height, int format, int type, java.nio.Buffer data) |
| Optional, throws GLException if not available in profile. More... | |
| int | gluBuild3DMipmapLevels (int target, int internalFormat, int width, int height, int depth, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data) |
| Optional, throws GLException if not available in profile. More... | |
| int | gluBuild3DMipmaps (int target, int internalFormat, int width, int height, int depth, int format, int type, java.nio.Buffer data) |
| Optional, throws GLException if not available in profile. More... | |
Static Public Member Functions | |
| static final GL2 | getCurrentGL2 () throws GLException |
Static Public Member Functions inherited from com.jogamp.opengl.glu.GLU | |
| static final GLU | createGLU () throws GLException |
| Instantiates a GLU implementation object in respect to the given GL profile of this thread current GL. More... | |
| static final GLU | createGLU (GL gl) throws GLException |
| Instantiates a GLU implementation object in respect to the given GL profile of the given GL. More... | |
| static final GL | getCurrentGL () throws GLException |
| static final GLUtessellator | gluNewTess () |
| static final void | gluDeleteTess (GLUtessellator tessellator) |
| static final void | gluTessProperty (GLUtessellator tessellator, int which, double value) |
| static final void | gluGetTessProperty (GLUtessellator tessellator, int which, double[] value, int value_offset) |
| static final void | gluTessNormal (GLUtessellator tessellator, double x, double y, double z) |
| static final void | gluTessCallback (GLUtessellator tessellator, int which, GLUtessellatorCallback aCallback) |
| static final void | gluTessVertex (GLUtessellator tessellator, double[] coords, int coords_offset, Object data) |
| static final void | gluTessBeginPolygon (GLUtessellator tessellator, Object data) |
| static final void | gluTessBeginContour (GLUtessellator tessellator) |
| static final void | gluTessEndContour (GLUtessellator tessellator) |
| static final void | gluTessEndPolygon (GLUtessellator tessellator) |
| static final void | gluBeginPolygon (GLUtessellator tessellator) |
| static final void | gluNextContour (GLUtessellator tessellator, int type) |
| static final void | gluEndPolygon (GLUtessellator tessellator) |
Additional Inherited Members | |
Static Public Attributes inherited from com.jogamp.opengl.glu.GLU | |
| static final int | GLU_FALSE = 0 |
| static final int | GLU_TRUE = 1 |
| static final int | GLU_VERSION = 100800 |
| static final int | GLU_EXTENSIONS = 100801 |
| static final String | versionString = "1.3" |
| static final String | extensionString |
| static final int | GLU_INVALID_ENUM = 100900 |
| static final int | GLU_INVALID_VALUE = 100901 |
| static final int | GLU_OUT_OF_MEMORY = 100902 |
| static final int | GLU_INVALID_OPERATION = 100904 |
| static final int | GLU_POINT = 100010 |
| static final int | GLU_LINE = 100011 |
| static final int | GLU_FILL = 100012 |
| static final int | GLU_SILHOUETTE = 100013 |
| static final int | GLU_SMOOTH = 100000 |
| static final int | GLU_FLAT = 100001 |
| static final int | GLU_NONE = 100002 |
| static final int | GLU_OUTSIDE = 100020 |
| static final int | GLU_INSIDE = 100021 |
| static final int | GLU_ERROR = 100103 |
| static final int | GLU_TESS_BEGIN = 100100 |
| static final int | GLU_BEGIN = 100100 |
| static final int | GLU_TESS_VERTEX = 100101 |
| static final int | GLU_VERTEX = 100101 |
| static final int | GLU_TESS_END = 100102 |
| static final int | GLU_END = 100102 |
| static final int | GLU_TESS_ERROR = 100103 |
| static final int | GLU_TESS_EDGE_FLAG = 100104 |
| static final int | GLU_EDGE_FLAG = 100104 |
| static final int | GLU_TESS_COMBINE = 100105 |
| static final int | GLU_TESS_BEGIN_DATA = 100106 |
| static final int | GLU_TESS_VERTEX_DATA = 100107 |
| static final int | GLU_TESS_END_DATA = 100108 |
| static final int | GLU_TESS_ERROR_DATA = 100109 |
| static final int | GLU_TESS_EDGE_FLAG_DATA = 100110 |
| static final int | GLU_TESS_COMBINE_DATA = 100111 |
| static final int | GLU_CW = 100120 |
| static final int | GLU_CCW = 100121 |
| static final int | GLU_INTERIOR = 100122 |
| static final int | GLU_EXTERIOR = 100123 |
| static final int | GLU_UNKNOWN = 100124 |
| static final int | GLU_TESS_WINDING_RULE = 100140 |
| static final int | GLU_TESS_BOUNDARY_ONLY = 100141 |
| static final int | GLU_TESS_TOLERANCE = 100142 |
| static final int | GLU_TESS_AVOID_DEGENERATE_TRIANGLES = 100149 |
| static final int | GLU_TESS_ERROR1 = 100151 |
| static final int | GLU_TESS_ERROR2 = 100152 |
| static final int | GLU_TESS_ERROR3 = 100153 |
| static final int | GLU_TESS_ERROR4 = 100154 |
| static final int | GLU_TESS_ERROR5 = 100155 |
| static final int | GLU_TESS_ERROR6 = 100156 |
| static final int | GLU_TESS_ERROR7 = 100157 |
| static final int | GLU_TESS_ERROR8 = 100158 |
| static final int | GLU_TESS_MISSING_BEGIN_POLYGON = 100151 |
| static final int | GLU_TESS_MISSING_BEGIN_CONTOUR = 100152 |
| static final int | GLU_TESS_MISSING_END_POLYGON = 100153 |
| static final int | GLU_TESS_MISSING_END_CONTOUR = 100154 |
| static final int | GLU_TESS_COORD_TOO_LARGE = 100155 |
| static final int | GLU_TESS_NEED_COMBINE_CALLBACK = 100156 |
| static final int | GLU_TESS_WINDING_ODD = 100130 |
| static final int | GLU_TESS_WINDING_NONZERO = 100131 |
| static final int | GLU_TESS_WINDING_POSITIVE = 100132 |
| static final int | GLU_TESS_WINDING_NEGATIVE = 100133 |
| static final int | GLU_TESS_WINDING_ABS_GEQ_TWO = 100134 |
| static final double | GLU_TESS_MAX_COORD = 1.0e150 |
Static Protected Member Functions inherited from com.jogamp.opengl.glu.GLU | |
| static final void | validateGLUtessellatorImpl () |
| static final void | validateGLUquadricImpl () |
| Optional, throws GLException if not available in profile. More... | |
Static Protected Attributes inherited from com.jogamp.opengl.glu.GLU | |
| static boolean | availableGLUtessellatorImpl = false |
| static boolean | checkedGLUtessellatorImpl = false |
| static boolean | availableGLUquadricImpl = false |
| static boolean | checkedGLUquadricImpl = false |
| static volatile Object | syncObject = new Object() |
Definition at line 33 of file GLUgl2.java.
| com.jogamp.opengl.glu.gl2.GLUgl2.GLUgl2 | ( | ) |
Instantiates a new OpenGL Utility Library object.
A GLU object may be instantiated at any point in the application and is not inherently tied to any particular OpenGL context; however, the GLU object may only be used when an OpenGL context is current on the current thread. Attempts to call most of the methods in the GLU library when no OpenGL context is current will cause an exception to be thrown.
The returned GLU object is not guaranteed to be thread-safe and should only be used from one thread at a time. Multiple GLU objects may be instantiated to be used from different threads simultaneously.
Definition at line 186 of file GLUgl2.java.
|
static |
Definition at line 195 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluBeginCurve | ( | GLUnurbs | r | ) |
Begins a curve definition.
| r | GLUnurbs object to specify curve to |
Definition at line 577 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluBeginSurface | ( | GLUnurbs | r | ) |
Begins a surface definition.
| r | GLUnurbs object to specify surface to |
Definition at line 588 of file GLUgl2.java.
| final int com.jogamp.opengl.glu.gl2.GLUgl2.gluBuild1DMipmapLevels | ( | int | target, |
| int | internalFormat, | ||
| int | width, | ||
| int | format, | ||
| int | type, | ||
| int | level, | ||
| int | base, | ||
| int | max, | ||
| java.nio.Buffer | data | ||
| ) |
Interface to C language function:
GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 471 of file GLUgl2.java.
| final int com.jogamp.opengl.glu.gl2.GLUgl2.gluBuild1DMipmaps | ( | int | target, |
| int | internalFormat, | ||
| int | width, | ||
| int | format, | ||
| int | type, | ||
| java.nio.Buffer | data | ||
| ) |
Interface to C language function:
GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data);
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 480 of file GLUgl2.java.
| final int com.jogamp.opengl.glu.gl2.GLUgl2.gluBuild2DMipmapLevels | ( | int | target, |
| int | internalFormat, | ||
| int | width, | ||
| int | height, | ||
| int | format, | ||
| int | type, | ||
| int | level, | ||
| int | base, | ||
| int | max, | ||
| java.nio.Buffer | data | ||
| ) |
Interface to C language function:
GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 489 of file GLUgl2.java.
| final int com.jogamp.opengl.glu.gl2.GLUgl2.gluBuild2DMipmaps | ( | int | target, |
| int | internalFormat, | ||
| int | width, | ||
| int | height, | ||
| int | format, | ||
| int | type, | ||
| java.nio.Buffer | data | ||
| ) |
Interface to C language function:
GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data);
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 499 of file GLUgl2.java.
| final int com.jogamp.opengl.glu.gl2.GLUgl2.gluBuild3DMipmapLevels | ( | int | target, |
| int | internalFormat, | ||
| int | width, | ||
| int | height, | ||
| int | depth, | ||
| int | format, | ||
| int | type, | ||
| int | level, | ||
| int | base, | ||
| int | max, | ||
| java.nio.Buffer | data | ||
| ) |
Interface to C language function:
GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 509 of file GLUgl2.java.
| final int com.jogamp.opengl.glu.gl2.GLUgl2.gluBuild3DMipmaps | ( | int | target, |
| int | internalFormat, | ||
| int | width, | ||
| int | height, | ||
| int | depth, | ||
| int | format, | ||
| int | type, | ||
| java.nio.Buffer | data | ||
| ) |
Interface to C language function:
GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data);
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 518 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluEndCurve | ( | GLUnurbs | r | ) |
Ends a curve definition.
| r | GLUnurbs object holding the curve |
Definition at line 674 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluEndSurface | ( | GLUnurbs | r | ) |
Ends a surface.
| r | GLUnurbs object holding surface |
Definition at line 599 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluLookAt | ( | double | eyeX, |
| double | eyeY, | ||
| double | eyeZ, | ||
| double | centerX, | ||
| double | centerY, | ||
| double | centerZ, | ||
| double | upX, | ||
| double | upY, | ||
| double | upZ | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 303 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluLookAt | ( | float | eyeX, |
| float | eyeY, | ||
| float | eyeZ, | ||
| float | centerX, | ||
| float | centerY, | ||
| float | centerZ, | ||
| float | upX, | ||
| float | upY, | ||
| float | upZ | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 299 of file GLUgl2.java.
| final GLUnurbs com.jogamp.opengl.glu.gl2.GLUgl2.gluNewNurbsRenderer | ( | ) |
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluNurbsCurve | ( | GLUnurbs | r, |
| int | nknots, | ||
| float[] | knot, | ||
| int | stride, | ||
| float[] | ctlarray, | ||
| int | order, | ||
| int | type | ||
| ) |
Make a NURBS curve.
| r | GLUnurbs object holding the curve |
| nknots | number of knots |
| knot | knot vector |
| stride | number of control point coordinates |
| ctlarray | control points |
| order | order of the curve |
| type | curve type |
Definition at line 656 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluNurbsProperty | ( | GLUnurbs | r, |
| int | property, | ||
| float | value | ||
| ) |
Sets a property on a NURBS object.
(NOTE: this function is not currently implemented.)
| r | GLUnurbs object holding NURBS to which a property should be set |
| property | property id |
| value | property value |
Definition at line 551 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluNurbsSurface | ( | GLUnurbs | r, |
| int | sknot_count, | ||
| float[] | sknot, | ||
| int | tknot_count, | ||
| float[] | tknot, | ||
| int | s_stride, | ||
| int | t_stride, | ||
| float[] | ctlarray, | ||
| int | sorder, | ||
| int | torder, | ||
| int | type | ||
| ) |
Makes a NURBS surface.
| r | GLUnurbs object holding the surface |
| sknot_count | number of knots in s direction |
| sknot | knots in s direction |
| tknot_count | number of knots in t direction |
| tknot | knots in t direction |
| s_stride | number of control points coordinates in s direction |
| t_stride | number of control points coordinates in t direction |
| ctlarray | control points |
| sorder | order of surface in s direction |
| torder | order of surface in t direction |
| type | surface type |
Definition at line 630 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluOrtho2D | ( | double | left, |
| double | right, | ||
| double | bottom, | ||
| double | top | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 287 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluOrtho2D | ( | float | left, |
| float | right, | ||
| float | bottom, | ||
| float | top | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 282 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluPerspective | ( | double | fovy, |
| double | aspect, | ||
| double | zNear, | ||
| double | zFar | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 295 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluPerspective | ( | float | fovy, |
| float | aspect, | ||
| float | zNear, | ||
| float | zFar | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 291 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluPickMatrix | ( | double | x, |
| double | y, | ||
| double | delX, | ||
| double | delY, | ||
| int[] | viewport, | ||
| int | viewport_offset | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 349 of file GLUgl2.java.
| final void com.jogamp.opengl.glu.gl2.GLUgl2.gluPickMatrix | ( | double | x, |
| double | y, | ||
| double | delX, | ||
| double | delY, | ||
| IntBuffer | viewport | ||
| ) |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 353 of file GLUgl2.java.
| final boolean com.jogamp.opengl.glu.gl2.GLUgl2.gluProject | ( | double | objX, |
| double | objY, | ||
| double | objZ, | ||
| double[] | model, | ||
| int | model_offset, | ||
| double[] | proj, | ||
| int | proj_offset, | ||
| int[] | view, | ||
| int | view_offset, | ||
| double[] | winPos, | ||
| int | winPos_offset | ||
| ) |
Interface to C language function:
GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ);
Accepts the outgoing window coordinates as a single array.
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 310 of file GLUgl2.java.
| final boolean com.jogamp.opengl.glu.gl2.GLUgl2.gluProject | ( | double | objX, |
| double | objY, | ||
| double | objZ, | ||
| DoubleBuffer | model, | ||
| DoubleBuffer | proj, | ||
| IntBuffer | view, | ||
| DoubleBuffer | winPos | ||
| ) |
Interface to C language function:
GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ);
Accepts the outgoing window coordinates as a single buffer.
Definition at line 317 of file GLUgl2.java.
| final int com.jogamp.opengl.glu.gl2.GLUgl2.gluScaleImage | ( | int | format, |
| int | wIn, | ||
| int | hIn, | ||
| int | typeIn, | ||
| java.nio.Buffer | dataIn, | ||
| int | wOut, | ||
| int | hOut, | ||
| int | typeOut, | ||
| java.nio.Buffer | dataOut | ||
| ) |
Interface to C language function:
GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut);
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 528 of file GLUgl2.java.
| final boolean com.jogamp.opengl.glu.gl2.GLUgl2.gluUnProject | ( | double | winX, |
| double | winY, | ||
| double | winZ, | ||
| double[] | model, | ||
| int | model_offset, | ||
| double[] | proj, | ||
| int | proj_offset, | ||
| int[] | view, | ||
| int | view_offset, | ||
| double[] | objPos, | ||
| int | objPos_offset | ||
| ) |
Interface to C language function:
GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ);
Accepts the outgoing object coordinates (a 3-vector) as a single array.
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 324 of file GLUgl2.java.
| final boolean com.jogamp.opengl.glu.gl2.GLUgl2.gluUnProject | ( | double | winX, |
| double | winY, | ||
| double | winZ, | ||
| DoubleBuffer | model, | ||
| DoubleBuffer | proj, | ||
| IntBuffer | view, | ||
| DoubleBuffer | objPos | ||
| ) |
Interface to C language function:
GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ);
Accepts the outgoing object coordinates (a 3-vector) as a single buffer.
Definition at line 331 of file GLUgl2.java.
| final boolean com.jogamp.opengl.glu.gl2.GLUgl2.gluUnProject4 | ( | double | winX, |
| double | winY, | ||
| double | winZ, | ||
| double | clipW, | ||
| double[] | model, | ||
| int | model_offset, | ||
| double[] | proj, | ||
| int | proj_offset, | ||
| int[] | view, | ||
| int | view_offset, | ||
| double | nearVal, | ||
| double | farVal, | ||
| double[] | objPos, | ||
| int | objPos_offset | ||
| ) |
Interface to C language function:
GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW);
Accepts the outgoing object coordinates (a 4-vector) as a single array.
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 338 of file GLUgl2.java.
| final boolean com.jogamp.opengl.glu.gl2.GLUgl2.gluUnProject4 | ( | double | winX, |
| double | winY, | ||
| double | winZ, | ||
| double | clipW, | ||
| DoubleBuffer | model, | ||
| DoubleBuffer | proj, | ||
| IntBuffer | view, | ||
| double | nearVal, | ||
| double | farVal, | ||
| DoubleBuffer | objPos | ||
| ) |
Interface to C language function:
GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW);
Accepts the outgoing object coordinates (a 4-vector) as a single buffer.
Definition at line 345 of file GLUgl2.java.
| final boolean com.jogamp.opengl.glu.gl2.GLUgl2.isFunctionAvailable | ( | String | gluFunctionName | ) |
Returns true if the specified GLU core- or extension-function can be successfully used through this GLU instance.
By "successfully" we mean that the function is both callable on the machine running the program and available on the current display.
A GLU function is callable if it is a GLU core- or extension-function that is supported by the underlying GLU implementation. The function is available if the OpenGL implementation on the display meets the requirements of the GLU function being called (because GLU functions utilize OpenGL functions).
Whether or not a GLU function is callable is determined as follows:
If the function is a GLU core function (i.e., not an extension), gluGetString(GLU_VERSION) is used to determine the version number of the underlying GLU implementation on the host. then the function name is cross-referenced with that specification to see if it is part of that version's specification.
gluGetString(GLU_EXTENSIONS) to see if the function is one of the extensions that is supported by the underlying GLU implementation. Whether or not a GLU function is available is determined as follows:
If the function is a GLU core function then the function is first cross-referenced with the GLU specifications to find the minimum GLU version required to call that GLU function. Then the following table is consulted to determine the minimum GL version required for that version of GLU:
Finally, glGetString(GL_VERSION) is used to determine the highest OpenGL version that both host and display support, and from that it is possible to determine if the GL facilities required by the GLU function are available on the display.
gluGetString(GLU_EXTENSIONS) to see if the function is one of the extensions that is supported by the underlying GLU implementation. NOTE:The availability of a function may change at runtime in response to changes in the display environment. For example, when a window is dragged from one display to another on a multi-display system, or when the properties of the display device are modified (e.g., changing the color depth of the display). Any application that is concerned with handling these situations correctly should confirm availability after a display change before calling a questionable OpenGL function. To detect a change in the display device, please see GLEventListener#displayChanged(GLAutoDrawable,boolean,boolean).
| gluFunctionName | the name of the OpenGL function (e.g., use "gluNurbsCallbackDataEXT" to check if the gluNurbsCallbackDataEXT(GLUnurbs, GLvoid) extension is available). |
Reimplemented from com.jogamp.opengl.glu.GLU.
Definition at line 267 of file GLUgl2.java.