|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hermetica.magician.TemplateGLU
Encapsulation of the routines supplied by the GLU ( utility ) toolkit, including high-level view frustum operations and quadric manipulation
This template class is provided in source form to developers wishing to extend the basic functionality of the GLU pipeline. This class should also be used since it both implements all of the required methods for a GLU pipeline, but also provides ready-built javadoc documentation comments.
Field Summary | |
static java.lang.String |
VERSION
Version information |
Constructor Summary | |
TemplateGLU(GLU parent)
Constructs a new TemplateGLU pipeline with the given pipeline as a parent in the execution stack. |
Method Summary | |
void |
beginCurve(GLUNurbs nurb)
Signifies the beginning of a NURBS curve |
void |
beginPolygon(GLUTesselator tesselator)
Specifies the beginning of a polygon definition |
void |
beginSurface(GLUNurbs nurb)
Signifies the beginning of a NURBS surface definition |
void |
beginTrim(GLUNurbs nurb)
Signifies the beginning of a trim curve |
int |
build1DMipmaps(int target,
int components,
int width,
int format,
int type,
byte[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
build1DMipmaps(int target,
int components,
int width,
int format,
int type,
float[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
build1DMipmaps(int target,
int components,
int width,
int format,
int type,
int[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
build1DMipmaps(int target,
int components,
int width,
int format,
int type,
short[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
byte[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
byte[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
float[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
float[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
int[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
int[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
short[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
build2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
short[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
void |
cylinder(GLUQuadric quadric,
double baseRadius,
double topRadius,
double height,
int slices,
int stacks)
Creates a cylinder via a Quadric object |
void |
deleteNurbsRenderer(GLUNurbs nurb)
Destroys a NURBS object |
void |
deleteQuadric(GLUQuadric quadric)
Destroys a quadric object |
void |
deleteTess(GLUTesselator tesselator)
Destroys the given GLUTesselator object |
void |
disk(GLUQuadric quadric,
double innerRadius,
double outerRadius,
int slices,
int rings)
Creates a disk via a Quadric object |
void |
endCurve(GLUNurbs nurb)
Signifies the end of a NURBS curve definition |
void |
endPolygon(GLUTesselator tesselator)
Specifies the end of a polygon definition |
void |
endSurface(GLUNurbs nurb)
Signifies the end of a NURBS surface definition |
void |
endTrim(GLUNurbs nurb)
Signifies the end of a trim curve definition |
java.lang.String |
errorString(int errorCode)
Returns a descriptive, printable string pertaining to the supplied error code. |
int |
getMode()
Returns the operating mode for this interface |
float |
getNurbsProperty(GLUNurbs nurb,
int property)
Queries a NURBS object for the given property value |
GLU |
getParent()
Returns the parent interface |
java.lang.String |
getString(int name)
Returns information about the desired aspect of the OpenGL implementation. |
double |
getTessProperty(GLUTesselator tesselator,
int property)
Returns the current value of the given tesselation property for the given tesselation object |
void |
gluBeginCurve(GLUNurbs nurb)
Signifies the beginning of a NURBS curve |
void |
gluBeginPolygon(GLUTesselator tesselator)
Specifies the beginning of a polygon definition |
void |
gluBeginSurface(GLUNurbs nurb)
Signifies the beginning of a NURBS surface definition |
void |
gluBeginTrim(GLUNurbs nurb)
Signifies the beginning of a trim curve |
int |
gluBuild1DMipmaps(int target,
int components,
int width,
int format,
int type,
byte[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
gluBuild1DMipmaps(int target,
int components,
int width,
int format,
int type,
float[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
gluBuild1DMipmaps(int target,
int components,
int width,
int format,
int type,
int[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
gluBuild1DMipmaps(int target,
int components,
int width,
int format,
int type,
short[] data)
Constructs a series of 1-dimensional mipmaps and calls glTexImage1D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
byte[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
byte[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
float[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
float[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
int[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
int[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
short[] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
int |
gluBuild2DMipmaps(int target,
int components,
int width,
int height,
int format,
int type,
short[][][] data)
Constructs a series of 2-dimensional mipmaps and call glTexImage2D() to load the images into texture memory. |
void |
gluCylinder(GLUQuadric quadric,
double baseRadius,
double topRadius,
double height,
int slices,
int stacks)
Creates a cylinder via a Quadric object |
void |
gluDeleteNurbsRenderer(GLUNurbs nurb)
Destroys a NURBS object |
void |
gluDeleteQuadric(GLUQuadric quadric)
Destroys a quadric object |
void |
gluDeleteTess(GLUTesselator tesselator)
Destroys the given GLUTesselator object |
void |
gluDisk(GLUQuadric quadric,
double innerRadius,
double outerRadius,
int slices,
int rings)
Creates a disk via a Quadric object |
void |
gluEndCurve(GLUNurbs nurb)
Signifies the end of a NURBS curve definition |
void |
gluEndPolygon(GLUTesselator tesselator)
Specifies the end of a polygon definition |
void |
gluEndSurface(GLUNurbs nurb)
Signifies the end of a NURBS surface definition |
void |
gluEndTrim(GLUNurbs nurb)
Signifies the end of a trim curve definition |
java.lang.String |
gluErrorString(int errorCode)
Returns a descriptive, printable string pertaining to the supplied error code. |
float |
gluGetNurbsProperty(GLUNurbs nurb,
int property)
Queries a NURBS object for the given property value |
java.lang.String |
gluGetString(int name)
Returns information about the desired aspect of the OpenGL implementation. |
double |
gluGetTessProperty(GLUTesselator tesselator,
int property)
Returns the current value of the given tesselation property for the given tesselation object |
void |
gluLoadSamplingMatrices(GLUNurbs nurb,
float[] modelMatrix,
float[] projMatrix,
int[] viewport)
Loads sampling matrices for NURBS manipulation |
void |
gluLookAt(double eyex,
double eyey,
double eyez,
double centerx,
double centery,
double centerz,
double upx,
double upy,
double upz)
Defines a viewing matrix and multiples it to the right of the current matrix |
GLUNurbs |
gluNewNurbsRenderer()
Create a new NURBS object |
GLUQuadric |
gluNewQuadric()
Create a new quadric object |
GLUTesselator |
gluNewTess()
Creates an new tesselation object via the GLUTesselator class |
void |
gluNextContour(GLUTesselator tesselator,
int type)
Specifies a hint to the tesselator as to how to optimize tesselation |
void |
gluNurbsCurve(GLUNurbs nurb,
int uknot_count,
float[] uknot,
int ustride,
float[][] ctlarray,
int uorder,
int type)
Definition of a NURBS curve |
void |
gluNurbsProperty(GLUNurbs nurb,
int property,
float value)
Sets a NURBS property |
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)
Definition of a NURBS surface |
void |
gluOrtho2D(double left,
double right,
double bottom,
double top)
Creates a matrix for projecting two-dimensional coordinates onto the screen and multiples the current projection matrix by it |
void |
gluPartialDisk(GLUQuadric quadric,
double innerRadius,
double outerRadius,
int slices,
int rings,
double startAngle,
double sweepAngle)
Creates a partial disk via a Quadric object |
void |
gluPerspective(double fovy,
double aspect,
double near,
double far)
Creates a matrix for a symmetric perspective-view frustum and multiples the current matrix by it |
void |
gluPickMatrix(double x,
double y,
double width,
double height,
int[] viewport)
Creates a projection matrix that restricts drawing to a small region of the viewport and multiples that matrix onto the current matrix stack |
int |
gluProject(double objx,
double objy,
double objz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] win)
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 |
void |
gluPwlCurve(GLUNurbs nurb,
int count,
float[][] array,
int stride,
int type)
Definition of a piecewise linear curve |
void |
gluQuadricDrawStyle(GLUQuadric quadric,
int drawStyle)
Sets the rendering style for the given quadric object |
void |
gluQuadricNormals(GLUQuadric quadric,
int normalStyle)
Sets the rules for normal generation on a given quadric object |
void |
gluQuadricOrientation(GLUQuadric quadric,
int normalOrientation)
Sets the orientation of normals on this quadric |
void |
gluQuadricTexture(GLUQuadric quadric,
boolean textureCoords)
Sets the texture generation rule for the given quadric |
int |
gluScaleImage(int format,
int widthin,
int heightin,
int typein,
byte[] datain,
int widthout,
int heightout,
int typeout,
byte[] dataout)
Scales an image by linear interpolation and box filtering. |
void |
gluSphere(GLUQuadric quadric,
double radius,
int slices,
int stacks)
Creates a sphere via a Quadric object |
void |
gluTessBeginContour(GLUTesselator tesselator)
Begins the specification of a closed contour which is a portion of a polygon |
void |
gluTessBeginPolygon(GLUTesselator tesselator,
float[] userData)
Specifies the beginning of a polygon to be tesselated by the given tesselator object |
void |
gluTessEndContour(GLUTesselator tesselator)
Ends the specification of a closed contour |
void |
gluTessEndPolygon(GLUTesselator tesselator)
Specifies the end of a polygon description that is to be tesselated |
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. |
void |
gluTessProperty(GLUTesselator tesselator,
int property,
double value)
Sets the value of the given tesselation property for the given tesselation object |
void |
gluTessVertex(GLUTesselator tesselator,
double[] coords,
double[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
gluTessVertex(GLUTesselator tesselator,
double[] coords,
float[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
gluTessVertex(GLUTesselator tesselator,
double[] coords,
int[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
gluTessVertex(GLUTesselator tesselator,
float[] coords,
double[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
gluTessVertex(GLUTesselator tesselator,
float[] coords,
float[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
gluTessVertex(GLUTesselator tesselator,
float[] coords,
int[] vertexData)
Specifies vertex data to be passed into the tesselator |
int |
gluUnProject(double winx,
double winy,
double winz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] win)
Maps the specified window coordinates as best as possible into object-space coordinates. |
void |
loadSamplingMatrices(GLUNurbs nurb,
float[] modelMatrix,
float[] projMatrix,
int[] viewport)
Loads sampling matrices for NURBS manipulation |
void |
lookAt(double eyex,
double eyey,
double eyez,
double centerx,
double centery,
double centerz,
double upx,
double upy,
double upz)
Defines a viewing matrix and multiples it to the right of the current matrix |
GLUNurbs |
newNurbsRenderer()
Create a new NURBS object |
GLUQuadric |
newQuadric()
Create a new quadric object |
GLUTesselator |
newTess()
Creates an new tesselation object via the GLUTesselator class |
void |
nextContour(GLUTesselator tesselator,
int type)
Specifies a hint to the tesselator as to how to optimize tesselation |
void |
nurbsCurve(GLUNurbs nurb,
int uknot_count,
float[] uknot,
int ustride,
float[][] ctlarray,
int uorder,
int type)
Definition of a NURBS curve |
void |
nurbsProperty(GLUNurbs nurb,
int property,
float value)
Sets a NURBS property |
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)
Definition of a NURBS surface |
void |
ortho2D(double left,
double right,
double bottom,
double top)
Creates a matrix for projecting two-dimensional coordinates onto the screen and multiples the current projection matrix by it |
void |
partialDisk(GLUQuadric quadric,
double innerRadius,
double outerRadius,
int slices,
int rings,
double startAngle,
double sweepAngle)
Creates a partial disk via a Quadric object |
void |
perspective(double fovy,
double aspect,
double near,
double far)
Creates a matrix for a symmetric perspective-view frustum and multiples the current matrix by it |
void |
pickMatrix(double x,
double y,
double width,
double height,
int[] viewport)
Creates a projection matrix that restricts drawing to a small region of the viewport and multiples that matrix onto the current matrix stack |
int |
project(double objx,
double objy,
double objz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] win)
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 |
void |
pwlCurve(GLUNurbs nurb,
int count,
float[][] array,
int stride,
int type)
Definition of a piecewise linear curve |
void |
quadricDrawStyle(GLUQuadric quadric,
int drawStyle)
Sets the rendering style for the given quadric object |
void |
quadricNormals(GLUQuadric quadric,
int normalStyle)
Sets the rules for normal generation on a given quadric object |
void |
quadricOrientation(GLUQuadric quadric,
int normalOrientation)
Sets the orientation of normals on this quadric |
void |
quadricTexture(GLUQuadric quadric,
boolean textureCoords)
Sets the texture generation rule for the given quadric |
int |
scaleImage(int format,
int widthin,
int heightin,
int typein,
byte[] datain,
int widthout,
int heightout,
int typeout,
byte[] dataout)
Scales an image by linear interpolation and box filtering. |
void |
setMode(int mode)
Sets the operating mode for this interface |
void |
setParent(GLU parent)
Sets the parent interface. |
void |
sphere(GLUQuadric quadric,
double radius,
int slices,
int stacks)
Creates a sphere via a Quadric object |
void |
tessBeginContour(GLUTesselator tesselator)
Begins the specification of a closed contour which is a portion of a polygon |
void |
tessBeginPolygon(GLUTesselator tesselator,
float[] userData)
Specifies the beginning of a polygon to be tesselated by the given tesselator object |
void |
tessEndContour(GLUTesselator tesselator)
Ends the specification of a closed contour |
void |
tessEndPolygon(GLUTesselator tesselator)
Specifies the end of a polygon description that is to be tesselated |
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. |
void |
tessProperty(GLUTesselator tesselator,
int property,
double value)
Sets the value of the given tesselation property for the given tesselation object |
void |
tessVertex(GLUTesselator tesselator,
double[] coords,
double[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
tessVertex(GLUTesselator tesselator,
double[] coords,
float[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
tessVertex(GLUTesselator tesselator,
double[] coords,
int[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
tessVertex(GLUTesselator tesselator,
float[] coords,
double[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
tessVertex(GLUTesselator tesselator,
float[] coords,
float[] vertexData)
Specifies vertex data to be passed into the tesselator |
void |
tessVertex(GLUTesselator tesselator,
float[] coords,
int[] vertexData)
Specifies vertex data to be passed into the tesselator |
int |
unProject(double winx,
double winy,
double winz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] win)
Maps the specified window coordinates as best as possible into object-space coordinates. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String VERSION
Constructor Detail |
public TemplateGLU(GLU parent)
parent
- The parent pipeline objectMethod Detail |
public final void setParent(GLU parent)
parent
- The parent interfacepublic GLU getParent()
public void setMode(int mode)
mode
- The new operating modepublic int getMode()
public final void gluOrtho2D(double left, double right, double bottom, double top) throws OpenGLException
left
- The coordinates of the left clipping planeright
- The coordinates of the right clipping planebottom
- The coordinates of the bottom clipping planetop
- The coordinates of the top clipping planepublic final void ortho2D(double left, double right, double bottom, double top) throws OpenGLException
left
- The coordinates of the left clipping planeright
- The coordinates of the right clipping planebottom
- The coordinates of the bottom clipping planetop
- The coordinates of the top clipping planepublic final void gluPerspective(double fovy, double aspect, double near, double far) throws OpenGLException
fovy
- Specifies the field of view angle, in degrees in the y-directionaspect
- Specifies the aspect ratio that determines the field of view in the x directionnear
- Specifies the distance from the viewer of the near clipping planefar
- Specifies the distance from the viewer of the far clipping planepublic final void perspective(double fovy, double aspect, double near, double far) throws OpenGLException
fovy
- Specifies the field of view angle, in degrees in the y-directionaspect
- Specifies the aspect ratio that determines the field of view in the x directionnear
- Specifies the distance from the viewer of the near clipping planefar
- Specifies the distance from the viewer of the far clipping planepublic final void gluLookAt(double eyex, double eyey, double eyez, double centerx, double centery, double centerz, double upx, double upy, double upz) throws OpenGLException
eyex
- The x-coordinate of the position of the eye pointeyey
- The y-coordinate of the position of the eye pointeyez
- The z-coordinate of the position of the eye pointcenterx
- The x-coordinate of the position of the reference pointcentery
- The y-coordinate of the position of the reference pointcenterz
- The z-coordinate of the position of the reference pointupx
- The x component of the `up' vectorupy
- The y component of the `up' vectorupz
- The z component of the `up' vectorpublic final void lookAt(double eyex, double eyey, double eyez, double centerx, double centery, double centerz, double upx, double upy, double upz) throws OpenGLException
eyex
- The x-coordinate of the position of the eye pointeyey
- The y-coordinate of the position of the eye pointeyez
- The z-coordinate of the position of the eye pointcenterx
- The x-coordinate of the position of the reference pointcentery
- The y-coordinate of the position of the reference pointcenterz
- The z-coordinate of the position of the reference pointupx
- The x component of the `up' vectorupy
- The y component of the `up' vectorupz
- The z component of the `up' vectorpublic final int gluProject(double objx, double objy, double objz, double[] modelMatrix, double[] projMatrix, int[] viewport, double[] win) throws OpenGLException
winx
- The x-coordinate of the object positionwiny
- The y-coordinate of the object positionwinz
- The z-coordinate of the object positionmodelMatrix
- The current modelview matrixprojMatrix
- The current projection matrixviewport
- The current viewportwin
- The computed window coordinatesGLU.gluUnProject(double, double, double, double[], double[], int[], double[])
public final int project(double objx, double objy, double objz, double[] modelMatrix, double[] projMatrix, int[] viewport, double[] win) throws OpenGLException
winx
- The x-coordinate of the object positionwiny
- The y-coordinate of the object positionwinz
- The z-coordinate of the object positionmodelMatrix
- The current modelview matrixprojMatrix
- The current projection matrixviewport
- The current viewportwin
- The computed window coordinatesGLU.gluUnProject(double, double, double, double[], double[], int[], double[])
public final int gluUnProject(double winx, double winy, double winz, double[] modelMatrix, double[] projMatrix, int[] viewport, double[] win) throws OpenGLException
winx
- The x-coordinate of the object positionwiny
- The y-coordinate of the object positionwinz
- The z-coordinate of the object positionmodelMatrix
- The current modelview matrixprojMatrix
- The current projection matrixviewport
- The current viewportwin
- The computed window coordinatesGLU.gluProject(double, double, double, double[], double[], int[], double[])
public final int unProject(double winx, double winy, double winz, double[] modelMatrix, double[] projMatrix, int[] viewport, double[] win) throws OpenGLException
winx
- The x-coordinate of the object positionwiny
- The y-coordinate of the object positionwinz
- The z-coordinate of the object positionmodelMatrix
- The current modelview matrixprojMatrix
- The current projection matrixviewport
- The current viewportwin
- The computed window coordinatesGLU.gluProject(double, double, double, double[], double[], int[], double[])
public final int gluScaleImage(int format, int widthin, int heightin, int typein, byte[] datain, int widthout, int heightout, int typeout, byte[] dataout) throws OpenGLException
format
- Specifies the format of the pixel datawidthin
- Width of the source image to be scaledheightin
- Height of the source image to be scaledtypein
- The data type for the source imagedatain
- The source pixel datawidthout
- The width of the output imageheightout
- The height of the output imagetypeout
- The data type of the output imagedataout
- The scaled pixel datapublic final int scaleImage(int format, int widthin, int heightin, int typein, byte[] datain, int widthout, int heightout, int typeout, byte[] dataout) throws OpenGLException
format
- Specifies the format of the pixel datawidthin
- Width of the source image to be scaledheightin
- Height of the source image to be scaledtypein
- The data type for the source imagedatain
- The source pixel datawidthout
- The width of the output imageheightout
- The height of the output imagetypeout
- The data type of the output imagedataout
- The scaled pixel datapublic final void gluPickMatrix(double x, double y, double width, double height, int[] viewport) throws OpenGLException
x
- The x-coordinate of the centre of the picking regiony
- The y-coordinate of the centre of the picking regionwidth
- The width of the picking regionheight
- The height of the picking regionviewport
- The current viewportpublic final void pickMatrix(double x, double y, double width, double height, int[] viewport) throws OpenGLException
x
- The x-coordinate of the centre of the picking regiony
- The y-coordinate of the centre of the picking regionwidth
- The width of the picking regionheight
- The height of the picking regionviewport
- The current viewportpublic final int gluBuild1DMipmaps(int target, int components, int width, int format, int type, byte[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int build1DMipmaps(int target, int components, int width, int format, int type, byte[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int gluBuild1DMipmaps(int target, int components, int width, int format, int type, short[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int build1DMipmaps(int target, int components, int width, int format, int type, short[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int gluBuild1DMipmaps(int target, int components, int width, int format, int type, int[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int build1DMipmaps(int target, int components, int width, int format, int type, int[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int gluBuild1DMipmaps(int target, int components, int width, int format, int type, float[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int build1DMipmaps(int target, int components, int width, int format, int type, float[] data) throws OpenGLException
target
- The target texture. Must be GL_TEXTURE_1Dcomponents
- The number of colour components in the texturewidth
- The width of the texture imageformat
- The format of the pixel datatype
- The data type for the pixel datadata
- The pixel data of the textureGL.glTexImage1D(int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, byte[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, byte[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, byte[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, byte[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, short[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, short[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, short[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, short[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, int[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, int[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, int[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, int[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, float[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, float[] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, float[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final int build2DMipmaps(int target, int components, int width, int height, int format, int type, float[][][] data) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_2Dcomponents
- Specifies the number of colour componentswidth
- The width of the texture imageheight
- The height of the texture imageformat
- The format of the pixel datatype
- The data type of the pixel datadata
- The pixel data of the textureGL.glTexImage2D(int, int, int, int, int, int, int, int, byte[])
public final java.lang.String gluErrorString(int errorCode) throws OpenGLException
errorCode
- The error code you wish to describeGL.glGetError()
public final java.lang.String errorString(int errorCode) throws OpenGLException
errorCode
- The error code you wish to describeGL.glGetError()
public final java.lang.String gluGetString(int name) throws OpenGLException
name
- The symbolic constant of the feature you wish to queryGL.glGetString(int)
public final java.lang.String getString(int name) throws OpenGLException
name
- The symbolic constant of the feature you wish to queryGL.glGetString(int)
public final GLUNurbs gluNewNurbsRenderer() throws OpenGLException
public final GLUNurbs newNurbsRenderer() throws OpenGLException
public final void gluDeleteNurbsRenderer(GLUNurbs nurb) throws OpenGLException
nurb
- The GLUNurbs object to destroypublic final void deleteNurbsRenderer(GLUNurbs nurb) throws OpenGLException
nurb
- The GLUNurbs object to destroypublic final void gluNurbsProperty(GLUNurbs nurb, int property, float value) throws OpenGLException
nurb
- A GLUNurbs objectproperty
- The NURBS property to setvalue
- The value to set the property topublic final void nurbsProperty(GLUNurbs nurb, int property, float value) throws OpenGLException
nurb
- A GLUNurbs objectproperty
- The NURBS property to setvalue
- The value to set the property topublic final float gluGetNurbsProperty(GLUNurbs nurb, int property) throws OpenGLException
nurb
- A GLUNurbs objectproperty
- The property to query the value ofpublic final float getNurbsProperty(GLUNurbs nurb, int property) throws OpenGLException
nurb
- A GLUNurbs objectproperty
- The property to query the value ofpublic final void gluLoadSamplingMatrices(GLUNurbs nurb, float[] modelMatrix, float[] projMatrix, int[] viewport) throws OpenGLException
nurb
- A GLUNurbs objectmodelMatrix
- A modelview matrixprojMatrix
- A projection matrixviewport
- A viewportpublic final void loadSamplingMatrices(GLUNurbs nurb, float[] modelMatrix, float[] projMatrix, int[] viewport) throws OpenGLException
nurb
- A GLUNurbs objectmodelMatrix
- A modelview matrixprojMatrix
- A projection matrixviewport
- A viewportpublic final void gluBeginSurface(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void beginSurface(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void gluEndSurface(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void endSurface(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic 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
nurb
- A GLUNurbs objectuknot_count
- Specifies the number of knots in the parametric u directionuknot
- The knot datavknot_count
- Specifies the number of knots in the parametric v directionvknot
- The knot datau_stride
- Specifies the offset between successive control points in the parametric u directionv_stride
- Specifies the offset between successive control points in the parametric v directionctlarray
- An array of control pointsuorder
- Specifies the order of the NURBS surface in the parametric u directionvorder
- Specifies the order of the NURBS surface in the parametric v directiontype
- Specifies the type of the surfacepublic 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
nurb
- A GLUNurbs objectuknot_count
- Specifies the number of knots in the parametric u directionuknot
- The knot datavknot_count
- Specifies the number of knots in the parametric v directionvknot
- The knot datau_stride
- Specifies the offset between successive control points in the parametric u directionv_stride
- Specifies the offset between successive control points in the parametric v directionctlarray
- An array of control pointsuorder
- Specifies the order of the NURBS surface in the parametric u directionvorder
- Specifies the order of the NURBS surface in the parametric v directiontype
- Specifies the type of the surfacepublic final void gluBeginCurve(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void beginCurve(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void gluEndCurve(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void endCurve(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void gluNurbsCurve(GLUNurbs nurb, int uknot_count, float[] uknot, int ustride, float[][] ctlarray, int uorder, int type) throws OpenGLException
nurb
- A GLUNurbs objectuknot_count
- The number of knots in the curveuknot
- The knot dataustride
- Offset between successive control pointsctlarray
- The control points for the curveuorder
- The order of the NURBS curvetype
- Specifies the type of the curvepublic final void nurbsCurve(GLUNurbs nurb, int uknot_count, float[] uknot, int ustride, float[][] ctlarray, int uorder, int type) throws OpenGLException
nurb
- A GLUNurbs objectuknot_count
- The number of knots in the curveuknot
- The knot dataustride
- Offset between successive control pointsctlarray
- The control points for the curveuorder
- The order of the NURBS curvetype
- Specifies the type of the curvepublic final void gluBeginTrim(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void beginTrim(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void gluEndTrim(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void endTrim(GLUNurbs nurb) throws OpenGLException
nurb
- A GLUNurbs objectpublic final void gluPwlCurve(GLUNurbs nurb, int count, float[][] array, int stride, int type) throws OpenGLException
nurb
- A GLUNurbs objectcount
- The number of points on the curvearray
- Specifies an array containing the curve pointstride
- Offset between each control pointtype
- Specifies the type of curvepublic final void pwlCurve(GLUNurbs nurb, int count, float[][] array, int stride, int type) throws OpenGLException
nurb
- A GLUNurbs objectcount
- The number of points on the curvearray
- Specifies an array containing the curve pointstride
- Offset between each control pointtype
- Specifies the type of curvepublic final GLUQuadric gluNewQuadric() throws OpenGLException
public final GLUQuadric newQuadric() throws OpenGLException
public final void gluDeleteQuadric(GLUQuadric quadric) throws OpenGLException
quadric
- A GLUQuadric objectpublic final void deleteQuadric(GLUQuadric quadric) throws OpenGLException
quadric
- A GLUQuadric objectpublic final void gluQuadricDrawStyle(GLUQuadric quadric, int drawStyle) throws OpenGLException
quadric
- A GLUQuadric objectdrawStyle
- Specifies the desired draw stylepublic final void quadricDrawStyle(GLUQuadric quadric, int drawStyle) throws OpenGLException
quadric
- A GLUQuadric objectdrawStyle
- Specifies the desired draw stylepublic final void gluQuadricNormals(GLUQuadric quadric, int normalStyle) throws OpenGLException
quadric
- A GLUQuadric objectnormalStyle
- Specifies the desired type of normalpublic final void quadricNormals(GLUQuadric quadric, int normalStyle) throws OpenGLException
quadric
- A GLUQuadric objectnormalStyle
- Specifies the desired type of normalpublic final void gluQuadricOrientation(GLUQuadric quadric, int normalOrientation) throws OpenGLException
quadric
- A GLUQuadric objectnormalOrientation
- Specifies the desired normal orientationpublic final void quadricOrientation(GLUQuadric quadric, int normalOrientation) throws OpenGLException
quadric
- A GLUQuadric objectnormalOrientation
- Specifies the desired normal orientationpublic final void gluQuadricTexture(GLUQuadric quadric, boolean textureCoords) throws OpenGLException
quadric
- A GLUQuadric objecttextureCoords
- Specifies a flag indicating whether or not texture coordinates should be generatedpublic final void quadricTexture(GLUQuadric quadric, boolean textureCoords) throws OpenGLException
quadric
- A GLUQuadric objecttextureCoords
- Specifies a flag indicating whether or not texture coordinates should be generatedpublic final void gluSphere(GLUQuadric quadric, double radius, int slices, int stacks) throws OpenGLException
quadric
- A GLUQuadric objectradius
- The radius of the sphereslices
- The number of vertical subdivisions of the spherestacks
- The number of horizontal subdivisions of the spherepublic final void sphere(GLUQuadric quadric, double radius, int slices, int stacks) throws OpenGLException
quadric
- A GLUQuadric objectradius
- The radius of the sphereslices
- The number of vertical subdivisions of the spherestacks
- The number of horizontal subdivisions of the spherepublic final void gluCylinder(GLUQuadric quadric, double baseRadius, double topRadius, double height, int slices, int stacks) throws OpenGLException
quadric
- A GLUQuadric objectbaseRadius
- The radius of the base of the cylindertopRadius
- The radius of the top of the cylinderheight
- The height of the cylinderslices
- The number of vertical subdivisions of the cylinderstacks
- The number of horizontal subdivisions of the cylinderpublic final void cylinder(GLUQuadric quadric, double baseRadius, double topRadius, double height, int slices, int stacks) throws OpenGLException
quadric
- A GLUQuadric objectbaseRadius
- The radius of the base of the cylindertopRadius
- The radius of the top of the cylinderheight
- The height of the cylinderslices
- The number of vertical subdivisions of the cylinderstacks
- The number of horizontal subdivisions of the cylinderpublic final void gluDisk(GLUQuadric quadric, double innerRadius, double outerRadius, int slices, int rings) throws OpenGLException
quadric
- A GLUQuadric objectinnerRadius
- The inner radius of the diskouterRadius
- The outer radius of the diskslices
- The number of y-axis subdivions of the diskrings
- The number of rings forming the diskpublic final void disk(GLUQuadric quadric, double innerRadius, double outerRadius, int slices, int rings) throws OpenGLException
quadric
- A GLUQuadric objectinnerRadius
- The inner radius of the diskouterRadius
- The outer radius of the diskslices
- The number of y-axis subdivions of the diskrings
- The number of rings forming the diskpublic final void gluPartialDisk(GLUQuadric quadric, double innerRadius, double outerRadius, int slices, int rings, double startAngle, double sweepAngle) throws OpenGLException
quadric
- A GLUQuadric objectinnerRadius
- The inner radius of the diskouterRadius
- The outer radius of the diskslices
- The number of y-axis subdivions of the diskrings
- The number of rings forming the diskstartAngle
- The angle to start forming the disk fromsweepAngle
- The number of degrees to sweep the disk throughpublic final void partialDisk(GLUQuadric quadric, double innerRadius, double outerRadius, int slices, int rings, double startAngle, double sweepAngle) throws OpenGLException
quadric
- A GLUQuadric objectinnerRadius
- The inner radius of the diskouterRadius
- The outer radius of the diskslices
- The number of y-axis subdivions of the diskrings
- The number of rings forming the diskstartAngle
- The angle to start forming the disk fromsweepAngle
- The number of degrees to sweep the disk throughpublic final GLUTesselator gluNewTess()
public final GLUTesselator newTess()
public void gluDeleteTess(GLUTesselator tesselator)
tesselator
- The tesselator object to destroypublic void deleteTess(GLUTesselator tesselator)
tesselator
- The tesselator object to destroypublic void gluTessProperty(GLUTesselator tesselator, int property, double value)
tesselator
- A GLUTesselator objectproperty
- The tesselation property to setvalue
- The new value to set the property topublic void tessProperty(GLUTesselator tesselator, int property, double value)
tesselator
- A GLUTesselator objectproperty
- The tesselation property to setvalue
- The new value to set the property topublic double gluGetTessProperty(GLUTesselator tesselator, int property)
tesselator
- A GLUTesselator objectproperty
- The property to return the value forpublic double getTessProperty(GLUTesselator tesselator, int property)
tesselator
- A GLUTesselator objectproperty
- The property to return the value forpublic void gluTessNormal(GLUTesselator tesselator, double x, double y, double z)
tesselator
- The tesselation objectx
- The x-value of the normaly
- The y-value of the normalz
- The z-value of the normalpublic void tessNormal(GLUTesselator tesselator, double x, double y, double z)
tesselator
- The tesselation objectx
- The x-value of the normaly
- The y-value of the normalz
- The z-value of the normalpublic void gluTessBeginPolygon(GLUTesselator tesselator, float[] userData)
tesselator
- The tesselator objectuserData
- The user data to feed to the tesselatorpublic void tessBeginPolygon(GLUTesselator tesselator, float[] userData)
tesselator
- The tesselator objectuserData
- The user data to feed to the tesselatorpublic void gluTessEndPolygon(GLUTesselator tesselator)
tesselator
- The tesselator objectpublic void tessEndPolygon(GLUTesselator tesselator)
tesselator
- The tesselator objectpublic void gluTessBeginContour(GLUTesselator tesselator)
public void tessBeginContour(GLUTesselator tesselator)
public void gluTessEndContour(GLUTesselator tesselator)
public void tessEndContour(GLUTesselator tesselator)
public void gluTessVertex(GLUTesselator tesselator, double[] coords, float[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void tessVertex(GLUTesselator tesselator, double[] coords, float[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void gluTessVertex(GLUTesselator tesselator, double[] coords, int[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void tessVertex(GLUTesselator tesselator, double[] coords, int[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void gluTessVertex(GLUTesselator tesselator, double[] coords, double[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void tessVertex(GLUTesselator tesselator, double[] coords, double[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void gluTessVertex(GLUTesselator tesselator, float[] coords, float[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void tessVertex(GLUTesselator tesselator, float[] coords, float[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void gluTessVertex(GLUTesselator tesselator, float[] coords, int[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void tessVertex(GLUTesselator tesselator, float[] coords, int[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void gluTessVertex(GLUTesselator tesselator, float[] coords, double[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void tessVertex(GLUTesselator tesselator, float[] coords, double[] vertexData)
tesselator
- The tesselator objectcoords
- The three-dimensional coordinates of the vertexvertexData
- The vertex data to pass into the tesselator callbackpublic void gluBeginPolygon(GLUTesselator tesselator)
public void beginPolygon(GLUTesselator tesselator)
public void gluEndPolygon(GLUTesselator tesselator)
public void endPolygon(GLUTesselator tesselator)
public void gluNextContour(GLUTesselator tesselator, int type)
tesselator
- The tesselator objecttype
- Tesselation hintpublic void nextContour(GLUTesselator tesselator, int type)
tesselator
- The tesselator objecttype
- Tesselation hint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |