public static class GLUTessellatorSupport.CollectPrimitivesCallback extends GLUtessellatorCallbackAdapter
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | edgeFlag | 
| protected boolean[] | edgeFlags | 
| protected int | error | 
| protected int | index | 
| protected IntBuffer | lineBuffer | 
| protected List<Integer> | lines | 
| protected IntBuffer | triangleBuffer | 
| protected List<Integer> | triangles | 
| protected GLUTessellatorSupport.VertexData[] | vertices | 
| Constructor and Description | 
|---|
| CollectPrimitivesCallback() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | attach(GLUtessellator tessellator) | 
| void | begin(int type) | 
| void | edgeFlag(boolean flag) | 
| void | end() | 
| void | error(int errno) | 
| int | getError() | 
| IntBuffer | getLineIndices() | 
| IntBuffer | getTriangleIndices() | 
| void | reset() | 
| void | vertex(Object vertexData) | 
beginData, combine, combineData, edgeFlagData, endData, errorData, vertexDataprotected boolean edgeFlag
protected boolean[] edgeFlags
protected int error
protected int index
protected IntBuffer lineBuffer
protected IntBuffer triangleBuffer
protected GLUTessellatorSupport.VertexData[] vertices
public void attach(GLUtessellator tessellator)
public void begin(int type)
begin in interface GLUtessellatorCallbackbegin in class GLUtessellatorCallbackAdapterpublic void edgeFlag(boolean flag)
edgeFlag in interface GLUtessellatorCallbackedgeFlag in class GLUtessellatorCallbackAdapterpublic void end()
end in interface GLUtessellatorCallbackend in class GLUtessellatorCallbackAdapterpublic void error(int errno)
error in interface GLUtessellatorCallbackerror in class GLUtessellatorCallbackAdapterpublic int getError()
public IntBuffer getLineIndices()
public IntBuffer getTriangleIndices()
public void reset()
public void vertex(Object vertexData)
vertex in interface GLUtessellatorCallbackvertex in class GLUtessellatorCallbackAdapter