Package 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:
- gov.nasa.worldwind.render.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 SummaryFields Modifier and Type Field Description protected java.nio.IntBufferpositionOrdinalsMaps indices of rendered positions to their corresponding ordinal numbers.- 
Fields inherited from class gov.nasa.worldwind.render.Path.PathDatacolorOffset, hasExtrusionPoints, path2DIndices, polePositions, positionPoints, renderedPath, splitPositions, tessellatedColors, tessellatedPositions, vertexCount, vertexStride
 - 
Fields inherited from class gov.nasa.worldwind.render.AbstractShape.AbstractShapeDataframeNumber, referenceDistance, referencePoint, vboCacheKey
 - 
Fields inherited from class gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntryextent, eyeDistance, globeStateKey, lastUsed, timer, timerAdjustedEyeDistance, verticalExaggeration
 
- 
 - 
Constructor SummaryConstructors Constructor Description MultiResolutionPathData(DrawContext dc, Path shape)Creates a new MultiResolutionPathData with the specified draw context and path.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.IntBuffergetPositionOrdinals()Returns a buffer mapping indices of rendered positions to their corresponding ordinal numbers.voidsetPositionOrdinals(java.nio.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.PathDatagetColorOffset, getPolePositions, getPositionPoints, getRenderedPath, getTessellatedColors, getTessellatedPositions, getVertexCount, getVertexStride, isHasExtrusionPoints, setColorOffset, setHasExtrusionPoints, setPolePositions, setPositionPoints, setRenderedPath, setTessellatedColors, setTessellatedPositions, setVertexCount, setVertexStride
 - 
Methods inherited from class gov.nasa.worldwind.render.AbstractShape.AbstractShapeDatagetFrameNumber, getReferenceDistance, getReferencePoint, getVboCacheKey, setFrameNumber, setReferenceDistance, setReferencePoint, setVboCacheKey
 - 
Methods inherited from class gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntryadjustTimer, getExtent, getEyeDistance, getGlobeStateKey, getTimer, getVerticalExaggeration, isExpired, isValid, restartTimer, setExpired, setExtent, setEyeDistance, setGlobeStateKey, setTimer, setVerticalExaggeration
 - 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpladdPropertyChangeListener, 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
 
- 
 
- 
- 
- 
Constructor Detail- 
MultiResolutionPathDatapublic 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.
 
 
- 
 - 
Method Detail- 
getPositionOrdinalspublic java.nio.IntBuffer getPositionOrdinals() Returns a buffer mapping indices of rendered positions to their corresponding ordinal numbers.- Returns:
- a buffer mapping positions to ordinal numbers.
 
 - 
setPositionOrdinalspublic void setPositionOrdinals(java.nio.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.
 
 
- 
 
-