gov.nasa.worldwind.util
Class GLUTessellatorSupport.CollectIndexListsCallback
java.lang.Object
javax.media.opengl.glu.GLUtessellatorCallbackAdapter
gov.nasa.worldwind.util.GLUTessellatorSupport.CollectIndexListsCallback
- All Implemented Interfaces:
- GLUtessellatorCallback
- Enclosing class:
- GLUTessellatorSupport
public static class GLUTessellatorSupport.CollectIndexListsCallback
- extends GLUtessellatorCallbackAdapter
Provides the callback class used to capture the shapes determined by the tessellator.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentPrim
protected List<Integer> currentPrim
currentType
protected int currentType
numIndices
protected int numIndices
prims
protected List<List<Integer>> prims
primTypes
protected List<Integer> primTypes
GLUTessellatorSupport.CollectIndexListsCallback
public GLUTessellatorSupport.CollectIndexListsCallback()
begin
public void begin(int type)
- Specified by:
begin in interface GLUtessellatorCallback- Overrides:
begin in class GLUtessellatorCallbackAdapter
combine
public void combine(double[] coords,
Object[] data,
float[] weight,
Object[] outData)
- Specified by:
combine in interface GLUtessellatorCallback- Overrides:
combine in class GLUtessellatorCallbackAdapter
end
public void end()
- Specified by:
end in interface GLUtessellatorCallback- Overrides:
end in class GLUtessellatorCallbackAdapter
getNumIndices
public int getNumIndices()
getPrims
public List<List<Integer>> getPrims()
getPrimTypes
public List<Integer> getPrimTypes()
vertex
public void vertex(Object vertexData)
- Specified by:
vertex in interface GLUtessellatorCallback- Overrides:
vertex in class GLUtessellatorCallbackAdapter