NASA World Wind

gov.nasa.worldwindx.examples.analytics
Class AnalyticSurface.AnalyticSurfaceObject

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.worldwindx.examples.analytics.AnalyticSurface.AnalyticSurfaceObject
All Implemented Interfaces:
AVList, MessageListener, OrderedRenderable, PreRenderable, Renderable, SurfaceObject, WWObject, PropertyChangeListener, EventListener
Direct Known Subclasses:
AnalyticSurface.ClampToGroundSurface, AnalyticSurface.ShadowSurface
Enclosing class:
AnalyticSurface

protected static class AnalyticSurface.AnalyticSurfaceObject
extends AbstractSurfaceObject


Nested Class Summary
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
AbstractSurfaceObject.CacheEntry, AbstractSurfaceObject.SurfaceObjectStateKey
 
Field Summary
protected  AnalyticSurface analyticSurface
           
 
Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
delegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, pickTiles, uniqueId, visible
 
Constructor Summary
AnalyticSurface.AnalyticSurfaceObject(AnalyticSurface analyticSurface)
           
 
Method Summary
protected  void beginDrawing(DrawContext dc)
           
protected  void bind(DrawContext dc)
           
protected  void doDrawGeographic(DrawContext dc, SurfaceTileDrawContext sdc)
           
protected  void drawGeographic(DrawContext dc, SurfaceTileDrawContext sdc)
          Causes the SurfaceObject to render itself to the specified region in geographic coordinates.
protected  void drawInterior(DrawContext dc)
           
protected  void drawOutline(DrawContext dc)
           
protected  void endDrawing(DrawContext dc)
           
 List<Sector> getSectors(DrawContext dc)
          Returns a List of Sector instances that bound the surface object on the specified DrawContext.
 void markAsModified()
           
 
Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
buildPickRepresentation, clearCaches, computeExtent, computeExtent, createPickedObject, createPickTileBuilder, drawBoundingSectors, 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.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 

Field Detail

analyticSurface

protected AnalyticSurface analyticSurface
Constructor Detail

AnalyticSurface.AnalyticSurfaceObject

public AnalyticSurface.AnalyticSurfaceObject(AnalyticSurface analyticSurface)
Method Detail

beginDrawing

protected void beginDrawing(DrawContext dc)

bind

protected void bind(DrawContext dc)

doDrawGeographic

protected void doDrawGeographic(DrawContext dc,
                                SurfaceTileDrawContext sdc)

drawGeographic

protected void drawGeographic(DrawContext dc,
                              SurfaceTileDrawContext sdc)
Description copied from class: AbstractSurfaceObject
Causes the SurfaceObject to render itself to the specified region in geographic coordinates. The specified viewport denotes the geographic region and its corresponding screen viewport.

Specified by:
drawGeographic in class AbstractSurfaceObject
Parameters:
dc - the current draw context.
sdc - the context containing a geographic region and screen viewport corresponding to a surface tile.

drawInterior

protected void drawInterior(DrawContext dc)

drawOutline

protected void drawOutline(DrawContext dc)

endDrawing

protected void endDrawing(DrawContext dc)

getSectors

public List<Sector> getSectors(DrawContext dc)
Description copied from interface: SurfaceObject
Returns a List of Sector instances that bound the surface object on the specified DrawContext.

Parameters:
dc - the DrawContext the surface object is related to.
Returns:
the surface object's bounding Sectors.

markAsModified

public void markAsModified()

NASA World Wind