All Packages  This Package  Class Hierarchy  Class Search  Index

Interface com.hermetica.magician.GLU

  Summary

public interface  GLU
     extends com.hermetica.magician.GLUConstants
{
          // Fields 3
     public static final int SUMMARY;
     public static final int VERBOSE;
     public static final String VERSION;

          // Methods 124
     public abstract void beginCurve(GLUNurbs) throws OpenGLException;
     public abstract void beginPolygon(GLUTesselator);
     public abstract void beginSurface(GLUNurbs) throws OpenGLException;
     public abstract void beginTrim(GLUNurbs) throws OpenGLException;
     public abstract int build1DMipmaps(int, int, int, int, int, byte[]) throws OpenGLException;
     public abstract int build1DMipmaps(int, int, int, int, int, float[]) throws OpenGLException;
     public abstract int build1DMipmaps(int, int, int, int, int, int[]) throws OpenGLException;
     public abstract int build1DMipmaps(int, int, int, int, int, short[]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, byte[]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, byte[][][]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, float[]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, float[][][]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, int[]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, int[][][]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, short[]) throws OpenGLException;
     public abstract int build2DMipmaps(int, int, int, int, int, int, short[][][]) throws OpenGLException;
     public abstract void cylinder(GLUQuadric, double, double, double, int, int) throws OpenGLException;
     public abstract void deleteNurbsRenderer(GLUNurbs) throws OpenGLException;
     public abstract void deleteQuadric(GLUQuadric) throws OpenGLException;
     public abstract void deleteTess(GLUTesselator);
     public abstract void disk(GLUQuadric, double, double, int, int) throws OpenGLException;
     public abstract void endCurve(GLUNurbs) throws OpenGLException;
     public abstract void endPolygon(GLUTesselator);
     public abstract void endSurface(GLUNurbs) throws OpenGLException;
     public abstract void endTrim(GLUNurbs) throws OpenGLException;
     public abstract String errorString(int) throws OpenGLException;
     public abstract int getMode();
     public abstract float getNurbsProperty(GLUNurbs, int) throws OpenGLException;
     public abstract GLU getParent();
     public abstract String getString(int) throws OpenGLException;
     public abstract double getTessProperty(GLUTesselator, int);
     public abstract void gluBeginCurve(GLUNurbs) throws OpenGLException;
     public abstract void gluBeginPolygon(GLUTesselator);
     public abstract void gluBeginSurface(GLUNurbs) throws OpenGLException;
     public abstract void gluBeginTrim(GLUNurbs) throws OpenGLException;
     public abstract int gluBuild1DMipmaps(int, int, int, int, int, byte[]) throws OpenGLException;
     public abstract int gluBuild1DMipmaps(int, int, int, int, int, float[]) throws OpenGLException;
     public abstract int gluBuild1DMipmaps(int, int, int, int, int, int[]) throws OpenGLException;
     public abstract int gluBuild1DMipmaps(int, int, int, int, int, short[]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, byte[]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, byte[][][]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, float[]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, float[][][]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, int[]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, int[][][]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, short[]) throws OpenGLException;
     public abstract int gluBuild2DMipmaps(int, int, int, int, int, int, short[][][]) throws OpenGLException;
     public abstract void gluCylinder(GLUQuadric, double, double, double, int, int) throws OpenGLException;
     public abstract void gluDeleteNurbsRenderer(GLUNurbs) throws OpenGLException;
     public abstract void gluDeleteQuadric(GLUQuadric) throws OpenGLException;
     public abstract void gluDeleteTess(GLUTesselator);
     public abstract void gluDisk(GLUQuadric, double, double, int, int) throws OpenGLException;
     public abstract void gluEndCurve(GLUNurbs) throws OpenGLException;
     public abstract void gluEndPolygon(GLUTesselator);
     public abstract void gluEndSurface(GLUNurbs) throws OpenGLException;
     public abstract void gluEndTrim(GLUNurbs) throws OpenGLException;
     public abstract String gluErrorString(int) throws OpenGLException;
     public abstract float gluGetNurbsProperty(GLUNurbs, int) throws OpenGLException;
     public abstract String gluGetString(int) throws OpenGLException;
     public abstract double gluGetTessProperty(GLUTesselator, int);
     public abstract void gluLoadSamplingMatrices(GLUNurbs, float[], float[], int[]) throws OpenGLException;
     public abstract void gluLookAt(double, double, double, double, double, double, double, double, double) throws OpenGLException;
     public abstract GLUNurbs gluNewNurbsRenderer() throws OpenGLException;
     public abstract GLUQuadric gluNewQuadric() throws OpenGLException;
     public abstract GLUTesselator gluNewTess();
     public abstract void gluNextContour(GLUTesselator, int);
     public abstract void gluNurbsCurve(GLUNurbs, int, float[], int, float[][], int, int) throws OpenGLException;
     public abstract void gluNurbsProperty(GLUNurbs, int, float) throws OpenGLException;
     public abstract void gluNurbsSurface(GLUNurbs, int, float[], int, float[], int, int, float[][][], int, int, int) throws OpenGLException;
     public abstract void gluOrtho2D(double, double, double, double) throws OpenGLException;
     public abstract void gluPartialDisk(GLUQuadric, double, double, int, int, double, double) throws OpenGLException;
     public abstract void gluPerspective(double, double, double, double) throws OpenGLException;
     public abstract void gluPickMatrix(double, double, double, double, int[]) throws OpenGLException;
     public abstract int gluProject(double, double, double, double[], double[], int[], double[]) throws OpenGLException;
     public abstract void gluPwlCurve(GLUNurbs, int, float[][], int, int) throws OpenGLException;
     public abstract void gluQuadricDrawStyle(GLUQuadric, int) throws OpenGLException;
     public abstract void gluQuadricNormals(GLUQuadric, int) throws OpenGLException;
     public abstract void gluQuadricOrientation(GLUQuadric, int) throws OpenGLException;
     public abstract void gluQuadricTexture(GLUQuadric, boolean) throws OpenGLException;
     public abstract int gluScaleImage(int, int, int, int, byte[], int, int, int, byte[]) throws OpenGLException;
     public abstract void gluSphere(GLUQuadric, double, int, int) throws OpenGLException;
     public abstract void gluTessBeginContour(GLUTesselator);
     public abstract void gluTessBeginPolygon(GLUTesselator, float[]);
     public abstract void gluTessEndContour(GLUTesselator);
     public abstract void gluTessEndPolygon(GLUTesselator);
     public abstract void gluTessNormal(GLUTesselator, double, double, double);
     public abstract void gluTessProperty(GLUTesselator, int, double);
     public abstract void gluTessVertex(GLUTesselator, double[], double[]);
     public abstract void gluTessVertex(GLUTesselator, double[], float[]);
     public abstract void gluTessVertex(GLUTesselator, double[], int[]);
     public abstract int gluUnProject(double, double, double, double[], double[], int[], double[]) throws OpenGLException;
     public abstract void loadSamplingMatrices(GLUNurbs, float[], float[], int[]) throws OpenGLException;
     public abstract void lookAt(double, double, double, double, double, double, double, double, double) throws OpenGLException;
     public abstract GLUNurbs newNurbsRenderer() throws OpenGLException;
     public abstract GLUQuadric newQuadric() throws OpenGLException;
     public abstract GLUTesselator newTess();
     public abstract void nextContour(GLUTesselator, int);
     public abstract void nurbsCurve(GLUNurbs, int, float[], int, float[][], int, int) throws OpenGLException;
     public abstract void nurbsProperty(GLUNurbs, int, float) throws OpenGLException;
     public abstract void nurbsSurface(GLUNurbs, int, float[], int, float[], int, int, float[][][], int, int, int) throws OpenGLException;
     public abstract void ortho2D(double, double, double, double) throws OpenGLException;
     public abstract void partialDisk(GLUQuadric, double, double, int, int, double, double) throws OpenGLException;
     public abstract void perspective(double, double, double, double) throws OpenGLException;
     public abstract void pickMatrix(double, double, double, double, int[]) throws OpenGLException;
     public abstract int project(double, double, double, double[], double[], int[], double[]) throws OpenGLException;
     public abstract void pwlCurve(GLUNurbs, int, float[][], int, int) throws OpenGLException;
     public abstract void quadricDrawStyle(GLUQuadric, int) throws OpenGLException;
     public abstract void quadricNormals(GLUQuadric, int) throws OpenGLException;
     public abstract void quadricOrientation(GLUQuadric, int) throws OpenGLException;
     public abstract void quadricTexture(GLUQuadric, boolean) throws OpenGLException;
     public abstract int scaleImage(int, int, int, int, byte[], int, int, int, byte[]) throws OpenGLException;
     public abstract void setMode(int);
     public abstract void setParent(GLU);
     public abstract void sphere(GLUQuadric, double, int, int) throws OpenGLException;
     public abstract void tessBeginContour(GLUTesselator);
     public abstract void tessBeginPolygon(GLUTesselator, float[]);
     public abstract void tessEndContour(GLUTesselator);
     public abstract void tessEndPolygon(GLUTesselator);
     public abstract void tessNormal(GLUTesselator, double, double, double);
     public abstract void tessProperty(GLUTesselator, int, double);
     public abstract void tessVertex(GLUTesselator, double[], double[]);
     public abstract void tessVertex(GLUTesselator, double[], float[]);
     public abstract void tessVertex(GLUTesselator, double[], int[]);
     public abstract int unProject(double, double, double, double[], double[], int[], double[]) throws OpenGLException;
}

