public abstract class RasterBand extends Object implements Band
Modifier and Type | Field and Description |
---|---|
protected int |
dataType |
protected int |
height |
double |
noDataValue |
protected int |
width |
TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_IMAGE, TYPE_INT, TYPE_SHORT, TYPE_UNDEFINED, TYPE_USHORT
Constructor and Description |
---|
RasterBand(int height,
int width)
Constructor a llamar desde las clases hijas
|
Modifier and Type | Method and Description |
---|---|
int |
getDataSize()
Obtiene el tamaño del tipo de dato en bytes
|
int |
getDataType()
Obtiene el tipo de dato.
|
int |
getHeight()
Alto de la banda
|
int |
getWidth()
Ancho de la banda
|
void |
setDataType(int dataType) |
int |
sizeof()
Obtiene el tamaño del buffer
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuf, getLine, setLine
dispose
public double noDataValue
protected int width
protected int height
protected int dataType
public RasterBand(int height, int width)
width
- height
- public int getWidth()
Band
public int getHeight()
Band
public int getDataType()
Band
getDataType
in interface Band
public void setDataType(int dataType)
public int getDataSize()
public int sizeof()