gov.nasa.worldwind.render
Class SurfaceIcons
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.render.AbstractSurfaceObject
gov.nasa.worldwind.render.AbstractSurfaceRenderable
gov.nasa.worldwind.render.SurfaceIcon
gov.nasa.worldwind.render.SurfaceIcons
- All Implemented Interfaces:
- AVList, MessageListener, Movable, OrderedRenderable, PreRenderable, Renderable, SurfaceObject, WWObject, PropertyChangeListener, EventListener
public class SurfaceIcons
- extends SurfaceIcon
Renders an icon image over the terrain surface in many locations.
| Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject |
delegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, pickTiles, uniqueId, visible |
| Methods inherited from class gov.nasa.worldwind.render.SurfaceIcon |
applyDrawColor, applyDrawTransform, beginDraw, clearCaches, computeDrawDimension, computeDrawDimension, computeDrawHeading, computeDrawScale, drawGeographic, endDraw, getColor, getExtent, getHeading, getImageSource, getLocation, getLocationOffset, getMaxSize, getMinSize, getReferencePosition, getScale, getSectors, getStateKey, getTexture, isMaintainAppearance, isMaintainSize, isUseMipMaps, move, moveTo, onPropertyChanged, setColor, setHeading, setImageSource, setLocation, setLocationOffset, setMaintainSize, setMaxSize, setMinSize, setScale, setUseMipMaps |
| Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceRenderable |
applyNonPremultipliedAlphaColor, applyPremultipliedAlphaColor, computeDrawPixelSize, computeDrawPoint, computeHemisphereOffset, computeNormalizedSectors, computePixelSizeAtLocation, computeRotatedSectorBounds, getOpacity, getViewHeading, setOpacity |
| Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject |
buildPickRepresentation, computeExtent, computeExtent, createPickedObject, createPickTileBuilder, drawBoundingSectors, drawOrderedRenderable, drawPickRepresentation, getDelegateOwner, getDistanceFromEye, 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 |
SurfaceIcons
public SurfaceIcons(Object imageSource,
Iterable<? extends LatLon> locations)
computeDrawLocations
protected Iterable<? extends LatLon> computeDrawLocations(DrawContext dc,
SurfaceTileDrawContext sdc)
computeIconRadius
protected Angle computeIconRadius(DrawContext dc,
double regionPixelSize,
Sector drawSector)
computeLocationDistanceDegreesSquared
protected double computeLocationDistanceDegreesSquared(Sector drawSector,
LatLon location)
computeSafeRadius
protected Angle computeSafeRadius(DrawContext dc,
SurfaceTileDrawContext sdc)
computeSectorRadius
protected Angle computeSectorRadius(Sector sector)
computeSectors
protected List<Sector> computeSectors(DrawContext dc)
- Overrides:
computeSectors in class SurfaceIcon
drawIcon
protected void drawIcon(DrawContext dc,
SurfaceTileDrawContext sdc)
- Overrides:
drawIcon in class SurfaceIcon
getLocations
public Iterable<? extends LatLon> getLocations()
setLocations
public void setLocations(Iterable<? extends LatLon> newLocations)