Encapsulation of the routines supplied by the GLU ( utility ) toolkit, including high-level view frustum operations and quadric manipulation

Version:
$Id: GLU.java.stub,v 1.8 1998/10/29 21:01:51 descarte Exp descarte $
Author:
Alligator Descartes <descarte@hermetica.com>


  Cross Reference

Returned By:
CoreGLU.getParent(), ErrorGLU.getParent(), GLU.getParent(), ProfileGLU.getParent(), TemplateGLU.getParent(), TraceGLU.getParent()

Implemented By:
CoreGLU, ErrorGLU, ProfileGLU, TemplateGLU, TraceGLU





  Fields

· VERSION

Summary  |  Top
   public static final String VERSION

Version information


· VERBOSE

Summary  |  Top
   public static final int VERBOSE

Verbose operating mode for any implementations of this interface


· SUMMARY

Summary  |  Top
   public static final int SUMMARY

Summary operating mode for any implementations of this interface


  Methods

· setParent

Summary  |  Top

   public abstract void setParent(GLU parent) 

Sets the parent interface

Parameter Description
parent The parent interface



· getParent

Summary  |  Top
   public abstract GLU getParent() 

Returns the parent interface



· setMode

Summary  |  Top
   public abstract void setMode(int mode) 

Sets the operating mode for various implementations of this interface

Parameter Description
mode The new operating mode. Legal values are usually SUMMARY or VERBOSE



· getMode

Summary  |  Top
   public abstract int getMode() 

Returns the operating mode for this implementation of this interface



· gluOrtho2D

Summary  |  Top
   public abstract void gluOrtho2D(double left, 
                                   double right, 
                                   double bottom, 
                                   double top)  throws OpenGLException

Creates a matrix for projecting two-dimensional coordinates onto the screen and multiples the current projection matrix by it

Parameter Description
left The coordinates of the left clipping plane
right The coordinates of the right clipping plane
bottom The coordinates of the bottom clipping plane
top The coordinates of the top clipping plane

Throws: OpenGLException
General OpenGL error


· ortho2D

Summary  |  Top
   public abstract void ortho2D(double left, 
                                double right, 
                                double bottom, 
                                double top)  throws OpenGLException

Creates a matrix for projecting two-dimensional coordinates onto the screen and multiples the current projection matrix by it

Parameter Description
left The coordinates of the left clipping plane
right The coordinates of the right clipping plane
bottom The coordinates of the bottom clipping plane
top The coordinates of the top clipping plane

Throws: OpenGLException
General OpenGL error


· gluPerspective

