|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.render.ExtrudedPolygon.ExtrudedBoundaryInfo
protected static class ExtrudedPolygon.ExtrudedBoundaryInfo
Holds globe-specific information for each contour of the polygon. This class is meant only to be used as a way to
group per-boundary information in globe-specific ShapeData.
| Field Summary | |
|---|---|
protected Vec4[] |
baseVertices
The vertices defining the boundary's base. |
protected IntBuffer |
capEdgeIndices
Indices identifying the cap edges in the vertex buffer. |
protected IntBuffer |
capFillIndices
Indices identifying the cap vertices in the vertex buffer. |
protected FloatBuffer |
capNormalBuffer
A buffer holding the boundary cap's vertex normals. |
protected 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 List<? extends LatLon> |
locations
The boundary vertices. |
protected IntBuffer |
sideEdgeIndices
The indices identifying the boundary's edge indices in the side-vertex buffer. |
protected IntBuffer |
sideIndices
The indices identifying the boundary's side faces in the side-vertex buffer. |
protected FloatBuffer |
sideNormalBuffer
A buffer holding per-vertex normals. |
protected FloatBuffer |
sideTextureCoords
The texture coordinates to use when applying side textures, a coordinate pair for each of 4 corners. |
protected List<WWTexture> |
sideTextures
The textures to apply to this boundary, one per face. |
protected FloatBuffer |
sideVertexBuffer
A buffer holding the side vertices. |
| Constructor Summary | |
|---|---|
ExtrudedPolygon.ExtrudedBoundaryInfo(List<? extends LatLon> locations)
Constructs a boundary info instance for a specified boundary. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Vec4[] baseVertices
protected IntBuffer capEdgeIndices
protected IntBuffer capFillIndices
protected FloatBuffer capNormalBuffer
protected FloatBuffer capVertexBuffer
protected Vec4[] capVertices
protected int faceCount
protected List<? extends LatLon> locations
protected IntBuffer sideEdgeIndices
protected IntBuffer sideIndices
protected FloatBuffer sideNormalBuffer
protected FloatBuffer sideTextureCoords
protected List<WWTexture> sideTextures
protected FloatBuffer sideVertexBuffer
| Constructor Detail |
|---|
public ExtrudedPolygon.ExtrudedBoundaryInfo(List<? extends LatLon> locations)
locations - the boundary locations. Only this reference is kept; the boundaries are not copied.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||