protected static class AbstractShape.AbstractShapeData extends ShapeDataCache.ShapeDataCacheEntry
| Modifier and Type | Field and Description | 
|---|---|
| protected long | frameNumberIdentifies the frame used to calculate this entry's values. | 
| protected Double | referenceDistanceA quick-to-compute metric to determine eye distance changes that invalidate this entry's geometry. | 
| protected Vec4 | referencePointThis entry's reference point. | 
| protected Object | vboCacheKeyThe GPU-resource cache key to use for this entry's VBOs, if VBOs are used. | 
extent, eyeDistance, globeStateKey, lastUsed, timer, timerAdjustedEyeDistance, verticalExaggeration| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractShapeData(DrawContext dc,
                 long minExpiryTime,
                 long maxExpiryTime)Constructs a data cache entry and initializes its globe-dependent state key for the globe in the specified
 draw context and capture the current vertical exaggeration. | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getFrameNumber() | 
| Double | getReferenceDistance() | 
| Vec4 | getReferencePoint() | 
| Object | getVboCacheKey() | 
| void | setFrameNumber(long frameNumber) | 
| void | setReferenceDistance(Double referenceDistance) | 
| void | setReferencePoint(Vec4 referencePoint) | 
| void | setVboCacheKey(Object vboCacheKey) | 
adjustTimer, getExtent, getEyeDistance, getGlobeStateKey, getTimer, getVerticalExaggeration, isExpired, isValid, restartTimer, setExpired, setExtent, setEyeDistance, setGlobeStateKey, setTimer, setVerticalExaggerationaddPropertyChangeListener, 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, setValuesprotected long frameNumber
protected Double referenceDistance
protected Vec4 referencePoint
protected Object vboCacheKey
protected AbstractShapeData(DrawContext dc, long minExpiryTime, long maxExpiryTime)
dc - the current draw context.minExpiryTime - the minimum number of milliseconds to use this shape before regenerating its geometry.maxExpiryTime - the maximum number of milliseconds to use this shape before regenerating its geometry.public long getFrameNumber()
public Double getReferenceDistance()
public Vec4 getReferencePoint()
public Object getVboCacheKey()
public void setFrameNumber(long frameNumber)
public void setReferenceDistance(Double referenceDistance)
public void setReferencePoint(Vec4 referencePoint)
public void setVboCacheKey(Object vboCacheKey)