Summary  |  Top
   public abstract void gluPerspective(double fovy, 
                                       double aspect, 
                                       double near, 
                                       double far)  throws OpenGLException

Creates a matrix for a symmetric perspective-view frustum and multiples the current matrix by it

Parameter Description
fovy Specifies the field of view angle, in degrees in the y-direction
aspect Specifies the aspect ratio that determines the field of view in the x direction
near Specifies the distance from the viewer of the near clipping plane
far Specifies the distance from the viewer of the far clipping plane

Throws: OpenGLException
General OpenGL error


· perspective

Summary  |  Top
   public abstract void perspective(double fovy, 
                                    double aspect, 
                                    double near, 
                                    double far)  throws OpenGLException

Creates a matrix for a symmetric perspective-view frustum and multiples the current matrix by it

Parameter Description
fovy Specifies the field of view angle, in degrees in the y-direction
aspect Specifies the aspect ratio that determines the field of view in the x direction
near Specifies the distance from the viewer of the near clipping plane
far Specifies the distance from the viewer of the far clipping plane

Throws: OpenGLException
General OpenGL error


· gluLookAt

Summary  |  Top
   public abstract void gluLookAt(double eyex, 
                                  double eyey, 
                                  double eyez, 
                                  double centerx, 
                                  double centery, 
                                  double centerz, 
                                  double upx, 
                                  double upy, 
                                  double upz)  throws OpenGLException

Defines a viewing matrix and multiples it to the right of the current matrix

Parameter Description
eyex The x-coordinate of the position of the eye point
eyey The y-coordinate of the position of the eye point
eyez The z-coordinate of the position of the eye point
centerx The x-coordinate of the position of the reference point
centery The y-coordinate of the position of the reference point
centerz The z-coordinate of the position of the reference point
upx The x component of the `up' vector
upy The y component of the `up' vector
upz The z component of the `up' vector

Throws: OpenGLException
General OpenGL error


· lookAt

Summary  |  Top
   public abstract void lookAt(double eyex, 
                               double eyey, 
                               double eyez, 
                               double centerx, 
                               double centery, 
                               double centerz, 
                               double upx, 
                               double upy, 
                               double upz)  throws OpenGLException

Defines a viewing matrix and multiples it to the right of the current matrix

Parameter Description
eyex The x-coordinate of the position of the eye point
eyey The y-coordinate of the position of the eye point
eyez The z-coordinate of the position of the eye point
centerx The x-coordinate of the position of the reference point
centery The y-coordinate of the position of the reference point
centerz The z-coordinate of the position of the reference point
upx The x component of the `up' vector
upy The y component of the `up' vector
upz The z component of the `up' vector

Throws: OpenGLException
General OpenGL error


· gluProject

Summary  |  Top
   public abstract int gluProject(double objx, 
                                  double objy, 
                                  double objz, 
                                  double[] modelMatrix, 
                                  double[] projMatrix, 
                                  int[] viewport, 
                                  double[] win)  throws OpenGLException

