Class TLcdEarthIndexedVertexArray
java.lang.Object
com.luciad.earth.tileset.datatype.TLcdEarthVertexArray
com.luciad.earth.tileset.datatype.TLcdEarthIndexedVertexArray
- All Implemented Interfaces:
ILcdBounded
- Direct Known Subclasses:
TLcdEarthObjectMappedIndexedVertexArray
A container for indexed vertex array data that can be drawn directly with
OpenGL using
glDrawElements()
.- Since:
- 8.2
-
Field Summary
Fields inherited from class com.luciad.earth.tileset.datatype.TLcdEarthVertexArray
GL_C3F_V3F, GL_C4F_N3F_V3F, GL_LINE_LOOP, GL_LINE_STRIP, GL_LINES, GL_N3F_V3F, GL_POINTS, GL_POLYGON, GL_QUAD_STRIP, GL_QUADS, GL_T2F_C3F_V3F, GL_T2F_C4F_N3F_V3F, GL_T2F_N3F_V3F, GL_T2F_V3F, GL_T4F_C4F_N3F_V4F, GL_T4F_V4F, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_V2F, GL_V3F
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of indices that can be used to draw this vertex array withglDrawElements()
.void
setIndices
(IntBuffer aIndices) Sets the list of indices of this indexed vertex array.Methods inherited from class com.luciad.earth.tileset.datatype.TLcdEarthVertexArray
getBounds, getCoordinateOrigin, getPrimitiveType, getVertexFormat, getVertices, setBounds, setCoordinateOrigin, setPrimitiveType, setVertexFormat, setVertices
-
Constructor Details
-
TLcdEarthIndexedVertexArray
public TLcdEarthIndexedVertexArray()
-
-
Method Details
-
getIndices
Returns the list of indices that can be used to draw this vertex array withglDrawElements()
.- Returns:
- the list of indices of this indexed vertex array
-
setIndices
Sets the list of indices of this indexed vertex array.- Parameters:
aIndices
- the index list
-