protected static class ExtrudedPolygon.ExtrudedBoundaryInfo
extends java.lang.Object
ShapeData
.Modifier and Type | Field and Description |
---|---|
protected Vec4[] |
baseVertices
The vertices defining the boundary's base.
|
protected java.nio.IntBuffer |
capEdgeIndices
Indices identifying the cap edges in the vertex buffer.
|
protected java.nio.IntBuffer |
capFillIndices
Indices identifying the cap vertices in the vertex buffer.
|
protected java.nio.FloatBuffer |
capNormalBuffer
A buffer holding the boundary cap's vertex normals.
|
protected java.nio.FloatBuffer |
capVertexBuffer
A buffer holding the vertices defining the boundary's cap.
|
protected Vec4[] |
capVertices
The vertices defining the boundary's cap.
|
protected int |
faceCount
The number of faces in the boundary.
|
protected java.util.List<? extends LatLon> |
locations
The boundary vertices.
|
protected java.nio.IntBuffer |
sideEdgeIndices
The indices identifying the boundary's edge indices in the side-vertex buffer.
|
protected java.nio.IntBuffer |
sideIndices
The indices identifying the boundary's side faces in the side-vertex buffer.
|
protected java.nio.FloatBuffer |
sideNormalBuffer
A buffer holding per-vertex normals.
|
protected java.nio.FloatBuffer |
sideTextureCoords
The texture coordinates to use when applying side textures, a coordinate pair for each of 4 corners.
|
protected java.util.List<WWTexture> |
sideTextures
The textures to apply to this boundary, one per face.
|
protected java.nio.FloatBuffer |
sideVertexBuffer
A buffer holding the side vertices.
|
Constructor and Description |
---|
ExtrudedBoundaryInfo(java.util.List<? extends LatLon> locations)
Constructs a boundary info instance for a specified boundary.
|
protected Vec4[] baseVertices
protected java.nio.IntBuffer capEdgeIndices
protected java.nio.IntBuffer capFillIndices
protected java.nio.FloatBuffer capNormalBuffer
protected java.nio.FloatBuffer capVertexBuffer
protected Vec4[] capVertices
protected int faceCount
protected java.util.List<? extends LatLon> locations
protected java.nio.IntBuffer sideEdgeIndices
protected java.nio.IntBuffer sideIndices
protected java.nio.FloatBuffer sideNormalBuffer
protected java.nio.FloatBuffer sideTextureCoords
protected java.util.List<WWTexture> sideTextures
protected java.nio.FloatBuffer sideVertexBuffer
public ExtrudedBoundaryInfo(java.util.List<? extends LatLon> locations)
locations
- the boundary locations. Only this reference is kept; the boundaries are not copied.