Map the specified 3d coordinates in object space into window coordinates ( that's 2d for all you rocket scientists! ) using transformations defined by a modelview matrix, projection matrix and viewport

Parameter Description
winx The x-coordinate of the object position
winy The y-coordinate of the object position
winz The z-coordinate of the object position
modelMatrix The current modelview matrix
projMatrix The current projection matrix
viewport The current viewport
win The computed window coordinates

Throws: OpenGLException
General OpenGL error

See Also: gluUnProject



· project

Summary  |  Top
   public abstract int project(double objx, 
                               double objy, 
                               double objz, 
                               double[] modelMatrix, 
                               double[] projMatrix, 
                               int[] viewport, 
                               double[] win)  throws OpenGLException

Map the specified 3d coordinates in object space into window coordinates ( that's 2d for all you rocket scientists! ) using transformations defined by a modelview matrix, projection matrix and viewport

Parameter Description
winx The x-coordinate of the object position
winy The y-coordinate of the object position
winz The z-coordinate of the object position
modelMatrix The current modelview matrix
projMatrix The current projection matrix
viewport The current viewport
win The computed window coordinates

Throws: OpenGLException
General OpenGL error

See Also: gluUnProject



· gluUnProject

Summary  |  Top
   public abstract int gluUnProject(double winx, 
                                    double winy, 
                                    double winz, 
                                    double[] modelMatrix, 
                                    double[] projMatrix, 
                                    int[] viewport, 
                                    double[] win)  throws OpenGLException

Maps the specified window coordinates as best as possible into object-space coordinates. To be used with care!

Parameter Description
winx The x-coordinate of the object position
winy The y-coordinate of the object position
winz The z-coordinate of the object position
modelMatrix The current modelview matrix
projMatrix The current projection matrix
viewport The current viewport
win The computed window coordinates

Throws: OpenGLException
General OpenGL error

See Also: gluProject



· unProject

Summary  |  Top
   public abstract int unProject(double winx, 
                                 double winy, 
                                 double winz, 
                                 double[] modelMatrix, 
                                 double[] projMatrix, 
                                 int[] viewport, 
                                 double[] win)  throws OpenGLException

Maps the specified window coordinates as best as possible into object-space coordinates. To be used with care!

Parameter Description
winx The x-coordinate of the object position
winy The y-coordinate of the object position
winz The z-coordinate of the object position
modelMatrix The current modelview matrix
projMatrix The current projection matrix
viewport The current viewport
win The computed window coordinates

Throws: OpenGLException
General OpenGL error

See Also: gluProject



· gluScaleImage

Summary  |  Top
   public abstract int gluScaleImage(int format, 
                                     int widthin, 
                                     int heightin, 
                                     int typein, 
                                     byte[] datain, 
                                     int widthout, 
                                     int heightout, 
                                     int typeout, 
                                     byte[] dataout)  throws OpenGLException

Scales an image by linear interpolation and box filtering.

Parameter Description
format Specifies the format of the pixel data
widthin Width of the source image to be scaled
heightin Height of the source image to be scaled
typein The data type for the source image
datain The source pixel data
widthout The width of the output image
heightout The height of the output image
typeout The data type of the output image
dataout The scaled pixel data

Throws: OpenGLException
General OpenGL error


· scaleImage

Summary  |  Top
   public abstract int scaleImage(int format, 
                                  int widthin, 
                                  int heightin, 
                                  int typein, 
                                  byte[] datain, 
                                  int widthout, 
                                  int heightout, 
                                  int typeout, 
                                  byte[] dataout)  throws OpenGLException

Scales an image by linear interpolation and box filtering.

Parameter Description
format Specifies the format of the pixel data
widthin Width of the source image to be scaled
heightin Height of the source image to be scaled
typein The data type for the source image
datain The source pixel data
widthout The width of the output image
heightout The height of the output image
typeout The data type of the output image
dataout The scaled pixel data

Throws: OpenGLException
General OpenGL error


· gluPickMatrix

Summary  |  Top
   public abstract void gluPickMatrix(double x, 
                                      double y, 
                                      double width, 
                                      double height, 
                                      int[] viewport)  throws OpenGLException

Creates a projection matrix that restricts drawing to a small region of the viewport and multiples that matrix onto the current matrix stack

Parameter Description
x The x-coordinate of the centre of the picking region
y The y-coordinate of the centre of the picking region
width The width of the picking region
height The height of the picking region
viewport The current viewport

Throws: OpenGLException
General OpenGL error


· pickMatrix

Summary  |  Top
   public abstract void pickMatrix(double x, 
                                   double y, 
                                   double width, 
                                   double height, 
                                   int[] viewport)  throws OpenGLException

Creates a projection matrix that restricts drawing to a small region of the viewport and multiples that matrix onto the current matrix stack

Parameter Description
x The x-coordinate of the centre of the picking region
y The y-coordinate of the centre of the picking region
width The width of the picking region
height The height of the picking region
viewport The current viewport

Throws: OpenGLException
General OpenGL error


· gluBuild1DMipmaps

Summary  |  Top
   public abstract int gluBuild1DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int format, 
                                         int type, 
                                         byte[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public abstract int build1DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int format, 
                                      int type, 
                                      byte[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· gluBuild1DMipmaps

Summary  |  Top
   public abstract int gluBuild1DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int format, 
                                         int type, 
                                         short[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public abstract int build1DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int format, 
                                      int type, 
                                      short[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· gluBuild1DMipmaps

Summary  |  Top
   public abstract int gluBuild1DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int format, 
                                         int type, 
                                         int[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public abstract int build1DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int format, 
                                      int type, 
                                      int[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· gluBuild1DMipmaps

Summary  |  Top
   public abstract int gluBuild1DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int format, 
                                         int type, 
                                         float[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public abstract int build1DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int format, 
                                      int type, 
                                      float[] data)  throws OpenGLException

Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory.

Parameter Description
target The target texture. Must be GL_TEXTURE_1D
components The number of colour components in the texture
width The width of the texture image
format The format of the pixel data
type The data type for the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage1D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         byte[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      byte[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         byte[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      byte[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         short[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      short[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         short[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      short[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         int[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      int[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         int[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      int[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         float[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      float[] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public abstract int gluBuild2DMipmaps(int target, 
                                         int components, 
                                         int width, 
                                         int height, 
                                         int format, 
                                         int type, 
                                         float[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public abstract int build2DMipmaps(int target, 
                                      int components, 
                                      int width, 
                                      int height, 
                                      int format, 
                                      int type, 
                                      float[][][] data)  throws OpenGLException

Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory.

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_2D
components Specifies the number of colour components
width The width of the texture image
height The height of the texture image
format The format of the pixel data
type The data type of the pixel data
data The pixel data of the texture

Throws: OpenGLException
General OpenGL error

See Also: glTexImage2D



· gluErrorString

Summary  |  Top
   public abstract String gluErrorString(int errorCode)  throws OpenGLException

Returns a descriptive, printable string pertaining to the supplied error code.

Parameter Description
errorCode The error code you wish to describe

Throws: OpenGLException
General OpenGL error

See Also: glGetError



· errorString

Summary  |  Top
   public abstract String errorString(int errorCode)  throws OpenGLException

Returns a descriptive, printable string pertaining to the supplied error code.

Parameter Description
errorCode The error code you wish to describe

Throws: OpenGLException
General OpenGL error

See Also: glGetError



· gluGetString

Summary  |  Top
   public abstract String gluGetString(int name)  throws OpenGLException

Returns information about the desired aspect of the OpenGL implementation. This method is functionally identical to glGetString()

Parameter Description
name The symbolic constant of the feature you wish to query

Throws: OpenGLException
General OpenGL error

See Also: glGetString



· getString

Summary  |  Top
   public abstract String getString(int name)  throws OpenGLException

Returns information about the desired aspect of the OpenGL implementation. This method is functionally identical to glGetString()

Parameter Description
name The symbolic constant of the feature you wish to query

Throws: OpenGLException
General OpenGL error

See Also: glGetString



· gluNewNurbsRenderer

Summary  |  Top
   public abstract GLUNurbs gluNewNurbsRenderer()  throws OpenGLException

Create a new NURBS object

Throws: OpenGLException
General OpenGL error


· newNurbsRenderer

Summary  |  Top
   public abstract GLUNurbs newNurbsRenderer()  throws OpenGLException

Create a new NURBS object

Throws: OpenGLException
General OpenGL error


· gluDeleteNurbsRenderer

Summary  |  Top
   public abstract void gluDeleteNurbsRenderer(GLUNurbs nurb)  throws OpenGLException

Destroys a NURBS object

Parameter Description
nurb The GLUNurbs object to destroy

Throws: OpenGLException
General OpenGL error


· deleteNurbsRenderer

Summary  |  Top
   public abstract void deleteNurbsRenderer(GLUNurbs nurb)  throws OpenGLException

Destroys a NURBS object

Parameter Description
nurb The GLUNurbs object to destroy

Throws: OpenGLException
General OpenGL error


· gluNurbsProperty

Summary  |  Top
   public abstract void gluNurbsProperty(GLUNurbs nurb, 
                                         int property, 
                                         float value)  throws OpenGLException

Sets a NURBS property

Parameter Description
nurb A GLUNurbs object
property The NURBS property to set
value The value to set the property to

Throws: OpenGLException
General OpenGL error


· nurbsProperty

Summary  |  Top
   public abstract void nurbsProperty(GLUNurbs nurb, 
                                      int property, 
                                      float value)  throws OpenGLException

Sets a NURBS property

Parameter Description
nurb A GLUNurbs object
property The NURBS property to set
value The value to set the property to

Throws: OpenGLException
General OpenGL error


· gluGetNurbsProperty

Summary  |  Top
   public abstract float gluGetNurbsProperty(GLUNurbs nurb, 
                                             int property)  throws OpenGLException

Queries a NURBS object for the given property value

Parameter Description
nurb A GLUNurbs object
property The property to query the value of

Throws: OpenGLException
General OpenGL error


· getNurbsProperty

Summary  |  Top
   public abstract float getNurbsProperty(GLUNurbs nurb, 
                                          int property)  throws OpenGLException

Queries a NURBS object for the given property value

Parameter Description
nurb A GLUNurbs object
property The property to query the value of

Throws: OpenGLException
General OpenGL error


· gluLoadSamplingMatrices

Summary  |  Top
   public abstract void gluLoadSamplingMatrices(GLUNurbs nurb, 
                                                float[] modelMatrix, 
                                                float[] projMatrix, 
                                                int[] viewport)  throws OpenGLException

Loads sampling matrices for NURBS manipulation

Parameter Description
nurb A GLUNurbs object
modelMatrix A modelview matrix
projMatrix A projection matrix
viewport A viewport

Throws: OpenGLException
General OpenGL error


· loadSamplingMatrices

Summary  |  Top
   public abstract void loadSamplingMatrices(GLUNurbs nurb, 
                                             float[] modelMatrix, 
                                             float[] projMatrix, 
                                             int[] viewport)  throws OpenGLException

Loads sampling matrices for NURBS manipulation

Parameter Description
nurb A GLUNurbs object
modelMatrix A modelview matrix
projMatrix A projection matrix
viewport A viewport

Throws: OpenGLException
General OpenGL error


· gluBeginSurface

Summary  |  Top
   public abstract void gluBeginSurface(GLUNurbs nurb)  throws OpenGLException

Signifies the beginning of a NURBS surface definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· beginSurface

Summary  |  Top
   public abstract void beginSurface(GLUNurbs nurb)  throws OpenGLException

Signifies the beginning of a NURBS surface definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· gluEndSurface

Summary  |  Top
   public abstract void gluEndSurface(GLUNurbs nurb)  throws OpenGLException

Signifies the end of a NURBS surface definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· endSurface

Summary  |  Top
   public abstract void endSurface(GLUNurbs nurb)  throws OpenGLException

Signifies the end of a NURBS surface definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· gluNurbsSurface

Summary  |  Top
   public abstract void gluNurbsSurface(GLUNurbs nurb, 
                                        int uknot_count, 
                                        float[] uknot, 
                                        int vknot_count, 
                                        float[] vknot, 
                                        int u_stride, 
                                        int v_stride, 
                                        float[][][] ctlarray, 
                                        int uorder, 
                                        int vorder, 
                                        int type)  throws OpenGLException

Definition of a NURBS surface

Parameter Description
nurb A GLUNurbs object
uknot_count Specifies the number of knots in the parametric u direction
uknot The knot data
vknot_count Specifies the number of knots in the parametric v direction
vknot The knot data
u_stride Specifies the offset between successive control points in the parametric u direction
v_stride Specifies the offset between successive control points in the parametric v direction
ctlarray An array of control points
uorder Specifies the order of the NURBS surface in the parametric u direction
vorder Specifies the order of the NURBS surface in the parametric v direction
type Specifies the type of the surface

Throws: OpenGLException
General OpenGL error


· nurbsSurface

Summary  |  Top
   public abstract void nurbsSurface(GLUNurbs nurb, 
                                     int uknot_count, 
                                     float[] uknot, 
                                     int vknot_count, 
                                     float[] vknot, 
                                     int u_stride, 
                                     int v_stride, 
                                     float[][][] ctlarray, 
                                     int uorder, 
                                     int vorder, 
                                     int type)  throws OpenGLException

Definition of a NURBS surface

Parameter Description
nurb A GLUNurbs object
uknot_count Specifies the number of knots in the parametric u direction
uknot The knot data
vknot_count Specifies the number of knots in the parametric v direction
vknot The knot data
u_stride Specifies the offset between successive control points in the parametric u direction
v_stride Specifies the offset between successive control points in the parametric v direction
ctlarray An array of control points
uorder Specifies the order of the NURBS surface in the parametric u direction
vorder Specifies the order of the NURBS surface in the parametric v direction
type Specifies the type of the surface

Throws: OpenGLException
General OpenGL error


· gluBeginCurve

Summary  |  Top
   public abstract void gluBeginCurve(GLUNurbs nurb)  throws OpenGLException

Signifies the beginning of a NURBS curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· beginCurve

Summary  |  Top
   public abstract void beginCurve(GLUNurbs nurb)  throws OpenGLException

Signifies the beginning of a NURBS curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· gluEndCurve

Summary  |  Top
   public abstract void gluEndCurve(GLUNurbs nurb)  throws OpenGLException

Signifies the end of a NURBS curve definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· endCurve

Summary  |  Top
   public abstract void endCurve(GLUNurbs nurb)  throws OpenGLException

Signifies the end of a NURBS curve definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· gluNurbsCurve

Summary  |  Top
   public abstract void gluNurbsCurve(GLUNurbs nurb, 
                                      int uknot_count, 
                                      float[] uknot, 
                                      int ustride, 
                                      float[][] ctlarray, 
                                      int uorder, 
                                      int type)  throws OpenGLException

Definition of a NURBS curve

Parameter Description
nurb A GLUNurbs object
uknot_count The number of knots in the curve
uknot The knot data
ustride Offset between successive control points
ctlarray The control points for the curve
uorder The order of the NURBS curve
type Specifies the type of the curve

Throws: OpenGLException
General OpenGL error


· nurbsCurve

Summary  |  Top
   public abstract void nurbsCurve(GLUNurbs nurb, 
                                   int uknot_count, 
                                   float[] uknot, 
                                   int ustride, 
                                   float[][] ctlarray, 
                                   int uorder, 
                                   int type)  throws OpenGLException

Definition of a NURBS curve

Parameter Description
nurb A GLUNurbs object
uknot_count The number of knots in the curve
uknot The knot data
ustride Offset between successive control points
ctlarray The control points for the curve
uorder The order of the NURBS curve
type Specifies the type of the curve

Throws: OpenGLException
General OpenGL error


· gluBeginTrim

Summary  |  Top
   public abstract void gluBeginTrim(GLUNurbs nurb)  throws OpenGLException

Signifies the beginning of a trim curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· beginTrim

Summary  |  Top
   public abstract void beginTrim(GLUNurbs nurb)  throws OpenGLException

Signifies the beginning of a trim curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· gluEndTrim

Summary  |  Top
   public abstract void gluEndTrim(GLUNurbs nurb)  throws OpenGLException

Signifies the end of a trim curve definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· endTrim

Summary  |  Top
   public abstract void endTrim(GLUNurbs nurb)  throws OpenGLException

Signifies the end of a trim curve definition

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error


· gluPwlCurve

Summary  |  Top
   public abstract void gluPwlCurve(GLUNurbs nurb, 
                                    int count, 
                                    float[][] array, 
                                    int stride, 
                                    int type)  throws OpenGLException

Definition of a piecewise linear curve

Parameter Description
nurb A GLUNurbs object
count The number of points on the curve
array Specifies an array containing the curve point
stride Offset between each control point
type Specifies the type of curve

Throws: OpenGLException
General OpenGL error


· pwlCurve

Summary  |  Top
   public abstract void pwlCurve(GLUNurbs nurb, 
                                 int count, 
                                 float[][] array, 
                                 int stride, 
                                 int type)  throws OpenGLException

Definition of a piecewise linear curve

Parameter Description
nurb A GLUNurbs object
count The number of points on the curve
array Specifies an array containing the curve point
stride Offset between each control point
type Specifies the type of curve

Throws: OpenGLException
General OpenGL error


· gluNewQuadric

Summary  |  Top
   public abstract GLUQuadric gluNewQuadric()  throws OpenGLException

Create a new quadric object

Throws: OpenGLException
General OpenGL error


· newQuadric

Summary  |  Top
   public abstract GLUQuadric newQuadric()  throws OpenGLException

Create a new quadric object

Throws: OpenGLException
General OpenGL error


· gluDeleteQuadric

Summary  |  Top
   public abstract void gluDeleteQuadric(GLUQuadric quadric)  throws OpenGLException

Destroys a quadric object

Parameter Description
quadric A GLUQuadric object

Throws: OpenGLException
General OpenGL error


· deleteQuadric

Summary  |  Top
   public abstract void deleteQuadric(GLUQuadric quadric)  throws OpenGLException

Destroys a quadric object

Parameter Description
quadric A GLUQuadric object

Throws: OpenGLException
General OpenGL error


· gluQuadricDrawStyle

Summary  |  Top
   public abstract void gluQuadricDrawStyle(GLUQuadric quadric, 
                                            int drawStyle)  throws OpenGLException

Sets the rendering style for the given quadric object

Parameter Description
quadric A GLUQuadric object
drawStyle Specifies the desired draw style

Throws: OpenGLException
General OpenGL error


· quadricDrawStyle

Summary  |  Top
   public abstract void quadricDrawStyle(GLUQuadric quadric, 
                                         int drawStyle)  throws OpenGLException

Sets the rendering style for the given quadric object

Parameter Description
quadric A GLUQuadric object
drawStyle Specifies the desired draw style

Throws: OpenGLException
General OpenGL error


· gluQuadricNormals

Summary  |  Top
   public abstract void gluQuadricNormals(GLUQuadric quadric, 
                                          int normalStyle)  throws OpenGLException

Sets the rules for normal generation on a given quadric object

Parameter Description
quadric A GLUQuadric object
normalStyle Specifies the desired type of normal

Throws: OpenGLException
General OpenGL error


· quadricNormals

Summary  |  Top
   public abstract void quadricNormals(GLUQuadric quadric, 
                                       int normalStyle)  throws OpenGLException

Sets the rules for normal generation on a given quadric object

Parameter Description
quadric A GLUQuadric object
normalStyle Specifies the desired type of normal

Throws: OpenGLException
General OpenGL error


· gluQuadricOrientation

Summary  |  Top
   public abstract void gluQuadricOrientation(GLUQuadric quadric, 
                                              int normalOrientation)  throws OpenGLException

Sets the orientation of normals on this quadric

Parameter Description
quadric A GLUQuadric object
normalOrientation Specifies the desired normal orientation

Throws: OpenGLException
General OpenGL error


· quadricOrientation

Summary  |  Top
   public abstract void quadricOrientation(GLUQuadric quadric, 
                                           int normalOrientation)  throws OpenGLException

Sets the orientation of normals on this quadric

Parameter Description
quadric A GLUQuadric object
normalOrientation Specifies the desired normal orientation

Throws: OpenGLException
General OpenGL error


· gluQuadricTexture

Summary  |  Top
   public abstract void gluQuadricTexture(GLUQuadric quadric, 
                                          boolean textureCoords)  throws OpenGLException

Sets the texture generation rule for the given quadric

Parameter Description
quadric A GLUQuadric object
textureCoords Specifies a flag indicating whether or not texture coordinates should be generated

Throws: OpenGLException
General OpenGL error


· quadricTexture

Summary  |  Top
   public abstract void quadricTexture(GLUQuadric quadric, 
                                       boolean textureCoords)  throws OpenGLException

Sets the texture generation rule for the given quadric

Parameter Description
quadric A GLUQuadric object
textureCoords Specifies a flag indicating whether or not texture coordinates should be generated

Throws: OpenGLException
General OpenGL error


· gluSphere

Summary  |  Top
   public abstract void gluSphere(GLUQuadric quadric, 
                                  double radius, 
                                  int slices, 
                                  int stacks)  throws OpenGLException

Creates a sphere via a Quadric object

Parameter Description
quadric A GLUQuadric object
radius The radius of the sphere
slices The number of vertical subdivisions of the sphere
stacks The number of horizontal subdivisions of the sphere

Throws: OpenGLException
General OpenGL error


· sphere

Summary  |  Top
   public abstract void sphere(GLUQuadric quadric, 
                               double radius, 
                               int slices, 
                               int stacks)  throws OpenGLException

Creates a sphere via a Quadric object

Parameter Description
quadric A GLUQuadric object
radius The radius of the sphere
slices The number of vertical subdivisions of the sphere
stacks The number of horizontal subdivisions of the sphere

Throws: OpenGLException
General OpenGL error


· gluCylinder

Summary  |  Top
   public abstract void gluCylinder(GLUQuadric quadric, 
                                    double baseRadius, 
                                    double topRadius, 
                                    double height, 
                                    int slices, 
                                    int stacks)  throws OpenGLException

Creates a cylinder via a Quadric object

Parameter Description
quadric A GLUQuadric object
baseRadius The radius of the base of the cylinder
topRadius The radius of the top of the cylinder
height The height of the cylinder
slices The number of vertical subdivisions of the cylinder
stacks The number of horizontal subdivisions of the cylinder

Throws: OpenGLException
General OpenGL error


· cylinder

Summary  |  Top
   public abstract void cylinder(GLUQuadric quadric, 
                                 double baseRadius, 
                                 double topRadius, 
                                 double height, 
                                 int slices, 
                                 int stacks)  throws OpenGLException

Creates a cylinder via a Quadric object

Parameter Description
quadric A GLUQuadric object
baseRadius The radius of the base of the cylinder
topRadius The radius of the top of the cylinder
height The height of the cylinder
slices The number of vertical subdivisions of the cylinder
stacks The number of horizontal subdivisions of the cylinder

Throws: OpenGLException
General OpenGL error


· gluDisk

Summary  |  Top
   public abstract void gluDisk(GLUQuadric quadric, 
                                double innerRadius, 
                                double outerRadius, 
                                int slices, 
                                int rings)  throws OpenGLException

Creates a disk via a Quadric object

Parameter Description
quadric A GLUQuadric object
innerRadius The inner radius of the disk
outerRadius The outer radius of the disk
slices The number of y-axis subdivions of the disk
rings The number of rings forming the disk

Throws: OpenGLException
General OpenGL error


· disk

Summary  |  Top
   public abstract void disk(GLUQuadric quadric, 
                             double innerRadius, 
                             double outerRadius, 
                             int slices, 
                             int rings)  throws OpenGLException

Creates a disk via a Quadric object

Parameter Description
quadric A GLUQuadric object
innerRadius The inner radius of the disk
outerRadius The outer radius of the disk
slices The number of y-axis subdivions of the disk
rings The number of rings forming the disk

Throws: OpenGLException
General OpenGL error


· gluPartialDisk

Summary  |  Top
   public abstract void gluPartialDisk(GLUQuadric quadric, 
                                       double innerRadius, 
                                       double outerRadius, 
                                       int slices, 
                                       int rings, 
                                       double startAngle, 
                                       double sweepAngle)  throws OpenGLException

Creates a partial disk via a Quadric object

Parameter Description
quadric A GLUQuadric object
innerRadius The inner radius of the disk
outerRadius The outer radius of the disk
slices The number of y-axis subdivions of the disk
rings The number of rings forming the disk
startAngle The angle to start forming the disk from
sweepAngle The number of degrees to sweep the disk through

Throws: OpenGLException
General OpenGL error


· partialDisk

Summary  |  Top
   public abstract void partialDisk(GLUQuadric quadric, 
                                    double innerRadius, 
                                    double outerRadius, 
                                    int slices, 
                                    int rings, 
                                    double startAngle, 
                                    double sweepAngle)  throws OpenGLException

Creates a partial disk via a Quadric object

Parameter Description
quadric A GLUQuadric object
innerRadius The inner radius of the disk
outerRadius The outer radius of the disk
slices The number of y-axis subdivions of the disk
rings The number of rings forming the disk
startAngle The angle to start forming the disk from
sweepAngle The number of degrees to sweep the disk through

Throws: OpenGLException
General OpenGL error


· gluNewTess

Summary  |  Top
   public abstract GLUTesselator gluNewTess() 

Creates an new tesselation object via the GLUTesselator class



· newTess

Summary  |  Top
   public abstract GLUTesselator newTess() 

Creates an new tesselation object via the GLUTesselator class



· gluDeleteTess

Summary  |  Top
   public abstract void gluDeleteTess(GLUTesselator tesselator) 

Destroys the given GLUTesselator object

Parameter Description
tesselator The tesselator object to destroy



· deleteTess

Summary  |  Top
   public abstract void deleteTess(GLUTesselator tesselator) 

Destroys the given GLUTesselator object

Parameter Description
tesselator The tesselator object to destroy



· gluTessProperty

Summary  |  Top
   public abstract void gluTessProperty(GLUTesselator tesselator, 
                                        int property, 
                                        double value) 

Sets the value of the given tesselation property for the given tesselation object

Parameter Description
tesselator A GLUTesselator object
property The tesselation property to set
value The new value to set the property to



· tessProperty

Summary  |  Top
   public abstract void tessProperty(GLUTesselator tesselator, 
                                     int property, 
                                     double value) 

Sets the value of the given tesselation property for the given tesselation object

Parameter Description
tesselator A GLUTesselator object
property The tesselation property to set
value The new value to set the property to



· gluGetTessProperty

Summary  |  Top
   public abstract double gluGetTessProperty(GLUTesselator tesselator, 
                                             int property) 

Returns the current value of the given tesselation property for the given tesselation object

Parameter Description
tesselator A GLUTesselator object
property The property to return the value for



· getTessProperty

Summary  |  Top
   public abstract double getTessProperty(GLUTesselator tesselator, 
                                          int property) 

Returns the current value of the given tesselation property for the given tesselation object

Parameter Description
tesselator A GLUTesselator object
property The property to return the value for



· gluTessNormal

Summary  |  Top
   public abstract void gluTessNormal(GLUTesselator tesselator, 
                                      double x, 
                                      double y, 
                                      double z) 

For the given tesselation object, define a normal vector which controls the winding direction of the generated polygons.

Parameter Description
tesselator The tesselation object
x The x-value of the normal
y The y-value of the normal
z The z-value of the normal



· tessNormal

Summary  |  Top
   public abstract void tessNormal(GLUTesselator tesselator, 
                                   double x, 
                                   double y, 
                                   double z) 

For the given tesselation object, define a normal vector which controls the winding direction of the generated polygons.

Parameter Description
tesselator The tesselation object
x The x-value of the normal
y The y-value of the normal
z The z-value of the normal



· gluTessBeginPolygon

Summary  |  Top
   public abstract void gluTessBeginPolygon(GLUTesselator tesselator, 
                                            float[] userData) 

Specifies the beginning of a polygon to be tesselated by the given tesselator object

Parameter Description
tesselator The tesselator object
userData The user data to feed to the tesselator



· tessBeginPolygon

Summary  |  Top
   public abstract void tessBeginPolygon(GLUTesselator tesselator, 
                                         float[] userData) 

Specifies the beginning of a polygon to be tesselated by the given tesselator object

Parameter Description
tesselator The tesselator object
userData The user data to feed to the tesselator



· gluTessEndPolygon

Summary  |  Top
   public abstract void gluTessEndPolygon(GLUTesselator tesselator) 

Specifies the end of a polygon description that is to be tesselated

Parameter Description
tesselator The tesselator object



· tessEndPolygon

Summary  |  Top
   public abstract void tessEndPolygon(GLUTesselator tesselator) 

Specifies the end of a polygon description that is to be tesselated

Parameter Description
tesselator The tesselator object



· gluTessBeginContour

Summary  |  Top
   public abstract void gluTessBeginContour(GLUTesselator tesselator) 

Begins the specification of a closed contour which is a portion of a polygon



· tessBeginContour

Summary  |  Top
   public abstract void tessBeginContour(GLUTesselator tesselator) 

Begins the specification of a closed contour which is a portion of a polygon



· gluTessEndContour

Summary  |  Top
   public abstract void gluTessEndContour(GLUTesselator tesselator) 

Ends the specification of a closed contour



· tessEndContour

Summary  |  Top
   public abstract void tessEndContour(GLUTesselator tesselator) 

Ends the specification of a closed contour



· gluTessVertex

Summary  |  Top
   public abstract void gluTessVertex(GLUTesselator tesselator, 
                                      double[] coords, 
                                      float[] vertexData) 

Specifies vertex data to be passed into the tesselator

Parameter Description
tesselator The tesselator object
coords The three-dimensional coordinates of the vertex
vertexData The vertex data to pass into the tesselator callback



· tessVertex

Summary  |  Top
   public abstract void tessVertex(GLUTesselator tesselator, 
                                   double[] coords, 
                                   float[] vertexData) 

Specifies vertex data to be passed into the tesselator

Parameter Description
tesselator The tesselator object
coords The three-dimensional coordinates of the vertex
vertexData The vertex data to pass into the tesselator callback



· gluTessVertex

Summary  |  Top
   public abstract void gluTessVertex(GLUTesselator tesselator, 
                                      double[] coords, 
                                      int[] vertexData) 

Specifies vertex data to be passed into the tesselator

Parameter Description
tesselator The tesselator object
coords The three-dimensional coordinates of the vertex
vertexData The vertex data to pass into the tesselator callback



· tessVertex

Summary  |  Top
   public abstract void tessVertex(GLUTesselator tesselator, 
                                   double[] coords, 
                                   int[] vertexData) 

Specifies vertex data to be passed into the tesselator

Parameter Description
tesselator The tesselator object
coords The three-dimensional coordinates of the vertex
vertexData The vertex data to pass into the tesselator callback



· gluTessVertex

Summary  |  Top
   public abstract void gluTessVertex(GLUTesselator tesselator, 
                                      double[] coords, 
                                      double[] vertexData) 

Specifies vertex data to be passed into the tesselator

Parameter Description
tesselator The tesselator object
coords The three-dimensional coordinates of the vertex
vertexData The vertex data to pass into the tesselator callback



· tessVertex

Summary  |  Top
   public abstract void tessVertex(GLUTesselator tesselator, 
                                   double[] coords, 
                                   double[] vertexData) 

Specifies vertex data to be passed into the tesselator

Parameter Description
tesselator The tesselator object
coords The three-dimensional coordinates of the vertex
vertexData The vertex data to pass into the tesselator callback



· gluBeginPolygon

Summary  |  Top
   public abstract void gluBeginPolygon(GLUTesselator tesselator) 

Specifies the beginning of a polygon definition



· beginPolygon

Summary  |  Top
   public abstract void beginPolygon(GLUTesselator tesselator) 

Specifies the beginning of a polygon definition



· gluEndPolygon

Summary  |  Top
   public abstract void gluEndPolygon(GLUTesselator tesselator) 

Specifies the end of a polygon definition



· endPolygon

Summary  |  Top
   public abstract void endPolygon(GLUTesselator tesselator) 

Specifies the end of a polygon definition



· gluNextContour

Summary  |  Top
   public abstract void gluNextContour(GLUTesselator tesselator, 
                                       int type) 

Specifies a hint to the tesselator as to how to optimize tesselation

Parameter Description
tesselator The tesselator object
type Tesselation hint



· nextContour

Summary  |  Top
   public abstract void nextContour(GLUTesselator tesselator, 
                                    int type) 

Specifies a hint to the tesselator as to how to optimize tesselation

Parameter Description
tesselator The tesselator object
type Tesselation hint



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7