|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.AbstractCoverage
org.deegree.coverage.raster.AbstractRaster
public abstract class AbstractRaster
This class represents an abstract grid coverage.
| Constructor Summary | |
|---|---|
protected |
AbstractRaster()
Instantiate an AbstractRaster with no envelope. |
protected |
AbstractRaster(Envelope envelope)
Instantiate an AbstractRaster with given envelope. |
protected |
AbstractRaster(Envelope envelope,
RasterGeoReference rasterReference)
Instantiate an AbstractRaster with given envelope and raster envelope. |
| Method Summary | |
|---|---|
protected void |
checkBounds(Envelope envelope)
Checks if the coverage contains the envelope. |
abstract AbstractRaster |
copy()
Creates a copy of the raster with all the data. |
protected String |
envelopeString()
|
protected void |
extendRasterReference(RasterGeoReference rasterReference)
Extends current RasterReference with rasterReference. |
abstract SimpleRaster |
getAsSimpleRaster()
Returns the AbstractRaster as a SimpleRaster. |
int |
getColumns()
Returns columns of the raster. |
abstract RasterDataInfo |
getRasterDataInfo()
Returns available information on the raster data. |
RasterGeoReference |
getRasterReference()
|
int |
getRows()
Returns rows of the raster. |
AbstractRaster |
getSubRaster(double x,
double y,
double x2,
double y2)
Returns a subset of the raster. |
abstract AbstractRaster |
getSubRaster(Envelope env)
Returns a subset of the raster, note this is a view on the given raster. |
abstract AbstractRaster |
getSubRaster(Envelope env,
BandType[] bands)
Returns a subset of the raster, note this is a view on the given raster. |
boolean |
isSimpleRaster()
|
abstract void |
setSubRaster(double x,
double y,
AbstractRaster source)
Sets the raster with data from source. |
abstract void |
setSubRaster(double x,
double y,
int dstBand,
AbstractRaster source)
Sets a single band with data from source. |
abstract void |
setSubRaster(Envelope env,
AbstractRaster source)
Sets the raster with data from source. |
abstract void |
setSubRaster(Envelope env,
int dstBand,
AbstractRaster source)
Sets a single band with data from source. |
String |
toString()
|
| Methods inherited from class org.deegree.coverage.AbstractCoverage |
|---|
extendEnvelope, getCoordinateSystem, getEnvelope, getGeometryFactory, getLabel, getName, getSupplementProperties, setCoordinateSystem, setEnvelope, setLabel, setName, setSupplementProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractRaster()
protected AbstractRaster(Envelope envelope)
envelope - The envelope of the raster.
protected AbstractRaster(Envelope envelope,
RasterGeoReference rasterReference)
envelope - The envelope of the raster.rasterReference - The raster reference of the underlying raster.| Method Detail |
|---|
public int getColumns()
public int getRows()
protected void extendRasterReference(RasterGeoReference rasterReference)
rasterReference - The raster envelope to add to the current.protected void checkBounds(Envelope envelope)
envelope.
envelope - The envelope to check for.public abstract AbstractRaster copy()
public abstract AbstractRaster getSubRaster(Envelope env)
env - envelope of the subset
public abstract AbstractRaster getSubRaster(Envelope env,
BandType[] bands)
env - envelope of the subsetbands - to use for the given subset.
public AbstractRaster getSubRaster(double x,
double y,
double x2,
double y2)
x - left boundaryy - upper boundaryx2 - right boundaryy2 - lower boundary
public abstract void setSubRaster(Envelope env,
AbstractRaster source)
source - data to copyenv - Envelope with the destination area
public abstract void setSubRaster(double x,
double y,
AbstractRaster source)
x - left boundaryy - upper boundarysource - data to copy
public abstract void setSubRaster(double x,
double y,
int dstBand,
AbstractRaster source)
x - left boundaryy - upper boundarydstBand - selected destination bandsource - data to copy
public abstract void setSubRaster(Envelope env,
int dstBand,
AbstractRaster source)
env - destination areadstBand - selected destination bandsource - data to copypublic abstract SimpleRaster getAsSimpleRaster()
public String toString()
toString in class Objectprotected String envelopeString()
public RasterGeoReference getRasterReference()
public abstract RasterDataInfo getRasterDataInfo()
public boolean isSimpleRaster()
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||