public class DefaultRasterClip extends java.lang.Object implements RasterClip
Constructor and Description |
---|
DefaultRasterClip() |
Modifier and Type | Method and Description |
---|---|
void |
execute(SimpleTaskStatus taskStatus) |
java.util.List<java.lang.Integer> |
getBands() |
int |
getColumns() |
Envelope |
getEnvelope() |
java.io.File |
getFolder() |
int |
getInterpolationMethod() |
RasterLayer |
getLayer() |
java.lang.String |
getLayerNamePrefix() |
double |
getPixelSizeX() |
double |
getPixelSizeY() |
int |
getRows() |
boolean |
isCreateOneLayerPerBand() |
boolean |
isSaveToNewRasterFile() |
void |
setBands(java.util.List<java.lang.Integer> bands) |
void |
setColumns(int columns) |
void |
setCreateOneLayerPerBand(boolean createOneLayerPerBand) |
void |
setEnvelope(Envelope envelope) |
void |
setFolder(java.io.File folder) |
void |
setInterpolationMethod(int interpolationMethod) |
void |
setLayer(RasterLayer layer) |
void |
setLayerNamePrefix(java.lang.String layerNamePrefix) |
void |
setPixelSizeX(double pixelSizeX) |
void |
setPixelSizeY(double pixelSizeY) |
void |
setRows(int rows) |
void |
setSaveToNewRasterFile(boolean saveToNewRasterFile) |
public RasterLayer getLayer()
getLayer
in interface RasterClip
public void setLayer(RasterLayer layer)
setLayer
in interface RasterClip
layer
- the layer to setpublic void execute(SimpleTaskStatus taskStatus) throws ClipException
execute
in interface RasterClip
ClipException
public void setEnvelope(Envelope envelope)
setEnvelope
in interface RasterClip
public Envelope getEnvelope()
getEnvelope
in interface RasterClip
public void setPixelSizeX(double pixelSizeX)
setPixelSizeX
in interface RasterClip
public double getPixelSizeX()
getPixelSizeX
in interface RasterClip
public void setPixelSizeY(double pixelSizeY)
setPixelSizeY
in interface RasterClip
public double getPixelSizeY()
getPixelSizeY
in interface RasterClip
public void setInterpolationMethod(int interpolationMethod)
setInterpolationMethod
in interface RasterClip
public int getInterpolationMethod()
getInterpolationMethod
in interface RasterClip
public void setBands(java.util.List<java.lang.Integer> bands)
setBands
in interface RasterClip
public java.util.List<java.lang.Integer> getBands()
getBands
in interface RasterClip
public void setLayerNamePrefix(java.lang.String layerNamePrefix)
setLayerNamePrefix
in interface RasterClip
public java.lang.String getLayerNamePrefix()
getLayerNamePrefix
in interface RasterClip
public void setCreateOneLayerPerBand(boolean createOneLayerPerBand)
setCreateOneLayerPerBand
in interface RasterClip
public boolean isCreateOneLayerPerBand()
isCreateOneLayerPerBand
in interface RasterClip
public void setFolder(java.io.File folder)
setFolder
in interface RasterClip
public java.io.File getFolder()
getFolder
in interface RasterClip
public void setSaveToNewRasterFile(boolean saveToNewRasterFile)
setSaveToNewRasterFile
in interface RasterClip
public boolean isSaveToNewRasterFile()
isSaveToNewRasterFile
in interface RasterClip
public int getRows()
getRows
in interface RasterClip
public void setRows(int rows)
setRows
in interface RasterClip
public int getColumns()
getColumns
in interface RasterClip
public void setColumns(int columns)
setColumns
in interface RasterClip