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

public Class GLUtessellatorImpl

extends Object
implements GLUtessellator
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.glu.GLUtessellator
Imports
org.lwjgl.util.glu.GLUtessellator, .GLUtessellatorCallback, .GLUtessellatorCallbackAdapter

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv CachedVertex[]
pack-priv int
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
private GLUtessellatorCallback
pack-priv Dict
pack-priv GLUvertex
pack-priv boolean
pack-priv boolean
flagBoundary

state needed for rendering callbacks (see render.c)

private boolean
flushCacheOnNextVertex

state needed to cache single-contour polygons for renderCache()

private static final double
private GLUhalfEdge
pack-priv GLUface
pack-priv GLUmesh
pack-priv double[]
normal

state needed for projecting onto the sweep plane

private static GLUtessellatorCallback
private Object
polygonData

rendering callbacks that also pass polygon data

pack-priv PriorityQ
private double
relTolerance

state needed for the line sweep

private int
pack-priv double[]
public static final int
pack-priv double[]
pack-priv int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private boolean
addVertex(double[] coords, Object vertexData)

private void
cacheVertex(double[] coords, Object vertexData)

pack-priv void
pack-priv void
callCombineOrCombineData(double[] coords, Object[] vertexData, float[] weights, Object[] outData)

pack-priv void
pack-priv void
pack-priv void
pack-priv void
private boolean
public void
public void
public void
public void
gluGetTessProperty(int which, double[] value, int value_offset)

Implements org.lwjgl.util.glu.GLUtessellator.gluGetTessProperty.

public static GLUtessellator
public void
public void
public void
public void
public void
public void
public void
gluTessNormal(double x, double y, double z)

Implements org.lwjgl.util.glu.GLUtessellator.gluTessNormal.

public void
public void
gluTessVertex(double[] coords, int coords_offset, Object vertexData)

Implements org.lwjgl.util.glu.GLUtessellator.gluTessVertex.

private void
gotoState(int newState)

private void
private void
requireState(int newState)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

boundaryOnlyback to summary
pack-priv boolean boundaryOnly
cacheback to summary
pack-priv CachedVertex[] cache
cacheCountback to summary
pack-priv int cacheCount
callBeginback to summary
private GLUtessellatorCallback callBegin
callBeginDataback to summary
private GLUtessellatorCallback callBeginData
callCombineback to summary
private GLUtessellatorCallback callCombine
callCombineDataback to summary
private GLUtessellatorCallback callCombineData
callEdgeFlagback to summary
private GLUtessellatorCallback callEdgeFlag
callEdgeFlagDataback to summary
private GLUtessellatorCallback callEdgeFlagData
callEndback to summary
private GLUtessellatorCallback callEnd
callEndDataback to summary
private GLUtessellatorCallback callEndData
callErrorback to summary
private GLUtessellatorCallback callError
callErrorDataback to summary
private GLUtessellatorCallback callErrorData
callVertexback to summary
private GLUtessellatorCallback callVertex
callVertexDataback to summary
private GLUtessellatorCallback callVertexData
dictback to summary
pack-priv Dict dict
eventback to summary
pack-priv GLUvertex event
fatalErrorback to summary
pack-priv boolean fatalError
flagBoundaryback to summary
pack-priv boolean flagBoundary

state needed for rendering callbacks (see render.c)

flushCacheOnNextVertexback to summary
private boolean flushCacheOnNextVertex

state needed to cache single-contour polygons for renderCache()

GLU_TESS_DEFAULT_TOLERANCEback to summary
private static final double GLU_TESS_DEFAULT_TOLERANCE
lastEdgeback to summary
private GLUhalfEdge lastEdge
lonelyTriListback to summary
pack-priv GLUface lonelyTriList
meshback to summary
pack-priv GLUmesh mesh
normalback to summary
pack-priv double[] normal

state needed for projecting onto the sweep plane

