public static class GLUTessellatorSupport.CollectIndexListsCallback
extends com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Integer> |
currentPrim |
protected int |
currentType |
protected int |
numIndices |
protected java.util.List<java.util.List<java.lang.Integer>> |
prims |
protected java.util.List<java.lang.Integer> |
primTypes |
| Constructor and Description |
|---|
CollectIndexListsCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(int type) |
void |
combine(double[] coords,
java.lang.Object[] data,
float[] weight,
java.lang.Object[] outData) |
void |
end() |
int |
getNumIndices() |
java.util.List<java.util.List<java.lang.Integer>> |
getPrims() |
java.util.List<java.lang.Integer> |
getPrimTypes() |
void |
vertex(java.lang.Object vertexData) |
protected java.util.List<java.lang.Integer> currentPrim
protected int currentType
protected int numIndices
protected java.util.List<java.util.List<java.lang.Integer>> prims
protected java.util.List<java.lang.Integer> primTypes
public void begin(int type)
begin in interface com.jogamp.opengl.glu.GLUtessellatorCallbackbegin in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapterpublic void combine(double[] coords,
java.lang.Object[] data,
float[] weight,
java.lang.Object[] outData)
combine in interface com.jogamp.opengl.glu.GLUtessellatorCallbackcombine in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapterpublic void end()
end in interface com.jogamp.opengl.glu.GLUtessellatorCallbackend in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapterpublic int getNumIndices()
public java.util.List<java.util.List<java.lang.Integer>> getPrims()
public java.util.List<java.lang.Integer> getPrimTypes()
public void vertex(java.lang.Object vertexData)
vertex in interface com.jogamp.opengl.glu.GLUtessellatorCallbackvertex in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter