gov.nasa.worldwind.ogc.collada.impl
Class ColladaMeshShape.ShapeData
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.cache.ShapeDataCache.ShapeDataCacheEntry
gov.nasa.worldwind.render.AbstractShape.AbstractShapeData
gov.nasa.worldwind.render.AbstractGeneralShape.ShapeData
gov.nasa.worldwind.ogc.collada.impl.ColladaMeshShape.ShapeData
- All Implemented Interfaces:
- AVList
- Enclosing class:
- ColladaMeshShape
protected static class ColladaMeshShape.ShapeData
- extends AbstractGeneralShape.ShapeData
This class holds globe-specific data for this shape. It's managed via the shape-data cache in AbstractShape.AbstractShapeData.
| 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 |
referenceCenter
protected Vec4 referenceCenter
- Cached reference center for the shape.
renderMatrix
protected Matrix renderMatrix
- Transform matrix to apply when rendering the shape. This matrix is determined by the COLLADA traversal
matrix, and
surfaceOrientationMatrix.
surfaceOrientationMatrix
protected Matrix surfaceOrientationMatrix
- Matrix to orient the shape on the surface of the globe. Cached result of
Globe.computeSurfaceOrientationAtPosition(gov.nasa.worldwind.geom.Position)
evaluated at the reference position.
ColladaMeshShape.ShapeData
public ColladaMeshShape.ShapeData(DrawContext dc,
AbstractGeneralShape shape)
- Construct a cache entry for this shape.
- Parameters:
dc - the current draw context.shape - this shape.