Class CoverageLayer

java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.layers.AbstractLayer
gov.nasa.worldwind.layers.RenderableLayer
repast.simphony.visualization.gis3D.CoverageLayer
All Implemented Interfaces:
gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.Disposable, gov.nasa.worldwind.event.MessageListener, gov.nasa.worldwind.layers.Layer, gov.nasa.worldwind.Restorable, gov.nasa.worldwind.WWObject, PropertyChangeListener, EventListener

public class CoverageLayer extends gov.nasa.worldwind.layers.RenderableLayer
Layer class for displaying grid coverage (rasters) as WorldWind RenderableLayer. Each layer instance can hold a single coverage object.
Author:
Eric Tatara
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Geography<?>
     
    protected String
     
    protected BufferedImage
     
    protected boolean
     
    protected CoverageStyle<?>
     
     

    Fields inherited from class gov.nasa.worldwind.layers.RenderableLayer

    pickSupport, renderables, renderablesOverride
  • Constructor Summary

    Constructors
    Constructor
    Description
    CoverageLayer(String layerName, CoverageStyle<?> style)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Override dispose() to prevent losing renderables on frame resize/dock.
    gov.nasa.worldwind.geom.Sector
     
    getProbedObject(gov.nasa.worldwind.geom.Position position)
    Create a probe object that represents the value of the coverage at the probed location, which is provided via argument rather than referenced from a projection as is usually dont with the other probe object classes.
    Gets the style used by this display layer.
    gov.nasa.worldwind.render.SurfaceImage
     
    void
    Set the geography for this display.
    void
    Sets the style used by this display layer.
    void
    Update the coverage with raster data an styling

    Methods inherited from class gov.nasa.worldwind.layers.RenderableLayer

    addRenderable, addRenderable, addRenderables, clearRenderables, disposeRenderables, doPick, doPick, doPreRender, doPreRender, doRender, doRender, getActiveRenderables, getNumRenderables, getOpacity, getRenderables, onMessage, removeAllRenderables, removeRenderable, setOpacity, setRenderables, toString

    Methods inherited from class gov.nasa.worldwind.layers.AbstractLayer

    createLayerConfigElements, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getRestorableState, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, restoreState, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setPickEnabled, setScreenCredit

    Methods inherited from class gov.nasa.worldwind.WWObjectImpl

    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, 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 java.beans.PropertyChangeListener

    propertyChange
  • Field Details

  • Constructor Details

  • Method Details

    • getStyle

      public CoverageStyle getStyle()
      Gets the style used by this display layer.
      Returns:
      the style used by this display layer.
    • setStyle

      public void setStyle(CoverageStyle style)
      Sets the style used by this display layer.
      Parameters:
      style - the new style
    • setGeography

      public void setGeography(Geography geography)
      Set the geography for this display.
      Parameters:
      geography -
    • update

      public void update()
      Update the coverage with raster data an styling
    • dispose

      public void dispose()
      Override dispose() to prevent losing renderables on frame resize/dock.
      Specified by:
      dispose in interface gov.nasa.worldwind.Disposable
      Overrides:
      dispose in class gov.nasa.worldwind.layers.RenderableLayer
    • getBoundingSector

      public gov.nasa.worldwind.geom.Sector getBoundingSector()
    • getSurfaceImage

      public gov.nasa.worldwind.render.SurfaceImage getSurfaceImage()
    • getProbedObject

      public CoverageProbeObject getProbedObject(gov.nasa.worldwind.geom.Position position)
      Create a probe object that represents the value of the coverage at the probed location, which is provided via argument rather than referenced from a projection as is usually dont with the other probe object classes.
      Parameters:
      point -
      Returns: