public class RasterMemoryBuffer.ByteBand extends RasterBand
Modifier and Type | Field and Description |
---|---|
byte[][] |
buf |
dataType, height, noDataValue, width
TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_IMAGE, TYPE_INT, TYPE_SHORT, TYPE_UNDEFINED, TYPE_USHORT
Constructor and Description |
---|
ByteBand(int height,
int width,
boolean malloc) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
protected void |
finalize() |
java.lang.Object |
getBuf()
Obtiene el buffer de datos de la banda
|
java.lang.Object |
getLine(int line)
Obtiene una linea de la banda
|
void |
setLine(int line,
java.lang.Object value)
Asigna una linea de la banda
|
getDataSize, getDataType, getHeight, getWidth, setDataType, sizeof
public java.lang.Object getLine(int line)
Band
public void setLine(int line, java.lang.Object value)
Band
line
- Número de líneavalue
- Valor representado por un array del tipo de dato correspondientepublic java.lang.Object getBuf()
Band
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable