public static class GLUTessellatorSupport.CollectIndexListsCallback extends 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) |
beginData, combineData, edgeFlag, edgeFlagData, endData, error, errorData, 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 GLUtessellatorCallback
begin
in class GLUtessellatorCallbackAdapter
public void combine(double[] coords, java.lang.Object[] data, float[] weight, java.lang.Object[] outData)
combine
in interface GLUtessellatorCallback
combine
in class GLUtessellatorCallbackAdapter
public void end()
end
in interface GLUtessellatorCallback
end
in class GLUtessellatorCallbackAdapter
public 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 GLUtessellatorCallback
vertex
in class GLUtessellatorCallbackAdapter