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 java.nio.IntBuffer |
lineBuffer |
protected java.util.List<java.lang.Integer> |
lines |
protected java.nio.IntBuffer |
triangleBuffer |
protected java.util.List<java.lang.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() |
java.nio.IntBuffer |
getLineIndices() |
java.nio.IntBuffer |
getTriangleIndices() |
void |
reset() |
void |
vertex(java.lang.Object vertexData) |
beginData, combine, combineData, edgeFlagData, endData, errorData, vertexDataprotected boolean edgeFlag
protected boolean[] edgeFlags
protected int error
protected int index
protected java.nio.IntBuffer lineBuffer
protected java.util.List<java.lang.Integer> lines
protected java.nio.IntBuffer triangleBuffer
protected java.util.List<java.lang.Integer> triangles
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 java.nio.IntBuffer getLineIndices()
public java.nio.IntBuffer getTriangleIndices()
public void reset()
public void vertex(java.lang.Object vertexData)
vertex in interface GLUtessellatorCallbackvertex in class GLUtessellatorCallbackAdapter