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.GLUtessellatorCallback
begin
in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
public void edgeFlag(boolean flag)
edgeFlag
in interface com.jogamp.opengl.glu.GLUtessellatorCallback
edgeFlag
in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
public void end()
end
in interface com.jogamp.opengl.glu.GLUtessellatorCallback
end
in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
public void error(int errno)
error
in interface com.jogamp.opengl.glu.GLUtessellatorCallback
error
in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
public 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.GLUtessellatorCallback
vertex
in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter