Package gov.nasa.worldwind.data
Class TiledImageProducer
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.WWObjectImpl
-
- gov.nasa.worldwind.data.AbstractDataStoreProducer
-
- gov.nasa.worldwind.data.TiledRasterProducer
-
- gov.nasa.worldwind.data.TiledImageProducer
-
- All Implemented Interfaces:
AVList,DataStoreProducer,MessageListener,WWObject,java.beans.PropertyChangeListener,java.util.EventListener
public class TiledImageProducer extends TiledRasterProducer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nasa.worldwind.data.AbstractDataStoreProducer
AbstractDataStoreProducer.SourceInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringDEFAULT_IMAGE_FORMATprotected static java.lang.StringDEFAULT_TEXTURE_FORMATprotected static DataRasterReader[]readers-
Fields inherited from class gov.nasa.worldwind.data.AbstractDataStoreProducer
productionParams
-
-
Constructor Summary
Constructors Constructor Description TiledImageProducer()TiledImageProducer(MemoryCache cache, int writeThreadPoolSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.DocumentcreateConfigDoc(AVList params)Returns a Layer configuration document which describes the tiled imagery produced by this TiledImageProducer.protected DataRastercreateDataRaster(int width, int height, Sector sector, AVList params)protected DataRasterReader[]getDataRasterReaders()protected DataRasterWriter[]getDataRasterWriters()java.lang.StringgetDataSourceDescription()protected voidinitProductionParameters(AVList params)protected java.lang.StringvalidateDataSource(java.lang.Object source, AVList params)protected java.lang.StringvalidateDataSourceParams(AVList params, java.lang.String name)-
Methods inherited from class gov.nasa.worldwind.data.TiledRasterProducer
appendProperties, appendSource, assembleDataRasters, assembleDataSource, calculateTileCount, computeBoundingSector, computeDesiredTileDelta, computeIntegralLevelZeroTileDelta, computeNumLevels, computeRasterPixelSize, computeRasterTileDelta, computeSmallestPixelSize, createDefaultCache, createDefaultTileWriteService, createSubTiles, createTileRaster, doStartProduction, drawDataSources, drawDescendants, extractMaxLevelLimit, findWriterFor, getCache, getConfigFileInstallLocation, getDataRasters, getReaderFactory, getTileWriteSemaphore, getTileWriteService, initLevelSetParameters, installConfigFile, installLevelSet, installLocationFor, installLocationForTile, installRasterServerConfigFile, installTileRaster, installTileRasterComplete, installTileRasterLater, isDataSetLarge, isFinalLevel, isWithinLatLonLimits, removeProductionState, startProgress, updateProgress, validateProductionParameters, waitForInstallTileTasks
-
Methods inherited from class gov.nasa.worldwind.data.AbstractDataStoreProducer
acceptsDataSource, containsDataSource, getDataSourceList, getDataSources, getProductionParameters, getProductionResults, getProductionResultsList, getStoreParameters, isStopped, offerAllDataSources, offerDataSource, removeAllDataSources, removeDataSource, setStoreParameters, startProduction, stopProduction
-
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.event.MessageListener
onMessage
-
-
-
-
Field Detail
-
DEFAULT_IMAGE_FORMAT
protected static final java.lang.String DEFAULT_IMAGE_FORMAT
- See Also:
- Constant Field Values
-
DEFAULT_TEXTURE_FORMAT
protected static final java.lang.String DEFAULT_TEXTURE_FORMAT
- See Also:
- Constant Field Values
-
readers
protected static DataRasterReader[] readers
-
-
Constructor Detail
-
TiledImageProducer
public TiledImageProducer(MemoryCache cache, int writeThreadPoolSize)
-
TiledImageProducer
public TiledImageProducer()
-
-
Method Detail
-
getDataSourceDescription
public java.lang.String getDataSourceDescription()
- Specified by:
getDataSourceDescriptionin interfaceDataStoreProducer- Overrides:
getDataSourceDescriptionin classTiledRasterProducer
-
createDataRaster
protected DataRaster createDataRaster(int width, int height, Sector sector, AVList params)
- Specified by:
createDataRasterin classTiledRasterProducer
-
getDataRasterReaders
protected DataRasterReader[] getDataRasterReaders()
- Specified by:
getDataRasterReadersin classTiledRasterProducer
-
getDataRasterWriters
protected DataRasterWriter[] getDataRasterWriters()
- Specified by:
getDataRasterWritersin classTiledRasterProducer
-
validateDataSource
protected java.lang.String validateDataSource(java.lang.Object source, AVList params)- Specified by:
validateDataSourcein classAbstractDataStoreProducer
-
validateDataSourceParams
protected java.lang.String validateDataSourceParams(AVList params, java.lang.String name)
-
initProductionParameters
protected void initProductionParameters(AVList params)
- Specified by:
initProductionParametersin classTiledRasterProducer
-
createConfigDoc
protected org.w3c.dom.Document createConfigDoc(AVList params)
Returns a Layer configuration document which describes the tiled imagery produced by this TiledImageProducer. The document's contents are based on the configuration document for a TiledImageLayer, except this document describes an offline dataset. This returns null if the parameter list is null, or if the configuration document cannot be created for any reason.- Specified by:
createConfigDocin classTiledRasterProducer- Parameters:
params- the parameters which describe a Layer configuration document's contents.- Returns:
- the configuration document, or null if the parameter list is null or does not contain the required parameters.
-
-