|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataRaster
Represents a raster of imagery or elevations.
| Method Summary | |
|---|---|
void |
drawOnTo(DataRaster canvas)
Copies this raster into a specified raster. |
int |
getHeight()
Returns the raster's height in raster units. |
Sector |
getSector()
Returns the region covered be the data. |
DataRaster |
getSubRaster(AVList params)
Returns a portion of this raster as another raster. |
DataRaster |
getSubRaster(int width,
int height,
Sector sector,
AVList params)
Returns a portion of this raster as another raster. |
int |
getWidth()
Returns the raster's width in raster units. |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from interface gov.nasa.worldwind.Disposable |
|---|
dispose |
| Method Detail |
|---|
void drawOnTo(DataRaster canvas)
canvas - - the raster to copy into.int getHeight()
Sector getSector()
DataRaster getSubRaster(AVList params)
params - a list of parameters that specify the width, height and sector of the region to return. Specify
these values using AVKey.WIDTH, AVKey.HEIGHT and AVKey.SECTOR.
IllegalArgumentException - if the specified parameter list is missing the width, height or sector keys or
any of those values are invalid.
DataRaster getSubRaster(int width,
int height,
Sector sector,
AVList params)
width - the width to make the returned sub-raster.height - the height to make the returned sub-raster.sector - the sector to copy.params - a list of parameters that specify the width, height and sector of the region to return. Specify
these values using AVKey.WIDTH, AVKey.HEIGHT and AVKey.SECTOR.
IllegalArgumentException - if the sector is null or the width, height or sector are invalid.int getWidth()
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||