gov.nasa.worldwind.render
Class AbstractSurfaceRenderable
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.render.AbstractSurfaceObject
gov.nasa.worldwind.render.AbstractSurfaceRenderable
- All Implemented Interfaces:
- AVList, MessageListener, OrderedRenderable, PreRenderable, Renderable, SurfaceObject, WWObject, PropertyChangeListener, EventListener
- Direct Known Subclasses:
- SurfaceIcon
public abstract class AbstractSurfaceRenderable
- extends AbstractSurfaceObject
Surface renderable.
| Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject |
delegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, pickTiles, uniqueId, visible |
|
Method Summary |
protected void |
applyNonPremultipliedAlphaColor(GL2 gl,
Color color,
double opacity)
|
protected void |
applyPremultipliedAlphaColor(GL2 gl,
Color color,
double opacity)
|
protected double |
computeDrawPixelSize(DrawContext dc,
SurfaceTileDrawContext sdc)
|
protected Vec4 |
computeDrawPoint(LatLon location,
SurfaceTileDrawContext sdc)
|
protected int |
computeHemisphereOffset(Sector sector,
LatLon location)
|
protected List<Sector> |
computeNormalizedSectors(Sector sector)
|
protected double |
computePixelSizeAtLocation(DrawContext dc,
LatLon location)
|
protected Sector |
computeRotatedSectorBounds(Sector sector,
LatLon location,
Angle heading)
|
double |
getOpacity()
|
protected Angle |
getViewHeading(DrawContext dc)
|
void |
setOpacity(double opacity)
|
| Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject |
buildPickRepresentation, clearCaches, computeExtent, computeExtent, createPickedObject, createPickTileBuilder, drawBoundingSectors, drawGeographic, drawOrderedRenderable, drawPickRepresentation, getDelegateOwner, getDistanceFromEye, getExtent, getStateKey, getUniqueId, intersectsFrustum, intersectsPickFrustum, intersectsVisibleSector, isDrawBoundingSectors, isEnableBatchPicking, isVisible, makeOrderedPreRenderable, makeOrderedRenderable, nextUniqueId, pick, pickBatched, pickOrderedRenderable, preRender, render, setDelegateOwner, setDrawBoundingSectors, setEnableBatchPicking, setVisible, updateModifiedTime |
| 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 |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
AbstractSurfaceRenderable
public AbstractSurfaceRenderable()
applyNonPremultipliedAlphaColor
protected void applyNonPremultipliedAlphaColor(GL2 gl,
Color color,
double opacity)
applyPremultipliedAlphaColor
protected void applyPremultipliedAlphaColor(GL2 gl,
Color color,
double opacity)
computeDrawPixelSize
protected double computeDrawPixelSize(DrawContext dc,
SurfaceTileDrawContext sdc)
computeDrawPoint
protected Vec4 computeDrawPoint(LatLon location,
SurfaceTileDrawContext sdc)
computeHemisphereOffset
protected int computeHemisphereOffset(Sector sector,
LatLon location)
computeNormalizedSectors
protected List<Sector> computeNormalizedSectors(Sector sector)
computePixelSizeAtLocation
protected double computePixelSizeAtLocation(DrawContext dc,
LatLon location)
computeRotatedSectorBounds
protected Sector computeRotatedSectorBounds(Sector sector,
LatLon location,
Angle heading)
getOpacity
public double getOpacity()
getViewHeading
protected Angle getViewHeading(DrawContext dc)
setOpacity
public void setOpacity(double opacity)