protected static class RadarVolume.ShapeData extends AbstractShape.AbstractShapeData
AbstractShape.AbstractShapeData
.Modifier and Type | Field and Description |
---|---|
protected Vec4 |
centerPoint |
protected java.nio.FloatBuffer |
gridNormals |
protected java.nio.FloatBuffer |
gridVertices |
protected java.nio.FloatBuffer |
sideNormals |
protected java.nio.FloatBuffer |
sideVertices |
protected java.nio.FloatBuffer |
triangleNormals |
protected java.nio.FloatBuffer |
triangleVertices |
frameNumber, referenceDistance, referencePoint, vboCacheKey
extent, eyeDistance, globeStateKey, lastUsed, timer, timerAdjustedEyeDistance, verticalExaggeration
Constructor and Description |
---|
ShapeData(DrawContext dc,
RadarVolume shape)
Construct a cache entry using the boundaries of this shape.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExpired(DrawContext dc)
Indicates whether this entry has expired.
|
boolean |
isValid(DrawContext dc)
Indicates whether this shape data's globe state and vertical exaggeration are the same as that in the current
draw context.
|
getFrameNumber, getReferenceDistance, getReferencePoint, getVboCacheKey, setFrameNumber, setReferenceDistance, setReferencePoint, setVboCacheKey
adjustTimer, getExtent, getEyeDistance, getGlobeStateKey, getTimer, getVerticalExaggeration, 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
protected Vec4 centerPoint
protected java.nio.FloatBuffer gridNormals
protected java.nio.FloatBuffer gridVertices
protected java.nio.FloatBuffer sideNormals
protected java.nio.FloatBuffer sideVertices
protected java.nio.FloatBuffer triangleNormals
protected java.nio.FloatBuffer triangleVertices
public ShapeData(DrawContext dc, RadarVolume shape)
dc
- the current draw context.shape
- this shape.public boolean isExpired(DrawContext dc)
ShapeDataCache.ShapeDataCacheEntry
isExpired
in class ShapeDataCache.ShapeDataCacheEntry
dc
- the current draw context.public boolean isValid(DrawContext dc)
ShapeDataCache.ShapeDataCacheEntry
isValid
in class ShapeDataCache.ShapeDataCacheEntry
dc
- the current draw context.