NASA World Wind

gov.nasa.worldwind.render
Class AbstractGeneralShape.ShapeData

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntry
          extended by gov.nasa.worldwind.render.AbstractShape.AbstractShapeData
              extended by gov.nasa.worldwind.render.AbstractGeneralShape.ShapeData
All Implemented Interfaces:
AVList
Direct Known Subclasses:
ColladaMeshShape.ShapeData
Enclosing class:
AbstractGeneralShape

protected static class AbstractGeneralShape.ShapeData
extends AbstractShape.AbstractShapeData

This class holds globe-specific data for this shape. It's managed via the shape-data cache in AbstractShape.AbstractShapeData.


Field Summary
 
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
AbstractGeneralShape.ShapeData(DrawContext dc, AbstractGeneralShape shape)
          Construct a cache entry for this shape.
 
Method Summary
 
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
 

Constructor Detail

AbstractGeneralShape.ShapeData

public AbstractGeneralShape.ShapeData(DrawContext dc,
                                      AbstractGeneralShape shape)
Construct a cache entry for this shape.

Parameters:
dc - the current draw context.
shape - this shape.

NASA World Wind