public class RasterDriver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
RASTER_DATA_TYPE_BYTE |
static int |
RASTER_DATA_TYPE_DOUBLE |
static int |
RASTER_DATA_TYPE_FLOAT |
static int |
RASTER_DATA_TYPE_INT |
static int |
RASTER_DATA_TYPE_SHORT |
Constructor and Description |
---|
RasterDriver(es.unex.sextante.core.AnalysisExtent ae,
int iDataType) |
RasterDriver(es.unex.sextante.core.AnalysisExtent ae,
int iDataType,
int iNumBands) |
Modifier and Type | Method and Description |
---|---|
boolean |
export(java.lang.String sFilename,
IProjection projection) |
void |
free() |
double |
getCellSize() |
double |
getCellValue(int x,
int y) |
double |
getCellValue(int x,
int y,
int iBand) |
static java.lang.String |
getFilename(java.lang.String sRoot,
java.lang.String sExtension) |
es.unex.sextante.core.AnalysisExtent |
getGridExtent() |
java.lang.String |
getName() |
double |
getNoDataValue() |
Buffer |
getRasterBuf() |
boolean |
isInGrid(int x,
int y) |
boolean |
isNoDataValue(double dNoDataValue) |
void |
reset() |
void |
setCellValue(int x,
int y,
double dValue) |
void |
setCellValue(int x,
int y,
int iBand,
double dValue) |
void |
setName(java.lang.String name) |
void |
setNoData(int x,
int y) |
void |
setNoDataValue(double dNoDataValue) |
public static final int RASTER_DATA_TYPE_FLOAT
public static final int RASTER_DATA_TYPE_DOUBLE
public static final int RASTER_DATA_TYPE_INT
public static final int RASTER_DATA_TYPE_SHORT
public static final int RASTER_DATA_TYPE_BYTE
public RasterDriver(es.unex.sextante.core.AnalysisExtent ae, int iDataType, int iNumBands)
public RasterDriver(es.unex.sextante.core.AnalysisExtent ae, int iDataType)
public es.unex.sextante.core.AnalysisExtent getGridExtent()
public Buffer getRasterBuf()
public void reset()
public void setCellValue(int x, int y, double dValue)
public void setNoData(int x, int y)
public void setCellValue(int x, int y, int iBand, double dValue)
public double getNoDataValue()
public void setNoDataValue(double dNoDataValue)
public double getCellValue(int x, int y)
public double getCellValue(int x, int y, int iBand)
public boolean isNoDataValue(double dNoDataValue)
public boolean isInGrid(int x, int y)
public double getCellSize()
public static java.lang.String getFilename(java.lang.String sRoot, java.lang.String sExtension)
public boolean export(java.lang.String sFilename, IProjection projection)
public void setName(java.lang.String name)
public java.lang.String getName()
public void free()