public static class GLUTessellatorSupport.CollectPrimitivesCallback
extends com.jogamp.opengl.glu.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(com.jogamp.opengl.glu.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) |
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
public void attach(com.jogamp.opengl.glu.GLUtessellator tessellator)
public void begin(int type)
begin in interface com.jogamp.opengl.glu.GLUtessellatorCallbackbegin in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapterpublic void edgeFlag(boolean flag)
edgeFlag in interface com.jogamp.opengl.glu.GLUtessellatorCallbackedgeFlag in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapterpublic void end()
end in interface com.jogamp.opengl.glu.GLUtessellatorCallbackend in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapterpublic void error(int errno)
error in interface com.jogamp.opengl.glu.GLUtessellatorCallbackerror in class com.jogamp.opengl.glu.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 com.jogamp.opengl.glu.GLUtessellatorCallbackvertex in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter