|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntry
gov.nasa.worldwind.render.AbstractShape.AbstractShapeData
gov.nasa.worldwind.render.ExtrudedPolygon.ShapeData
protected static class ExtrudedPolygon.ShapeData
The ShapeData class holds globe-specific data for this shape.
| Field Summary | |
|---|---|
protected List<ExtrudedPolygon.ExtrudedBoundaryInfo> |
boundaries
The boundary locations of the associated shape. |
protected List<IntBuffer> |
capFillIndexBuffers
Slices of capFillIndices, one per boundary. |
protected IntBuffer |
capFillIndices
The indices identifying the cap vertices in a shape data's vertex buffer. |
protected FloatBuffer |
capNormalBuffer
A buffer holding the cap normals of all the shape's boundaries. |
protected FloatBuffer |
capVertexBuffer
A buffer holding the Cartesian cap vertices of all the shape's boundaries. |
protected GLUTessellatorSupport.CollectIndexListsCallback |
cb
This shape's tessellation. |
protected FloatBuffer |
sideNormalBuffer
A buffer holding the side normals of all the shape's boundaries. |
protected FloatBuffer |
sideTextureCoordsBuffer
A buffer holding the texture coordinates of all the shape's faces. |
protected FloatBuffer |
sideVertexBuffer
A buffer holding the Cartesian vertices of all the shape's side vertices. |
protected boolean |
tessellationError
Indicates whether a tessellation error occurred. |
| Fields inherited from class gov.nasa.worldwind.render.AbstractShape.AbstractShapeData |
|---|
frameNumber, referenceDistance, referencePoint, vboCacheKey |
| Fields inherited from class gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntry |
|---|
extent, eyeDistance, globeStateKey, lastUsed, timer, verticalExaggeration |
| Constructor Summary | |
|---|---|
ExtrudedPolygon.ShapeData(DrawContext dc,
ExtrudedPolygon shape)
Constructs an instance using the boundaries of a specified extruded polygon. |
|
| Method Summary | |
|---|---|
protected void |
copySideTextureReferences(ExtrudedPolygon shape)
|
protected ExtrudedPolygon.ExtrudedBoundaryInfo |
getOuterBoundaryInfo()
Returns the outer boundary information for this shape data. |
Iterator<ExtrudedPolygon.ExtrudedBoundaryInfo> |
iterator()
Iterates over the boundary information of this shape data. |
| Methods inherited from class gov.nasa.worldwind.render.AbstractShape.AbstractShapeData |
|---|
getFrameNumber, getReferenceDistance, getReferencePoint, getVboCacheKey, setFrameNumber, setReferenceDistance, setReferencePoint, setVboCacheKey |
| Methods inherited from class gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntry |
|---|
getExtent, getEyeDistance, getGlobeStateKey, getTimer, getVerticalExaggeration, isExpired, isValid, restartTimer, setExpired, setExtent, setEyeDistance, setGlobeStateKey, setTimer, setVerticalExaggeration |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<ExtrudedPolygon.ExtrudedBoundaryInfo> boundaries
protected List<IntBuffer> capFillIndexBuffers
capFillIndices, one per boundary.
protected IntBuffer capFillIndices
protected FloatBuffer capNormalBuffer
protected FloatBuffer capVertexBuffer
protected GLUTessellatorSupport.CollectIndexListsCallback cb
protected FloatBuffer sideNormalBuffer
protected FloatBuffer sideTextureCoordsBuffer
protected FloatBuffer sideVertexBuffer
protected boolean tessellationError
| Constructor Detail |
|---|
public ExtrudedPolygon.ShapeData(DrawContext dc,
ExtrudedPolygon shape)
dc - the current draw context.shape - this shape.| Method Detail |
|---|
protected void copySideTextureReferences(ExtrudedPolygon shape)
protected ExtrudedPolygon.ExtrudedBoundaryInfo getOuterBoundaryInfo()
public Iterator<ExtrudedPolygon.ExtrudedBoundaryInfo> iterator()
iterator in interface Iterable<ExtrudedPolygon.ExtrudedBoundaryInfo>
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||