All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.hermetica.magician.TraceGLU
java.lang.Object
   |
   +----com.hermetica.magician.TraceGLU

  Summary

public class  TraceGLU
     extends java.lang.Object
     implements com.hermetica.magician.GLU
{
          // Fields 1
     public static final String VERSION;

          // Constructors 1
     public TraceGLU(GLU);

          // Methods 124
     public final void beginCurve(GLUNurbs) throws OpenGLException;
     public void beginPolygon(GLUTesselator);
     public final void beginSurface(GLUNurbs) throws OpenGLException;
     public final void beginTrim(GLUNurbs) throws OpenGLException;
     public final int build1DMipmaps(int, int, int, int, int, byte[]) throws OpenGLException;
     public final int build1DMipmaps(int, int, int, int, int, float[]) throws OpenGLException;
     public final int build1DMipmaps(int, int, int, int, int, int[]) throws OpenGLException;
     public final int build1DMipmaps(int, int, int, int, int, short[]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, byte[][][]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, float[]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, float[][][]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, int[]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, int[][][]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, short[]) throws OpenGLException;
     public final int build2DMipmaps(int, int, int, int, int, int, short[][][]) throws OpenGLException;
     public final void cylinder(GLUQuadric, double, double, double, int, int) throws OpenGLException;
     public final void deleteNurbsRenderer(GLUNurbs) throws OpenGLException;
     public final void deleteQuadric(GLUQuadric) throws OpenGLException;
     public void deleteTess(GLUTesselator);
     public final void disk(GLUQuadric, double, double, int, int) throws OpenGLException;
     public final void endCurve(GLUNurbs) throws OpenGLException;
     public void endPolygon(GLUTesselator);
     public final void endSurface(GLUNurbs) throws OpenGLException;
     public final void endTrim(GLUNurbs) throws OpenGLException;
     public final String errorString(int) throws OpenGLException;
     public int getMode();
     public final float getNurbsProperty(GLUNurbs, int) throws OpenGLException;
     public GLU getParent();
     public final String getString(int) throws OpenGLException;
     public double getTessProperty(GLUTesselator, int);
     public final void gluBeginCurve(GLUNurbs) throws OpenGLException;
     public void gluBeginPolygon(GLUTesselator);
     public final void gluBeginSurface(GLUNurbs) throws OpenGLException;
     public final void gluBeginTrim(GLUNurbs) throws OpenGLException;
     public final int gluBuild1DMipmaps(int, int, int, int, int, byte[]) throws OpenGLException;
     public final int gluBuild1DMipmaps(int, int, int, int, int, float[]) throws OpenGLException;
     public final int gluBuild1DMipmaps(int, int, int, int, int, int[]) throws OpenGLException;
     public final int gluBuild1DMipmaps(int, int, int, int, int, short[]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, byte[][][]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, float[]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, float[][][]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, int[]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, int[][][]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, short[]) throws OpenGLException;
     public final int gluBuild2DMipmaps(int, int, int, int, int, int, short[][][]) throws OpenGLException;
     public final void gluCylinder(GLUQuadric, double, double, double, int, int) throws OpenGLException;
     public final void gluDeleteNurbsRenderer(GLUNurbs) throws OpenGLException;
     public final void gluDeleteQuadric(GLUQuadric) throws OpenGLException;
     public void gluDeleteTess(GLUTesselator);
     public final void gluDisk(GLUQuadric, double, double, int, int) throws OpenGLException;
     public final void gluEndCurve(GLUNurbs) throws OpenGLException;
     public void gluEndPolygon(GLUTesselator);
     public final void gluEndSurface(GLUNurbs) throws OpenGLException;
     public final void gluEndTrim(GLUNurbs) throws OpenGLException;
     public final String gluErrorString(int) throws OpenGLException;
     public final float gluGetNurbsProperty(GLUNurbs, int) throws OpenGLException;
     public final String gluGetString(int) throws OpenGLException;
     public double gluGetTessProperty(GLUTesselator, int);
     public final void gluLoadSamplingMatrices(GLUNurbs, float[], float[], int[]) throws OpenGLException;
     public final void gluLookAt(double, double, double, double, double, double, double, double, double) throws OpenGLException;
     public final GLUNurbs gluNewNurbsRenderer() throws OpenGLException;
     public final GLUQuadric gluNewQuadric() throws OpenGLException;
     public GLUTesselator gluNewTess();
     public void gluNextContour(GLUTesselator, int);
     public final void gluNurbsCurve(GLUNurbs, int, float[], int, float[][], int, int) throws OpenGLException;
     public final void gluNurbsProperty(GLUNurbs, int, float) throws OpenGLException;
     public final void gluNurbsSurface(GLUNurbs, int, float[], int, float[], int, int, float[][][], int, int, int) throws OpenGLException;
     public final void gluOrtho2D(double, double, double, double) throws OpenGLException;
     public final void gluPartialDisk(GLUQuadric, double, double, int, int, double, double) throws OpenGLException;
     public final void gluPerspective(double, double, double, double) throws OpenGLException;
     public final void gluPickMatrix(double, double, double, double, int[]) throws OpenGLException;
     public final int gluProject(double, double, double, double[], double[], int[], double[]) throws OpenGLException;
     public final void gluPwlCurve(GLUNurbs, int, float[][], int, int) throws OpenGLException;
     public final void gluQuadricDrawStyle(GLUQuadric, int) throws OpenGLException;
     public final void gluQuadricNormals(GLUQuadric, int) throws OpenGLException;
     public final void gluQuadricOrientation(GLUQuadric, int) throws OpenGLException;
     public final void gluQuadricTexture(GLUQuadric, boolean) throws OpenGLException;
     public final int gluScaleImage(int, int, int, int, byte[], int, int, int, byte[]) throws OpenGLException;
     public final void gluSphere(GLUQuadric, double, int, int) throws OpenGLException;
     public void gluTessBeginContour(GLUTesselator);
     public void gluTessBeginPolygon(GLUTesselator, float[]);
     public void gluTessEndContour(GLUTesselator);
     public void gluTessEndPolygon(GLUTesselator);
     public void gluTessNormal(GLUTesselator, double, double, double);
     public void gluTessProperty(GLUTesselator, int, double);
     public void gluTessVertex(GLUTesselator, double[], double[]);
     public void gluTessVertex(GLUTesselator, double[], float[]);
     public void gluTessVertex(GLUTesselator, double[], int[]);
     public final int gluUnProject(double, double, double, double[], double[], int[], double[]) throws OpenGLException;
     public final void loadSamplingMatrices(GLUNurbs, float[], float[], int[]) throws OpenGLException;
     public final void lookAt(double, double, double, double, double, double, double, double, double) throws OpenGLException;
     public final GLUNurbs newNurbsRenderer() throws OpenGLException;
     public final GLUQuadric newQuadric() throws OpenGLException;
     public GLUTesselator newTess();
     public void nextContour(GLUTesselator, int);
     public final void nurbsCurve(GLUNurbs, int, float[], int, float[][], int, int) throws OpenGLException;
     public final void nurbsProperty(GLUNurbs, int, float) throws OpenGLException;
     public final void nurbsSurface(GLUNurbs, int, float[], int, float[], int, int, float[][][], int, int, int) throws OpenGLException;
     public final void ortho2D(double, double, double, double) throws OpenGLException;
     public final void partialDisk(GLUQuadric, double, double, int, int, double, double) throws OpenGLException;
     public final void perspective(double, double, double, double) throws OpenGLException;
     public final void pickMatrix(double, double, double, double, int[]) throws OpenGLException;
     public final int project(double, double, double, double[], double[], int[], double[]) throws OpenGLException;
     public final void pwlCurve(GLUNurbs, int, float[][], int, int) throws OpenGLException;
     public final void quadricDrawStyle(GLUQuadric, int) throws OpenGLException;
     public final void quadricNormals(GLUQuadric, int) throws OpenGLException;
     public final void quadricOrientation(GLUQuadric, int) throws OpenGLException;
     public final void quadricTexture(GLUQuadric, boolean) throws OpenGLException;
     public final int scaleImage(int, int, int, int, byte[], int, int, int, byte[]) throws OpenGLException;
     public void setMode(int);
     public final void setParent(GLU);
     public final void sphere(GLUQuadric, double, int, int) throws OpenGLException;
     public void tessBeginContour(GLUTesselator);
     public void tessBeginPolygon(GLUTesselator, float[]);
     public void tessEndContour(GLUTesselator);
     public void tessEndPolygon(GLUTesselator);
     public void tessNormal(GLUTesselator, double, double, double);
     public void tessProperty(GLUTesselator, int, double);
     public void tessVertex(GLUTesselator, double[], double[]);
     public void tessVertex(GLUTesselator, double[], float[]);
     public void tessVertex(GLUTesselator, double[], int[]);
     public final 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: TraceGLU.java.stub,v 1.10 1998/10/01 16:43:26 descarte Exp descarte $
Author:
Alligator Descartes <descarte@hermetica.com>




  Fields

· VERSION

Summary  |  Top

   public static final String VERSION

Version information


  Constructors

· TraceGLU

Summary  |  Top

   public TraceGLU(GLU parent) 

Constructs a new TraceGLU pipeline with the given pipeline as a parent in the execution stack.

Parameter Description
parent The parent pipeline object



  Methods

· setParent

Summary  |  Top
   public final void setParent(GLU parent) 

Sets the parent interface. This must be an instantiation of GLU

Parameter Description
parent The parent interface

Implements:
setParent in interface GLU


· getParent

Summary  |  Top
   public GLU getParent() 

Returns the parent interface

Implements:
getParent in interface GLU


· setMode

Summary  |  Top
   public void setMode(int mode) 

Sets the operating mode for this interface

Parameter Description
mode The new operating mode

Implements:
setMode in interface GLU


· getMode

Summary  |  Top
   public int getMode() 

Returns the operating mode for this interface

Implements:
getMode in interface GLU


· gluOrtho2D

Summary  |  Top
   public final 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
Implements:
gluOrtho2D in interface GLU


· ortho2D

Summary  |  Top
   public final 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
Implements:
ortho2D in interface GLU


· gluPerspective

Summary  |  Top
   public final 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
Implements:
gluPerspective in interface GLU


· perspective

Summary  |  Top
   public final 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
Implements:
perspective in interface GLU


· gluLookAt

Summary  |  Top
   public final 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
Implements:
gluLookAt in interface GLU


· lookAt

Summary  |  Top
   public final 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
Implements:
lookAt in interface GLU


· gluProject

Summary  |  Top
   public final 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
Implements:
gluProject in interface GLU

See Also: gluUnProject



· project

Summary  |  Top
   public final 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
Implements:
project in interface GLU

See Also: gluUnProject



· gluUnProject

Summary  |  Top
   public final 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
Implements:
gluUnProject in interface GLU

See Also: gluProject



· unProject

Summary  |  Top
   public final 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
Implements:
unProject in interface GLU

See Also: gluProject



· gluScaleImage

Summary  |  Top
   public final 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
Implements:
gluScaleImage in interface GLU


· scaleImage

Summary  |  Top
   public final 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
Implements:
scaleImage in interface GLU


· gluPickMatrix

Summary  |  Top
   public final 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
Implements:
gluPickMatrix in interface GLU


· pickMatrix

Summary  |  Top
   public final 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
Implements:
pickMatrix in interface GLU


· gluBuild1DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild1DMipmaps in interface GLU

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public final 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
Implements:
build1DMipmaps in interface GLU

See Also: glTexImage1D



· gluBuild1DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild1DMipmaps in interface GLU

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public final 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
Implements:
build1DMipmaps in interface GLU

See Also: glTexImage1D



· gluBuild1DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild1DMipmaps in interface GLU

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public final 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
Implements:
build1DMipmaps in interface GLU

See Also: glTexImage1D



· gluBuild1DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild1DMipmaps in interface GLU

See Also: glTexImage1D



· build1DMipmaps

Summary  |  Top
   public final 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
Implements:
build1DMipmaps in interface GLU

See Also: glTexImage1D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluBuild2DMipmaps

Summary  |  Top
   public final 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
Implements:
gluBuild2DMipmaps in interface GLU

See Also: glTexImage2D



· build2DMipmaps

Summary  |  Top
   public final 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
Implements:
build2DMipmaps in interface GLU

See Also: glTexImage2D



· gluErrorString

Summary  |  Top
   public final 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
Implements:
gluErrorString in interface GLU

See Also: glGetError



· errorString

Summary  |  Top
   public final 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
Implements:
errorString in interface GLU

See Also: glGetError



· gluGetString

Summary  |  Top
   public final 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
Implements:
gluGetString in interface GLU

See Also: glGetString



· getString

Summary  |  Top
   public final 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
Implements:
getString in interface GLU

See Also: glGetString



· gluNewNurbsRenderer

Summary  |  Top
   public final GLUNurbs gluNewNurbsRenderer()  throws OpenGLException

Create a new NURBS object

Throws: OpenGLException
General OpenGL error
Implements:
gluNewNurbsRenderer in interface GLU


· newNurbsRenderer

Summary  |  Top
   public final GLUNurbs newNurbsRenderer()  throws OpenGLException

Create a new NURBS object

Throws: OpenGLException
General OpenGL error
Implements:
newNurbsRenderer in interface GLU


· gluDeleteNurbsRenderer

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

Destroys a NURBS object

Parameter Description
nurb The GLUNurbs object to destroy

Throws: OpenGLException
General OpenGL error
Implements:
gluDeleteNurbsRenderer in interface GLU


· deleteNurbsRenderer

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

Destroys a NURBS object

Parameter Description
nurb The GLUNurbs object to destroy

Throws: OpenGLException
General OpenGL error
Implements:
deleteNurbsRenderer in interface GLU


· gluNurbsProperty

Summary  |  Top
   public final 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
Implements:
gluNurbsProperty in interface GLU


· nurbsProperty

Summary  |  Top
   public final 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
Implements:
nurbsProperty in interface GLU


· gluGetNurbsProperty

Summary  |  Top
   public final 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
Implements:
gluGetNurbsProperty in interface GLU


· getNurbsProperty

Summary  |  Top
   public final 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
Implements:
getNurbsProperty in interface GLU


· gluLoadSamplingMatrices

Summary  |  Top
   public final 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
Implements:
gluLoadSamplingMatrices in interface GLU


· loadSamplingMatrices

Summary  |  Top
   public final 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
Implements:
loadSamplingMatrices in interface GLU


· gluBeginSurface

Summary  |  Top
   public final 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
Implements:
gluBeginSurface in interface GLU


· beginSurface

Summary  |  Top
   public final 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
Implements:
beginSurface in interface GLU


· gluEndSurface

Summary  |  Top
   public final 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
Implements:
gluEndSurface in interface GLU


· endSurface

Summary  |  Top
   public final 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
Implements:
endSurface in interface GLU


· gluNurbsSurface

Summary  |  Top
   public final 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
Implements:
gluNurbsSurface in interface GLU


· nurbsSurface

Summary  |  Top
   public final 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
Implements:
nurbsSurface in interface GLU


· gluBeginCurve

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

Signifies the beginning of a NURBS curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error
Implements:
gluBeginCurve in interface GLU


· beginCurve

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

Signifies the beginning of a NURBS curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error
Implements:
beginCurve in interface GLU


· gluEndCurve

Summary  |  Top
   public final 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
Implements:
gluEndCurve in interface GLU


· endCurve

Summary  |  Top
   public final 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
Implements:
endCurve in interface GLU


· gluNurbsCurve

Summary  |  Top
   public final 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
Implements:
gluNurbsCurve in interface GLU


· nurbsCurve

Summary  |  Top
   public final 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
Implements:
nurbsCurve in interface GLU


· gluBeginTrim

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

Signifies the beginning of a trim curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error
Implements:
gluBeginTrim in interface GLU


· beginTrim

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

Signifies the beginning of a trim curve

Parameter Description
nurb A GLUNurbs object

Throws: OpenGLException
General OpenGL error
Implements:
beginTrim in interface GLU


· gluEndTrim

Summary  |  Top
   public final 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
Implements:
gluEndTrim in interface GLU


· endTrim

Summary  |  Top
   public final 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
Implements:
endTrim in interface GLU


· gluPwlCurve

Summary  |  Top
   public final 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
Implements:
gluPwlCurve in interface GLU


· pwlCurve

Summary  |  Top
   public final 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
Implements:
pwlCurve in interface GLU


· gluNewQuadric

Summary  |  Top
   public final GLUQuadric gluNewQuadric()  throws OpenGLException

Create a new quadric object

Throws: OpenGLException
General OpenGL error
Implements:
gluNewQuadric in interface GLU


· newQuadric

Summary  |  Top
   public final GLUQuadric newQuadric()  throws OpenGLException

Create a new quadric object

Throws: OpenGLException
General OpenGL error
Implements:
newQuadric in interface GLU


· gluDeleteQuadric

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

Destroys a quadric object

Parameter Description
quadric A GLUQuadric object

Throws: OpenGLException
General OpenGL error
Implements:
gluDeleteQuadric in interface GLU


· deleteQuadric

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

Destroys a quadric object

Parameter Description
quadric A GLUQuadric object

Throws: OpenGLException
General OpenGL error
Implements:
deleteQuadric in interface GLU


· gluQuadricDrawStyle

Summary  |  Top
   public final 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
Implements:
gluQuadricDrawStyle in interface GLU


· quadricDrawStyle

Summary  |  Top
   public final 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
Implements:
quadricDrawStyle in interface GLU


· gluQuadricNormals

Summary  |  Top
   public final 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
Implements:
gluQuadricNormals in interface GLU


· quadricNormals

Summary  |  Top
   public final 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
Implements:
quadricNormals in interface GLU


· gluQuadricOrientation

Summary  |  Top
   public final 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
Implements:
gluQuadricOrientation in interface GLU


· quadricOrientation

Summary  |  Top
   public final 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
Implements:
quadricOrientation in interface GLU


· gluQuadricTexture

Summary  |  Top
   public final 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
Implements:
gluQuadricTexture in interface GLU


· quadricTexture

Summary  |  Top
   public final 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
Implements:
quadricTexture in interface GLU


· gluSphere

Summary  |  Top
   public final 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
Implements:
gluSphere in interface GLU


· sphere

Summary  |  Top
   public final 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
Implements:
sphere in interface GLU


· gluCylinder

Summary  |  Top
   public final 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
Implements:
gluCylinder in interface GLU


· cylinder

Summary  |  Top
   public final 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
Implements:
cylinder in interface GLU


· gluDisk

Summary  |  Top
   public final 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
Implements:
gluDisk in interface GLU


· disk

Summary  |  Top
   public final 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
Implements:
disk in interface GLU


· gluPartialDisk

Summary  |  Top
   public final 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
Implements:
gluPartialDisk in interface GLU


· partialDisk

Summary  |  Top
   public final 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
Implements:
partialDisk in interface GLU


· gluNewTess

Summary  |  Top
   public GLUTesselator gluNewTess() 

Creates an new tesselation object via the GLUTesselator class

Implements:
gluNewTess in interface GLU


· newTess

Summary  |  Top
   public GLUTesselator newTess() 

Creates an new tesselation object via the GLUTesselator class

Implements:
newTess in interface GLU


· gluDeleteTess

Summary  |  Top
   public void gluDeleteTess(GLUTesselator tesselator) 

Destroys the given GLUTesselator object

Parameter Description
tesselator The tesselator object to destroy

Implements:
gluDeleteTess in interface GLU


· deleteTess

Summary  |  Top
   public void deleteTess(GLUTesselator tesselator) 

Destroys the given GLUTesselator object

Parameter Description
tesselator The tesselator object to destroy

Implements:
deleteTess in interface GLU


· gluTessProperty

Summary  |  Top
   public 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

Implements:
gluTessProperty in interface GLU


· tessProperty

Summary  |  Top
   public 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

Implements:
tessProperty in interface GLU


· gluGetTessProperty

Summary  |  Top
   public 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

Implements:
gluGetTessProperty in interface GLU


· getTessProperty

Summary  |  Top
   public 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

Implements:
getTessProperty in interface GLU


· gluTessNormal

Summary  |  Top
   public 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

Implements:
gluTessNormal in interface GLU


· tessNormal

Summary  |  Top
   public 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

Implements:
tessNormal in interface GLU


· gluTessBeginPolygon

Summary  |  Top
   public 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

Implements:
gluTessBeginPolygon in interface GLU


· tessBeginPolygon

Summary  |  Top
   public 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

Implements:
tessBeginPolygon in interface GLU


· gluTessEndPolygon

Summary  |  Top
   public void gluTessEndPolygon(GLUTesselator tesselator) 

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

Parameter Description
tesselator The tesselator object

Implements:
gluTessEndPolygon in interface GLU


· tessEndPolygon

Summary  |  Top
   public void tessEndPolygon(GLUTesselator tesselator) 

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

Parameter Description
tesselator The tesselator object

Implements:
tessEndPolygon in interface GLU


· gluTessBeginContour

Summary  |  Top
   public void gluTessBeginContour(GLUTesselator tesselator) 

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

Implements:
gluTessBeginContour in interface GLU


· tessBeginContour

Summary  |  Top
   public void tessBeginContour(GLUTesselator tesselator) 

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

Implements:
tessBeginContour in interface GLU


· gluTessEndContour

Summary  |  Top
   public void gluTessEndContour(GLUTesselator tesselator) 

Ends the specification of a closed contour

Implements:
gluTessEndContour in interface GLU


· tessEndContour

Summary  |  Top
   public void tessEndContour(GLUTesselator tesselator) 

Ends the specification of a closed contour

Implements:
tessEndContour in interface GLU


· gluTessVertex

Summary  |  Top
   public 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

Implements:
gluTessVertex in interface GLU


· tessVertex

Summary  |  Top
   public 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

Implements:
tessVertex in interface GLU


· gluTessVertex

Summary  |  Top
   public 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

Implements:
gluTessVertex in interface GLU


· tessVertex

Summary  |  Top
   public 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

Implements:
tessVertex in interface GLU


· gluTessVertex

Summary  |  Top
   public 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

Implements:
gluTessVertex in interface GLU


· tessVertex

Summary  |  Top
   public 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

Implements:
tessVertex in interface GLU


· gluBeginPolygon

Summary  |  Top
   public void gluBeginPolygon(GLUTesselator tesselator) 

Specifies the beginning of a polygon definition

Implements:
gluBeginPolygon in interface GLU


· beginPolygon

Summary  |  Top
   public void beginPolygon(GLUTesselator tesselator) 

Specifies the beginning of a polygon definition

Implements:
beginPolygon in interface GLU


· gluEndPolygon

Summary  |  Top
   public void gluEndPolygon(GLUTesselator tesselator) 

Specifies the end of a polygon definition

Implements:
gluEndPolygon in interface GLU


· endPolygon

Summary  |  Top
   public void endPolygon(GLUTesselator tesselator) 

Specifies the end of a polygon definition

Implements:
endPolygon in interface GLU


· gluNextContour

Summary  |  Top
   public 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

Implements:
gluNextContour in interface GLU


· nextContour

Summary  |  Top
   public 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

Implements:
nextContour in interface GLU


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