NULL_CBback to summary
private static GLUtessellatorCallback NULL_CB
polygonDataback to summary
private Object polygonData

rendering callbacks that also pass polygon data

pqback to summary
pack-priv PriorityQ pq
relToleranceback to summary
private double relTolerance

state needed for the line sweep

stateback to summary
private int state
sUnitback to summary
pack-priv double[] sUnit
TESS_MAX_CACHEback to summary
public static final int TESS_MAX_CACHE
tUnitback to summary
pack-priv double[] tUnit
windingRuleback to summary
pack-priv int windingRule

Constructor Detail

GLUtessellatorImplback to summary
public GLUtessellatorImpl()

Method Detail

addVertexback to summary
private boolean addVertex(double[] coords, Object vertexData)
cacheVertexback to summary
private void cacheVertex(double[] coords, Object vertexData)
callBeginOrBeginDataback to summary
pack-priv void callBeginOrBeginData(int a)
callCombineOrCombineDataback to summary
pack-priv void callCombineOrCombineData(double[] coords, Object[] vertexData, float[] weights, Object[] outData)
callEdgeFlagOrEdgeFlagDataback to summary
pack-priv void callEdgeFlagOrEdgeFlagData(boolean a)
callEndOrEndDataback to summary
pack-priv void callEndOrEndData()
callErrorOrErrorDataback to summary
pack-priv void callErrorOrErrorData(int a)
callVertexOrVertexDataback to summary
pack-priv void callVertexOrVertexData(Object a)
flushCacheback to summary
private boolean flushCache()
gluBeginPolygonback to summary
public void gluBeginPolygon()

Implements org.lwjgl.util.glu.GLUtessellator.gluBeginPolygon.

gluDeleteTessback to summary
public void gluDeleteTess()

Implements org.lwjgl.util.glu.GLUtessellator.gluDeleteTess.

gluEndPolygonback to summary
public void gluEndPolygon()

Implements org.lwjgl.util.glu.GLUtessellator.gluEndPolygon.

gluGetTessPropertyback to summary
public void gluGetTessProperty(int which, double[] value, int value_offset)

Implements org.lwjgl.util.glu.GLUtessellator.gluGetTessProperty.

gluNewTessback to summary
public static GLUtessellator gluNewTess()
gluNextContourback to summary
public void gluNextContour(int type)

Implements org.lwjgl.util.glu.GLUtessellator.gluNextContour.

gluTessBeginContourback to summary
public void gluTessBeginContour()

Implements org.lwjgl.util.glu.GLUtessellator.gluTessBeginContour.

gluTessBeginPolygonback to summary
public void gluTessBeginPolygon(Object data)

Implements org.lwjgl.util.glu.GLUtessellator.gluTessBeginPolygon.

gluTessCallbackback to summary
public void gluTessCallback(int which, GLUtessellatorCallback aCallback)

Implements org.lwjgl.util.glu.GLUtessellator.gluTessCallback.

gluTessEndContourback to summary
public void gluTessEndContour()

Implements org.lwjgl.util.glu.GLUtessellator.gluTessEndContour.

gluTessEndPolygonback to summary
public void gluTessEndPolygon()

Implements org.lwjgl.util.glu.GLUtessellator.gluTessEndPolygon.

gluTessNormalback to summary
public void gluTessNormal(double x, double y, double z)

Implements org.lwjgl.util.glu.GLUtessellator.gluTessNormal.

gluTessPropertyback to summary
public void gluTessProperty(int which, double value)

Implements org.lwjgl.util.glu.GLUtessellator.gluTessProperty.

gluTessVertexback to summary
public void gluTessVertex(double[] coords, int coords_offset, Object vertexData)

Implements org.lwjgl.util.glu.GLUtessellator.gluTessVertex.

gotoStateback to summary
private void gotoState(int newState)
makeDormantback to summary
private void makeDormant()
requireStateback to summary
private void requireState(int newState)