Package gov.nasa.worldwind.data
Class ByteBufferRaster
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.data.AbstractDataRaster
-
- gov.nasa.worldwind.data.BufferWrapperRaster
-
- gov.nasa.worldwind.data.ByteBufferRaster
-
- All Implemented Interfaces:
AVList
,Cacheable
,DataRaster
,Disposable
public class ByteBufferRaster extends BufferWrapperRaster
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nasa.worldwind.data.BufferWrapperRaster
BufferWrapperRaster.InterpolantLookupTable
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.data.BufferWrapperRaster
buffer
-
Fields inherited from class gov.nasa.worldwind.data.AbstractDataRaster
height, width
-
-
Constructor Summary
Constructors Constructor Description ByteBufferRaster(int width, int height, Sector sector, AVList params)
ByteBufferRaster(int width, int height, Sector sector, java.nio.ByteBuffer byteBuffer, AVList list)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.nio.ByteBuffer
createCompatibleBuffer(int width, int height, AVList params)
static DataRaster
createGeoreferencedRaster(AVList params)
protected void
doValidateParameters(AVList list)
java.nio.ByteBuffer
getByteBuffer()
-
Methods inherited from class gov.nasa.worldwind.data.BufferWrapperRaster
computeGeographicToRasterTransform, computeSourceToDestTransform, createLookupTable, createSubRaster, dispose, doDrawOnTo, drawOnTo, fill, get, getBuffer, getDoubleAtPosition, getExtremes, getSizeInBytes, getTransparentValue, indexFor, put, sample, setDoubleAtPosition, setTransparentValue
-
Methods inherited from class gov.nasa.worldwind.data.AbstractDataRaster
computeClipRect, getHeight, getSector, getSubRaster, getSubRaster, getWidth, setValue
-
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, 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, setValues
-
-
-
-
Method Detail
-
doValidateParameters
protected void doValidateParameters(AVList list) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
createCompatibleBuffer
public static java.nio.ByteBuffer createCompatibleBuffer(int width, int height, AVList params)
-
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
-
createGeoreferencedRaster
public static DataRaster createGeoreferencedRaster(AVList params)
-
-