Package gov.nasa.worldwind.util
Class GLUTessellatorSupport.CollectIndexListsCallback
- java.lang.Object
-
- com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
-
- gov.nasa.worldwind.util.GLUTessellatorSupport.CollectIndexListsCallback
-
- All Implemented Interfaces:
com.jogamp.opengl.glu.GLUtessellatorCallback
- Enclosing class:
- GLUTessellatorSupport
public static class GLUTessellatorSupport.CollectIndexListsCallback extends com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
Provides the callback class used to capture the shapes determined by the tessellator.
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description CollectIndexListsCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getPrims
public java.util.List<java.util.List<java.lang.Integer>> getPrims()
-
getPrimTypes
public java.util.List<java.lang.Integer> getPrimTypes()
-
getNumIndices
public int getNumIndices()
-
begin
public void begin(int type)
- Specified by:
begin
in interfacecom.jogamp.opengl.glu.GLUtessellatorCallback
- Overrides:
begin
in classcom.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
-
vertex
public void vertex(java.lang.Object vertexData)
- Specified by:
vertex
in interfacecom.jogamp.opengl.glu.GLUtessellatorCallback
- Overrides:
vertex
in classcom.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
-
end
public void end()
- Specified by:
end
in interfacecom.jogamp.opengl.glu.GLUtessellatorCallback
- Overrides:
end
in classcom.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
-
combine
public void combine(double[] coords, java.lang.Object[] data, float[] weight, java.lang.Object[] outData)
- Specified by:
combine
in interfacecom.jogamp.opengl.glu.GLUtessellatorCallback
- Overrides:
combine
in classcom.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
-
-