Top Description Fields Constructors Methods
org.lwjgl.util.glu

public Class GLU

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, .FloatBuffer, .IntBuffer, org.lwjgl.opengl.Util, org.lwjgl.util.glu.tessellation.GLUtessellatorImpl

GLU.java Created 23-dec-2003
Author
Erik Duijs

Field Summary

Modifier and TypeField and Description
public static final int
GLU_AUTO_LOAD_MATRIX

NURBS constants

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final boolean
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
GLU_SMOOTH

Quadric constants

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final double
GLU_TESS_MAX_COORD

Tesselation constants

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final boolean
public static final int
public static final int
public static final int
public static final int
public static final int
pack-priv static final float
public static final double

Constructor Summary

AccessConstructor and Description
public
GLU()

Method Summary

Modifier and TypeMethod and Description
public static int

Returns:

int
gluBuild2DMipmaps
(int target, int components, int width, int height, int format, int type, ByteBuffer data)

Method gluBuild2DMipmaps

public static boolean

Returns:

boolean
gluCheckExtension
(String extName, String extString)

Method gluCheckExtension.

public static String
gluErrorString(int error_code)

public static String

Returns:

String
gluGetString
(int name)

Method gluGetString.

public static void
gluLookAt(float eyex, float eyey, float eyez, float centerx, float centery, float centerz, float upx, float upy, float upz)

Method gluLookAt

public static GLUtessellator
public static void
gluOrtho2D(float left, float right, float bottom, float top)

Method gluOrtho2D

public static void
gluPerspective(float fovy, float aspect, float zNear, float zFar)

Method gluPerspective

public static void
gluPickMatrix(float x, float y, float width, float height, IntBuffer viewport)

Method gluPickMatrix

public static boolean
gluProject(float objx, float objy, float objz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer win_pos)

Method gluProject

public static int

Returns:

int
gluScaleImage
(int format, int widthIn, int heightIn, int typeIn, ByteBuffer dataIn, int widthOut, int heightOut, int typeOut, ByteBuffer dataOut)

Method gluScaleImage.

public static boolean
gluUnProject(float winx, float winy, float winz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer obj_pos)

Method gluUnproject

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GLU_AUTO_LOAD_MATRIXback to summary
public static final int GLU_AUTO_LOAD_MATRIX

NURBS constants

