org.deegree.coverage.raster.data
Class DataView
java.lang.Object
org.deegree.coverage.raster.geom.RasterRect
org.deegree.coverage.raster.data.DataView
public class DataView
- extends RasterRect
The DataView class defines a view on Rasterdata.
- Version:
- $Revision: 21534 $, $Date: 2009-12-17 16:48:59 +0100 (Do, 17 Dez 2009) $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
|
Constructor Summary |
DataView(int xOffset,
int yOffset,
int width,
int height,
RasterDataInfo viewOnData)
Constructor if the info on the view on the data equals the original raster data info. |
DataView(int xOffset,
int yOffset,
int width,
int height,
RasterDataInfo viewOnData,
RasterDataInfo originalInfo)
|
DataView(RasterRect rasterRect,
RasterDataInfo viewOnData)
Constructor if the info on the view on the data equals the original raster data info. |
DataView(RasterRect rasterRect,
RasterDataInfo viewOnData,
RasterDataInfo originalInfo)
|
|
Method Summary |
int |
getBandOffset(int requestedBand)
Returns the band number of the original data for a requested band in this view on the data. |
dataInfo
public final RasterDataInfo dataInfo
- the view info on the raster data
map
Map<BandType,Integer> map
DataView
public DataView(int xOffset,
int yOffset,
int width,
int height,
RasterDataInfo viewOnData)
- Constructor if the info on the view on the data equals the original raster data info.
- Parameters:
xOffset - offset in the original raster data x-axisyOffset - offset in the original raster data y-axiswidth - the width of the new view on the original dataheight - the height of the view on the original dataviewOnData - information on the view of this data.
DataView
public DataView(RasterRect rasterRect,
RasterDataInfo viewOnData)
- Constructor if the info on the view on the data equals the original raster data info.
- Parameters:
rasterRect - to get the views parameters from.viewOnData - information on the view of this data.
DataView
public DataView(RasterRect rasterRect,
RasterDataInfo viewOnData,
RasterDataInfo originalInfo)
- Parameters:
rasterRect - to get the views parameters from.viewOnData - information on the view of this data.originalInfo - used to calculate the band offsets for this view.
DataView
public DataView(int xOffset,
int yOffset,
int width,
int height,
RasterDataInfo viewOnData,
RasterDataInfo originalInfo)
- Parameters:
xOffset - offset in the original raster data x-axisyOffset - offset in the original raster data y-axiswidth - the width of the new view on the original dataheight - the height of the view on the original dataviewOnData - information on the view of this data.originalInfo - used to calculate the band offsets for this view.
getBandOffset
public int getBandOffset(int requestedBand)
- Returns the band number of the original data for a requested band in this view on the data.
- Parameters:
requestedBand - of the view
- Returns:
- the band number in the original data.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>