public class FLyrRasterReadOnlyIRasterLayer_deprecated
extends es.unex.sextante.dataObjects.AbstractRasterLayer
INTERPOLATION_BicubicSpline, INTERPOLATION_Bilinear, INTERPOLATION_BSpline, INTERPOLATION_InverseDistance, INTERPOLATION_NearestNeighbour, RASTER_DATA_TYPE_BYTE, RASTER_DATA_TYPE_DOUBLE, RASTER_DATA_TYPE_FLOAT, RASTER_DATA_TYPE_INT, RASTER_DATA_TYPE_SHORT
Constructor and Description |
---|
FLyrRasterReadOnlyIRasterLayer_deprecated()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
This method closes the data object, which was opened using the open() method.
|
void |
create(FLyrRaster obj)
Deprecated.
|
void |
free()
Deprecated.
This method deallocates memory used by the data object.
|
int |
getBandsCount()
Deprecated.
Returns the number of bands of the layer
|
Object |
getBaseDataObject()
Deprecated.
Returns the base data object (i.e. the object that this class wraps, which contains the data itself)
|
double |
getCellValueInLayerCoords(int x,
int y,
int iBand)
Deprecated.
Returns the value of a cell in the original image coords, that is, not using the query window.
|
Object |
getCRS()
Deprecated.
Returns an object with information about the CRS associated to this layer.
|
int |
getDataType()
Deprecated.
Returns the data type of the layer
|
Rectangle2D |
getFullExtent()
Deprecated.
Returns the extent covered by the layer
|
double |
getLayerCellSize()
Deprecated.
Return the original cellsize of the layer.
|
es.unex.sextante.core.AnalysisExtent |
getLayerGridExtent()
Deprecated.
Returns the extent of the whole layer
|
String |
getName()
Deprecated.
Returns the name of this data object
|
double |
getNoDataValue()
Deprecated.
Gets the no-data value of the layer
|
es.unex.sextante.outputs.IOutputChannel |
getOutputChannel()
Deprecated.
Returns the channel associated to this data object.
|
void |
open()
Deprecated.
This methods initialize the data object, so it is ready to be accessed
|
void |
postProcess()
Deprecated.
This method post-processes the object after it has been created.
|
void |
setCellValue(int x,
int y,
int iBand,
double dValue)
Deprecated.
Sets the value at a cell
|
void |
setName(String name)
Deprecated.
Sets a new name for this object
|
void |
setNoData(int x,
int y)
Deprecated.
Set the value of a cell in the first band of a layer to the no-data value
|
void |
setNoDataValue(double dNoDataValue)
Deprecated.
Sets the no-data value of the layer
|
void |
setWindowExtent(es.unex.sextante.core.AnalysisExtent extent)
Deprecated.
Sets a new query window extent
|
add, addToCellValue, addToCellValue, assign, assign, assignNoData, calculateHistogram, calculateStatistics, getAccumulatedHistogram, getAccumulatedHistogram, getAspect, getCellValueAsByte, getCellValueAsByte, getCellValueAsDouble, getCellValueAsDouble, getCellValueAsFloat, getCellValueAsFloat, getCellValueAsInt, getCellValueAsInt, getCellValueAsShort, getCellValueAsShort, getDirToNextDownslopeCell, getDirToNextDownslopeCell, getDistToNeighborInDir, getHistogram, getHistogram, getMaxValue, getMaxValue, getMeanValue, getMeanValue, getMinValue, getMinValue, getNX, getNY, getSlope, getSubMatrix3x3, getUnitDistToNeighborInDir, getValueAt, getValueAt, getVariance, getVariance, getWindowCellSize, getWindowGridExtent, isInWindow, isNoDataValue, multiply, setCellValue, setConstants, setFullExtent, setInterpolationMethod, setNoData, setStatisticsHaveToBeCalculated, setWindowExtent, toString
public FLyrRasterReadOnlyIRasterLayer_deprecated()
public void create(FLyrRaster obj)
public int getDataType()
es.unex.sextante.dataObjects.IRasterLayer
public void setCellValue(int x, int y, int iBand, double dValue)
es.unex.sextante.dataObjects.IRasterLayer
x
- the x coordinate (cols)y
- the y coordinate (rows)iBand
- the band (zero-based)dValue
- the new valuepublic void setNoDataValue(double dNoDataValue)
es.unex.sextante.dataObjects.IRasterLayer
dNoDataValue
- the new no-data valuepublic void setNoData(int x, int y)
es.unex.sextante.dataObjects.IRasterLayer
setNoData
in interface es.unex.sextante.dataObjects.IRasterLayer
setNoData
in class es.unex.sextante.dataObjects.AbstractRasterLayer
x
- the x coordinate(col) of the cell to set to no-datay
- the y coordinate(row) of the cell to set to no-datapublic double getNoDataValue()
es.unex.sextante.dataObjects.IRasterLayer
public double getCellValueInLayerCoords(int x, int y, int iBand)
es.unex.sextante.dataObjects.IRasterLayer
x
- the x coordinate(col) of the celly
- the y coordinate(row) of the celliBand
- the band to be queriedpublic int getBandsCount()
es.unex.sextante.dataObjects.IRasterLayer
public String getName()
es.unex.sextante.dataObjects.IDataObject
public void postProcess()
es.unex.sextante.dataObjects.IDataObject
public void open()
es.unex.sextante.dataObjects.IDataObject
public void close()
es.unex.sextante.dataObjects.IDataObject
public Rectangle2D getFullExtent()
es.unex.sextante.dataObjects.ILayer
public es.unex.sextante.core.AnalysisExtent getLayerGridExtent()
es.unex.sextante.dataObjects.IRasterLayer
public void setWindowExtent(es.unex.sextante.core.AnalysisExtent extent)
es.unex.sextante.dataObjects.IRasterLayer
setWindowExtent
in interface es.unex.sextante.dataObjects.IRasterLayer
setWindowExtent
in class es.unex.sextante.dataObjects.AbstractRasterLayer
extent
- the new grid extent to set fro this layerpublic double getLayerCellSize()
es.unex.sextante.dataObjects.IRasterLayer
public Object getCRS()
es.unex.sextante.dataObjects.ILayer
public void setName(String name)
es.unex.sextante.dataObjects.IDataObject
name
- the new namepublic void free()
es.unex.sextante.dataObjects.IDataObject
public Object getBaseDataObject()
es.unex.sextante.dataObjects.IDataObject
public es.unex.sextante.outputs.IOutputChannel getOutputChannel()
es.unex.sextante.dataObjects.IDataObject