gov.nasa.worldwind.render
Class MultiResolutionPath.MultiResolutionPathData
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntry
gov.nasa.worldwind.render.AbstractShape.AbstractShapeData
gov.nasa.worldwind.render.Path.PathData
gov.nasa.worldwind.render.MultiResolutionPath.MultiResolutionPathData
- All Implemented Interfaces:
- AVList
- Enclosing class:
- MultiResolutionPath
protected static class MultiResolutionPath.MultiResolutionPathData
- extends Path.PathData
Subclass of PathData that adds the capability to map which ordinal number corresponds to each rendered position.
|
Field Summary |
protected IntBuffer |
positionOrdinals
Maps indices of rendered positions to their corresponding ordinal numbers. |
|
Method Summary |
IntBuffer |
getPositionOrdinals()
Returns a buffer mapping indices of rendered positions to their corresponding ordinal numbers. |
void |
setPositionOrdinals(IntBuffer posOrdinals)
Specifies a buffer that maps indices of rendered positions to their corresponding ordinal numbers. |
| Methods inherited from class gov.nasa.worldwind.render.Path.PathData |
getColorOffset, getPolePositions, getPositionPoints, getRenderedPath, getTessellatedColors, getTessellatedPositions, getVertexCount, getVertexStride, isHasExtrusionPoints, setColorOffset, setHasExtrusionPoints, setPolePositions, setPositionPoints, setRenderedPath, setTessellatedColors, setTessellatedPositions, setVertexCount, setVertexStride |
| 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 |
positionOrdinals
protected IntBuffer positionOrdinals
- Maps indices of rendered positions to their corresponding ordinal numbers.
MultiResolutionPath.MultiResolutionPathData
public MultiResolutionPath.MultiResolutionPathData(DrawContext dc,
Path shape)
- Creates a new MultiResolutionPathData with the specified draw context and path.
- Parameters:
dc - the draw context associated with this path data.shape - the shape associated with this path data.
getPositionOrdinals
public IntBuffer getPositionOrdinals()
- Returns a buffer mapping indices of rendered positions to their corresponding ordinal numbers.
- Returns:
- a buffer mapping positions to ordinal numbers.
setPositionOrdinals
public void setPositionOrdinals(IntBuffer posOrdinals)
- Specifies a buffer that maps indices of rendered positions to their corresponding ordinal numbers.
- Parameters:
posOrdinals - a buffer that maps positions to ordinal numbers.