protected static class ExtrudedPolygon.ShapeData extends AbstractShape.AbstractShapeData implements Iterable<ExtrudedPolygon.ExtrudedBoundaryInfo>
ShapeData
class holds globe-specific data for this shape.Modifier and Type | Field and Description |
---|---|
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.
|
frameNumber, referenceDistance, referencePoint, vboCacheKey
extent, eyeDistance, globeStateKey, lastUsed, timer, timerAdjustedEyeDistance, verticalExaggeration
Constructor and Description |
---|
ShapeData(DrawContext dc,
ExtrudedPolygon shape)
Constructs an instance using the boundaries of a specified extruded polygon.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getFrameNumber, getReferenceDistance, getReferencePoint, getVboCacheKey, setFrameNumber, setReferenceDistance, setReferencePoint, setVboCacheKey
adjustTimer, getExtent, getEyeDistance, getGlobeStateKey, getTimer, getVerticalExaggeration, isExpired, isValid, restartTimer, setExpired, setExtent, setEyeDistance, setGlobeStateKey, setTimer, setVerticalExaggeration
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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
public ShapeData(DrawContext dc, ExtrudedPolygon shape)
dc
- the current draw context.shape
- this shape.protected void copySideTextureReferences(ExtrudedPolygon shape)
protected ExtrudedPolygon.ExtrudedBoundaryInfo getOuterBoundaryInfo()
public Iterator<ExtrudedPolygon.ExtrudedBoundaryInfo> iterator()
iterator
in interface Iterable<ExtrudedPolygon.ExtrudedBoundaryInfo>