GLU_BEGINback to summary
public static final int GLU_BEGIN
GLU_CCWback to summary
public static final int GLU_CCW
GLU_CULLINGback to summary
public static final int GLU_CULLING
GLU_CWback to summary
public static final int GLU_CW
GLU_DISPLAY_MODEback to summary
public static final int GLU_DISPLAY_MODE
GLU_DOMAIN_DISTANCEback to summary
public static final int GLU_DOMAIN_DISTANCE
GLU_EDGE_FLAGback to summary
public static final int GLU_EDGE_FLAG
GLU_ENDback to summary
public static final int GLU_END
GLU_ERRORback to summary
public static final int GLU_ERROR
GLU_EXTENSIONSback to summary
public static final int GLU_EXTENSIONS
GLU_EXTERIORback to summary
public static final int GLU_EXTERIOR
GLU_FALSEback to summary
public static final boolean GLU_FALSE
GLU_FILLback to summary
public static final int GLU_FILL
GLU_FLATback to summary
public static final int GLU_FLAT
GLU_INCOMPATIBLE_GL_VERSIONback to summary
public static final int GLU_INCOMPATIBLE_GL_VERSION
GLU_INSIDEback to summary
public static final int GLU_INSIDE
GLU_INTERIORback to summary
public static final int GLU_INTERIOR
GLU_INVALID_ENUMback to summary
public static final int GLU_INVALID_ENUM
GLU_INVALID_VALUEback to summary
public static final int GLU_INVALID_VALUE
GLU_LINEback to summary
public static final int GLU_LINE
GLU_MAP1_TRIM_2back to summary
public static final int GLU_MAP1_TRIM_2
GLU_MAP1_TRIM_3back to summary
public static final int GLU_MAP1_TRIM_3
GLU_NONEback to summary
public static final int GLU_NONE
GLU_NURBS_ERROR1back to summary
public static final int GLU_NURBS_ERROR1
GLU_NURBS_ERROR10back to summary
public static final int GLU_NURBS_ERROR10
GLU_NURBS_ERROR11back to summary
public static final int GLU_NURBS_ERROR11
GLU_NURBS_ERROR12back to summary
public static final int GLU_NURBS_ERROR12
GLU_NURBS_ERROR13back to summary
public static final int GLU_NURBS_ERROR13
GLU_NURBS_ERROR14back to summary
public static final int GLU_NURBS_ERROR14
GLU_NURBS_ERROR15back to summary
public static final int GLU_NURBS_ERROR15
GLU_NURBS_ERROR16back to summary
public static final int GLU_NURBS_ERROR16
GLU_NURBS_ERROR17back to summary
public static final int GLU_NURBS_ERROR17
GLU_NURBS_ERROR18back to summary
public static final int GLU_NURBS_ERROR18
GLU_NURBS_ERROR19back to summary
public static final int GLU_NURBS_ERROR19
GLU_NURBS_ERROR2back to summary
public static final int GLU_NURBS_ERROR2
GLU_NURBS_ERROR20back to summary
public static final int GLU_NURBS_ERROR20
GLU_NURBS_ERROR21back to summary
public static final int GLU_NURBS_ERROR21
GLU_NURBS_ERROR22back to summary
public static final int GLU_NURBS_ERROR22
GLU_NURBS_ERROR23back to summary
public static final int GLU_NURBS_ERROR23
GLU_NURBS_ERROR24back to summary
public static final int GLU_NURBS_ERROR24
GLU_NURBS_ERROR25back to summary
public static final int GLU_NURBS_ERROR25
GLU_NURBS_ERROR26back to summary
public static final int GLU_NURBS_ERROR26
GLU_NURBS_ERROR27back to summary
public static final int GLU_NURBS_ERROR27
GLU_NURBS_ERROR28back to summary
public static final int GLU_NURBS_ERROR28
GLU_NURBS_ERROR29back to summary
public static final int GLU_NURBS_ERROR29
GLU_NURBS_ERROR3back to summary
public static final int GLU_NURBS_ERROR3
GLU_NURBS_ERROR30back to summary
public static final int GLU_NURBS_ERROR30
GLU_NURBS_ERROR31back to summary
public static final int GLU_NURBS_ERROR31
GLU_NURBS_ERROR32back to summary
public static final int GLU_NURBS_ERROR32
GLU_NURBS_ERROR33back to summary
public static final int GLU_NURBS_ERROR33
GLU_NURBS_ERROR34back to summary
public static final int GLU_NURBS_ERROR34
GLU_NURBS_ERROR35back to summary
public static final int GLU_NURBS_ERROR35
GLU_NURBS_ERROR36back to summary
public static final int GLU_NURBS_ERROR36
GLU_NURBS_ERROR37back to summary
public static final int GLU_NURBS_ERROR37
GLU_NURBS_ERROR4back to summary
public static final int GLU_NURBS_ERROR4
GLU_NURBS_ERROR5back to summary
public static final int GLU_NURBS_ERROR5
GLU_NURBS_ERROR6back to summary
public static final int GLU_NURBS_ERROR6
GLU_NURBS_ERROR7back to summary
public static final int GLU_NURBS_ERROR7
GLU_NURBS_ERROR8back to summary
public static final int GLU_NURBS_ERROR8
GLU_NURBS_ERROR9back to summary
public static final int GLU_NURBS_ERROR9
GLU_OUT_OF_MEMORYback to summary
public static final int GLU_OUT_OF_MEMORY
GLU_OUTLINE_PATCHback to summary
public static final int GLU_OUTLINE_PATCH
GLU_OUTLINE_POLYGONback to summary
public static final int GLU_OUTLINE_POLYGON
GLU_OUTSIDEback to summary
public static final int GLU_OUTSIDE
GLU_PARAMETRIC_ERRORback to summary
public static final int GLU_PARAMETRIC_ERROR
GLU_PARAMETRIC_TOLERANCEback to summary
public static final int GLU_PARAMETRIC_TOLERANCE
GLU_PATH_LENGTHback to summary
public static final int GLU_PATH_LENGTH
GLU_POINTback to summary
public static final int GLU_POINT
GLU_SAMPLING_METHODback to summary
public static final int GLU_SAMPLING_METHOD
GLU_SAMPLING_TOLERANCEback to summary
public static final int GLU_SAMPLING_TOLERANCE
GLU_SILHOUETTEback to summary
public static final int GLU_SILHOUETTE
GLU_SMOOTHback to summary
public static final int GLU_SMOOTH

Quadric constants

GLU_TESS_BEGINback to summary
public static final int GLU_TESS_BEGIN
GLU_TESS_BEGIN_DATAback to summary
public static final int GLU_TESS_BEGIN_DATA
GLU_TESS_BOUNDARY_ONLYback to summary
public static final int GLU_TESS_BOUNDARY_ONLY
GLU_TESS_COMBINEback to summary
public static final int GLU_TESS_COMBINE
GLU_TESS_COMBINE_DATAback to summary
public static final int GLU_TESS_COMBINE_DATA
GLU_TESS_COORD_TOO_LARGEback to summary
public static final int GLU_TESS_COORD_TOO_LARGE
GLU_TESS_EDGE_FLAGback to summary
public static final int GLU_TESS_EDGE_FLAG
GLU_TESS_EDGE_FLAG_DATAback to summary
public static final int GLU_TESS_EDGE_FLAG_DATA
GLU_TESS_ENDback to summary
public static final int GLU_TESS_END
GLU_TESS_END_DATAback to summary
public static final int GLU_TESS_END_DATA
GLU_TESS_ERRORback to summary
public static final int GLU_TESS_ERROR
GLU_TESS_ERROR1back to summary
public static final int GLU_TESS_ERROR1
GLU_TESS_ERROR2back to summary
public static final int GLU_TESS_ERROR2
GLU_TESS_ERROR3back to summary
public static final int GLU_TESS_ERROR3
GLU_TESS_ERROR4back to summary
public static final int GLU_TESS_ERROR4
GLU_TESS_ERROR5back to summary
public static final int GLU_TESS_ERROR5
GLU_TESS_ERROR6back to summary
public static final int GLU_TESS_ERROR6
GLU_TESS_ERROR7back to summary
public static final int GLU_TESS_ERROR7
GLU_TESS_ERROR8back to summary
public static final int GLU_TESS_ERROR8
GLU_TESS_ERROR_DATAback to summary
public static final int GLU_TESS_ERROR_DATA
GLU_TESS_MAX_COORDback to summary
public static final double GLU_TESS_MAX_COORD

