Package 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,SurfaceRenderable,WWObject,java.beans.PropertyChangeListener,java.util.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, uniqueId, visible
-
-
Constructor Summary
Constructors Constructor Description AbstractSurfaceRenderable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyNonPremultipliedAlphaColor(com.jogamp.opengl.GL2 gl, java.awt.Color color, double opacity)protected voidapplyPremultipliedAlphaColor(com.jogamp.opengl.GL2 gl, java.awt.Color color, double opacity)protected doublecomputeDrawPixelSize(DrawContext dc, SurfaceTileDrawContext sdc)protected Vec4computeDrawPoint(LatLon location, SurfaceTileDrawContext sdc)protected intcomputeHemisphereOffset(Sector sector, LatLon location)protected java.util.List<Sector>computeNormalizedSectors(Sector sector)protected doublecomputePixelSizeAtLocation(DrawContext dc, LatLon location)protected SectorcomputeRotatedSectorBounds(Sector sector, LatLon location, Angle heading)doublegetOpacity()protected AnglegetViewHeading(DrawContext dc)voidsetOpacity(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, onShapeChanged, 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, 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
-
Methods inherited from interface gov.nasa.worldwind.render.SurfaceRenderable
getSectors
-
-
-
-
Method Detail
-
getOpacity
public double getOpacity()
-
setOpacity
public void setOpacity(double opacity)
-
getViewHeading
protected Angle getViewHeading(DrawContext dc)
-
computePixelSizeAtLocation
protected double computePixelSizeAtLocation(DrawContext dc, LatLon location)
-
computeDrawPixelSize
protected double computeDrawPixelSize(DrawContext dc, SurfaceTileDrawContext sdc)
-
computeDrawPoint
protected Vec4 computeDrawPoint(LatLon location, SurfaceTileDrawContext sdc)
-
computeRotatedSectorBounds
protected Sector computeRotatedSectorBounds(Sector sector, LatLon location, Angle heading)
-
applyPremultipliedAlphaColor
protected void applyPremultipliedAlphaColor(com.jogamp.opengl.GL2 gl, java.awt.Color color, double opacity)
-
applyNonPremultipliedAlphaColor
protected void applyNonPremultipliedAlphaColor(com.jogamp.opengl.GL2 gl, java.awt.Color color, double opacity)
-
-