NASA World Wind

gov.nasa.worldwind.terrain
Class WMSBasicElevationModel

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.WWObjectImpl
          extended by gov.nasa.worldwind.terrain.AbstractElevationModel
              extended by gov.nasa.worldwind.terrain.BasicElevationModel
                  extended by gov.nasa.worldwind.terrain.WMSBasicElevationModel
All Implemented Interfaces:
AVList, ElevationModel, NamedObject, Restorable, BulkRetrievable, WWObject, PropertyChangeListener, EventListener

public class WMSBasicElevationModel
extends BasicElevationModel


Nested Class Summary
protected static class WMSBasicElevationModel.CompositionDownloadPostProcessor
           
protected static class WMSBasicElevationModel.URLBuilder
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.terrain.BasicElevationModel
BasicElevationModel.DownloadPostProcessor, BasicElevationModel.Elevations, BasicElevationModel.ElevationTile, BasicElevationModel.RequestTask
 
Field Summary
 
Fields inherited from class gov.nasa.worldwind.terrain.BasicElevationModel
SERVICE_CAPABILITIES_RESOURCE_ID
 
Fields inherited from class gov.nasa.worldwind.terrain.AbstractElevationModel
missingDataFlag, missingDataValue
 
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl
changeSupport
 
Constructor Summary
WMSBasicElevationModel(AVList params)
           
WMSBasicElevationModel(Capabilities caps, AVList params)
           
WMSBasicElevationModel(Document dom, AVList params)
           
WMSBasicElevationModel(Element domElement, AVList params)
           
WMSBasicElevationModel(String restorableStateInXml)
           
 
Method Summary
 void composeElevations(Sector sector, List<? extends LatLon> latlons, int tileWidth, double[] buffer)
           
protected  Document createConfigurationDocument(AVList params)
          Appends WMS basic elevation model configuration elements to the superclass configuration document.
protected  void doGetRestorableStateForAVPair(String key, Object value, RestorableSupport rs, RestorableSupport.StateObject context)
           
protected  void downloadElevations(gov.nasa.worldwind.terrain.WMSBasicElevationModel.ElevationCompositionTile tile)
           
protected static AVList wmsGetParamsFromCapsDoc(Capabilities caps, AVList params)
           
protected static AVList wmsGetParamsFromDocument(Element domElement, AVList params)
           
protected static AVList wmsRestorableStateToParams(String stateInXml)
           
protected static void wmsRestoreStateForParams(RestorableSupport rs, RestorableSupport.StateObject context, AVList params)
           
protected static void wmsSetFallbacks(AVList params)
           
 
Methods inherited from class gov.nasa.worldwind.terrain.BasicElevationModel
addTileToCache, areElevationsInMemory, checkResources, computeLevelForResolution, contains, convertImageToElevations, countTilesInSector, createMemoryCache, createTile, doGetRestorableState, doRestoreState, doRestoreStateForObject, downloadElevations, downloadElevations, doWriteConfigurationParams, generateExtremeElevations, getBestResolution, getConfigurationParams, getDetailHint, getElevationDataByteOrder, getElevationDataPixelType, getElevations, getElevations, getEstimatedMissingDataSize, getExtremeElevations, getExtremeElevations, getExtremes, getExtremesLevel, getLevels, getLevelZeroTiles, getMaxElevation, getMemoryCache, getMinElevation, getParamsFromDocument, getRestorableState, getTargetLevel, getTileFromMemory, getTilesInSector, getUnmappedElevation, initializeResources, initPropertiesFromCapabilities, initPropertiesFromService, intersects, loadElevations, loadExtremeElevations, lookupElevation, makeLocal, needsConfigurationFile, readElevations, requestTile, restorableStateToParams, restoreState, restoreStateForParams, setByteOrder, setDetailHint, setExpiryTime, setFallbacks, setPixelType, writeConfigurationFile, writeConfigurationParams
 
Methods inherited from class gov.nasa.worldwind.terrain.AbstractElevationModel
getElevation, getExpiryTime, getMissingDataReplacement, getMissingDataSignal, getName, isNetworkRetrievalEnabled, setMissingDataReplacement, setMissingDataSignal, setName, setNetworkRetrievalEnabled, toString
 
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
propertyChange
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, 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.NamedObject
getName
 
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
 

Constructor Detail

WMSBasicElevationModel

public WMSBasicElevationModel(AVList params)

WMSBasicElevationModel

public WMSBasicElevationModel(Capabilities caps,
                              AVList params)

WMSBasicElevationModel

public WMSBasicElevationModel(Document dom,
                              AVList params)

WMSBasicElevationModel

public WMSBasicElevationModel(Element domElement,
                              AVList params)

WMSBasicElevationModel

public WMSBasicElevationModel(String restorableStateInXml)
Method Detail

composeElevations

public void composeElevations(Sector sector,
                              List<? extends LatLon> latlons,
                              int tileWidth,
                              double[] buffer)
                       throws Exception
Specified by:
composeElevations in interface ElevationModel
Overrides:
composeElevations in class AbstractElevationModel
Throws:
Exception

createConfigurationDocument

protected Document createConfigurationDocument(AVList params)
Appends WMS basic elevation model configuration elements to the superclass configuration document.

Overrides:
createConfigurationDocument in class BasicElevationModel
Parameters:
params - configuration parameters describing this WMS basic elevation model.
Returns:
a WMS basic elevation model configuration document.

doGetRestorableStateForAVPair

protected void doGetRestorableStateForAVPair(String key,
                                             Object value,
                                             RestorableSupport rs,
                                             RestorableSupport.StateObject context)
Overrides:
doGetRestorableStateForAVPair in class BasicElevationModel

downloadElevations

protected void downloadElevations(gov.nasa.worldwind.terrain.WMSBasicElevationModel.ElevationCompositionTile tile)
                           throws Exception
Throws:
Exception

wmsGetParamsFromCapsDoc

protected static AVList wmsGetParamsFromCapsDoc(Capabilities caps,
                                                AVList params)

wmsGetParamsFromDocument

protected static AVList wmsGetParamsFromDocument(Element domElement,
                                                 AVList params)

wmsRestorableStateToParams

protected static AVList wmsRestorableStateToParams(String stateInXml)

wmsRestoreStateForParams

protected static void wmsRestoreStateForParams(RestorableSupport rs,
                                               RestorableSupport.StateObject context,
                                               AVList params)

wmsSetFallbacks

protected static void wmsSetFallbacks(AVList params)

NASA World Wind

Hosted by docs.bugaco.com