Tesselation constants

GLU_TESS_MISSING_BEGIN_CONTOURback to summary
public static final int GLU_TESS_MISSING_BEGIN_CONTOUR
GLU_TESS_MISSING_BEGIN_POLYGONback to summary
public static final int GLU_TESS_MISSING_BEGIN_POLYGON
GLU_TESS_MISSING_END_CONTOURback to summary
public static final int GLU_TESS_MISSING_END_CONTOUR
GLU_TESS_MISSING_END_POLYGONback to summary
public static final int GLU_TESS_MISSING_END_POLYGON
GLU_TESS_NEED_COMBINE_CALLBACKback to summary
public static final int GLU_TESS_NEED_COMBINE_CALLBACK
GLU_TESS_TOLERANCEback to summary
public static final int GLU_TESS_TOLERANCE
GLU_TESS_VERTEXback to summary
public static final int GLU_TESS_VERTEX
GLU_TESS_VERTEX_DATAback to summary
public static final int GLU_TESS_VERTEX_DATA
GLU_TESS_WINDING_ABS_GEQ_TWOback to summary
public static final int GLU_TESS_WINDING_ABS_GEQ_TWO
GLU_TESS_WINDING_NEGATIVEback to summary
public static final int GLU_TESS_WINDING_NEGATIVE
GLU_TESS_WINDING_NONZEROback to summary
public static final int GLU_TESS_WINDING_NONZERO
GLU_TESS_WINDING_ODDback to summary
public static final int GLU_TESS_WINDING_ODD
GLU_TESS_WINDING_POSITIVEback to summary
public static final int GLU_TESS_WINDING_POSITIVE
GLU_TESS_WINDING_RULEback to summary
public static final int GLU_TESS_WINDING_RULE
GLU_TRUEback to summary
public static final boolean GLU_TRUE
GLU_U_STEPback to summary
public static final int GLU_U_STEP
GLU_UNKNOWNback to summary
public static final int GLU_UNKNOWN
GLU_V_STEPback to summary
public static final int GLU_V_STEP
GLU_VERSIONback to summary
public static final int GLU_VERSION
GLU_VERTEXback to summary
public static final int GLU_VERTEX
PIback to summary
pack-priv static final float PI
TESS_MAX_COORDback to summary
public static final double TESS_MAX_COORD

Constructor Detail

GLUback to summary
public GLU()

Method Detail

gluBuild2DMipmapsback to summary
public static int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, ByteBuffer data)

Method gluBuild2DMipmaps

Returns:int

int

gluCheckExtensionback to summary
public static boolean gluCheckExtension(String extName, String extString)

Method gluCheckExtension.

Returns:boolean

boolean

gluErrorStringback to summary
public static String gluErrorString(int error_code)
gluGetStringback to summary
public static String gluGetString(int name)

Method gluGetString.

Returns:String

String

gluLookAtback to summary
public static void gluLookAt(float eyex, float eyey, float eyez, float centerx, float centery, float centerz, float upx, float upy, float upz)

Method gluLookAt

gluNewTessback to summary
public static GLUtessellator gluNewTess()
gluOrtho2Dback to summary
public static void gluOrtho2D(float left, float right, float bottom, float top)

Method gluOrtho2D

gluPerspectiveback to summary
public static void gluPerspective(float fovy, float aspect, float zNear, float zFar)

Method gluPerspective

gluPickMatrixback to summary
public static void gluPickMatrix(float x, float y, float width, float height, IntBuffer viewport)

Method gluPickMatrix

gluProjectback to summary
public static boolean gluProject(float objx, float objy, float objz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer win_pos)

Method gluProject

gluScaleImageback to summary
public static int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, ByteBuffer dataIn, int widthOut, int heightOut, int typeOut, ByteBuffer dataOut)

Method gluScaleImage.

Returns:int

int

gluUnProjectback to summary
public static boolean gluUnProject(float winx, float winy, float winz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer obj_pos)

Method gluUnproject