public abstract class GridWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INTERPOLATION_BicubicSpline |
static int |
INTERPOLATION_Bilinear |
static int |
INTERPOLATION_BSpline |
static int |
INTERPOLATION_InverseDistance |
static int |
INTERPOLATION_NearestNeighbour |
protected int |
m_iOffsetX |
protected int |
m_iOffsetY |
protected ISextanteRasterLayer |
m_Layer |
protected GridExtent |
m_WindowExtent |
Constructor and Description |
---|
GridWrapper(ISextanteRasterLayer layer,
GridExtent windowExtent) |
Modifier and Type | Method and Description |
---|---|
double |
getCellSize() |
abstract byte |
getCellValueAsByte(int x,
int y) |
abstract byte |
getCellValueAsByte(int x,
int y,
int band) |
abstract double |
getCellValueAsDouble(int x,
int y) |
abstract double |
getCellValueAsDouble(int x,
int y,
int band) |
abstract float |
getCellValueAsFloat(int x,
int y) |
abstract float |
getCellValueAsFloat(int x,
int y,
int band) |
abstract int |
getCellValueAsInt(int x,
int y) |
abstract int |
getCellValueAsInt(int x,
int y,
int band) |
abstract short |
getCellValueAsShort(int x,
int y) |
abstract short |
getCellValueAsShort(int x,
int y,
int band) |
protected double |
getCellValueInLayerCoords(int x,
int y,
int band) |
GridExtent |
getGridExtent() |
double |
getNoDataValue() |
int |
getNX() |
int |
getNY() |
double |
getValueAt(double xPosition,
double yPosition,
int band) |
protected boolean |
isInLayer(int x,
int y,
int iBand) |
boolean |
isNoDataValue(double dValue) |
void |
setInterpolationMethod(int iMethod) |
public static final int INTERPOLATION_NearestNeighbour
public static final int INTERPOLATION_Bilinear
public static final int INTERPOLATION_InverseDistance
public static final int INTERPOLATION_BicubicSpline
public static final int INTERPOLATION_BSpline
protected ISextanteRasterLayer m_Layer
protected int m_iOffsetX
protected int m_iOffsetY
protected GridExtent m_WindowExtent
public GridWrapper(ISextanteRasterLayer layer, GridExtent windowExtent)
public abstract byte getCellValueAsByte(int x, int y)
public abstract byte getCellValueAsByte(int x, int y, int band)
public abstract short getCellValueAsShort(int x, int y)
public abstract short getCellValueAsShort(int x, int y, int band)
public abstract int getCellValueAsInt(int x, int y)
public abstract int getCellValueAsInt(int x, int y, int band)
public abstract float getCellValueAsFloat(int x, int y)
public abstract float getCellValueAsFloat(int x, int y, int band)
public abstract double getCellValueAsDouble(int x, int y)
public abstract double getCellValueAsDouble(int x, int y, int band)
protected double getCellValueInLayerCoords(int x, int y, int band)
public boolean isNoDataValue(double dValue)
public double getNoDataValue()
public int getNY()
public int getNX()
public double getCellSize()
public GridExtent getGridExtent()
protected boolean isInLayer(int x, int y, int iBand)
public double getValueAt(double xPosition, double yPosition, int band)
public void setInterpolationMethod(int iMethod)