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: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

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 -
noData -
bufferDomain -
view -
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


Copyright © 2011. All Rights Reserved.