NASA World Wind

gov.nasa.worldwind.render
Class AbstractSurfaceRenderable

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.WWObjectImpl
          extended by gov.nasa.worldwind.render.AbstractSurfaceObject
              extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
AbstractSurfaceObject.CacheEntry, AbstractSurfaceObject.SurfaceObjectStateKey
 
Field Summary
 
Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
delegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, pickTiles, uniqueId, visible
 
Constructor Summary
AbstractSurfaceRenderable()
           
 
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.WWObjectImpl
onMessage, propertyChange
 
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.render.SurfaceObject
getSectors
 
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
 

Constructor Detail

AbstractSurfaceRenderable

public AbstractSurfaceRenderable()
Method Detail

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)

NASA World Wind