deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.coverage.raster.utils
Class RawDataBufferFloat

java.lang.Object
  extended by java.awt.image.DataBuffer
      extended by org.deegree.coverage.raster.utils.RawDataBufferFloat

public class RawDataBufferFloat
extends DataBuffer

The RawDataBufferFloat class TODO add class documentation here.

Version:
$Revision: 22627 $, $Date: 2010-02-19 10:52:01 +0100 (Fr, 19 Feb 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Field Summary
 
Fields inherited from class java.awt.image.DataBuffer
banks, dataType, offset, offsets, size, TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_SHORT, TYPE_UNDEFINED, TYPE_USHORT
 
Constructor Summary
RawDataBufferFloat(ByteBuffer floatBuffer, float noData, RasterRect bufferDomain, DataView view)
           
 
Method Summary
 int getElem(int i)
           
 int getElem(int bank, int i)
           
 float getElemFloat(int i)
           
 float getElemFloat(int bank, int i)
           
 void setElem(int i, int val)
           
 void setElem(int bank, int i, int val)
           
 
Methods inherited from class java.awt.image.DataBuffer
getDataType, getDataTypeSize, getElemDouble, getElemDouble, getNumBanks, getOffset, getOffsets, getSize, setElemDouble, setElemDouble, setElemFloat, setElemFloat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawDataBufferFloat

public RawDataBufferFloat(ByteBuffer floatBuffer,
                          float noData,
                          RasterRect bufferDomain,
                          DataView view)
Parameters:
floatBuffer -
Method Detail

getElem

public int getElem(int i)
Overrides:
getElem in class DataBuffer

getElemFloat

public float getElemFloat(int i)
Overrides:
getElemFloat in class DataBuffer

getElemFloat

public float getElemFloat(int bank,
                          int i)
Overrides:
getElemFloat in class DataBuffer

setElem

public void setElem(int i,
                    int val)
Overrides:
setElem in class DataBuffer

getElem

public int getElem(int bank,
                   int i)
Specified by:
getElem in class DataBuffer

setElem

public void setElem(int bank,
                    int i,
                    int val)
Specified by:
setElem in class DataBuffer

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>