NASA World Wind

gov.nasa.worldwind.data
Class ByteBufferRaster

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.data.AbstractDataRaster
          extended by gov.nasa.worldwind.data.BufferWrapperRaster
              extended by 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
ByteBufferRaster(int width, int height, Sector sector, AVList params)
           
ByteBufferRaster(int width, int height, Sector sector, ByteBuffer byteBuffer, AVList list)
           
 
Method Summary
static ByteBuffer createCompatibleBuffer(int width, int height, AVList params)
           
static DataRaster createGeoreferencedRaster(AVList params)
           
protected  void doValidateParameters(AVList list)
           
 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, 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, setValues
 

Constructor Detail

ByteBufferRaster

public ByteBufferRaster(int width,
                        int height,
                        Sector sector,
                        AVList params)

ByteBufferRaster

public ByteBufferRaster(int width,
                        int height,
                        Sector sector,
                        ByteBuffer byteBuffer,
                        AVList list)
Method Detail

createCompatibleBuffer

public static ByteBuffer createCompatibleBuffer(int width,
                                                int height,
                                                AVList params)

createGeoreferencedRaster

public static DataRaster createGeoreferencedRaster(AVList params)

doValidateParameters

protected void doValidateParameters(AVList list)
                             throws IllegalArgumentException
Throws:
IllegalArgumentException

getByteBuffer

public ByteBuffer getByteBuffer()

NASA World Wind