|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cresques.io.GeoFile org.cresques.io.GeoRasterFile org.cresques.io.MapServerInputStream
Field Summary | |
protected MapServerClient |
mapServer
|
Fields inherited from class org.cresques.io.GeoRasterFile |
bandCount, bBandNr, BLUE_BAND, doTransparency, gBandNr, GREEN_BAND, rBandNr, RED_BAND, tFilter, updatable |
Fields inherited from class org.cresques.io.GeoFile |
bytesReaded, extent, lineCnt |
Constructor Summary | |
MapServerInputStream(IProjection proj,
MapServerClient server)
|
|
MapServerInputStream(IProjection proj,
java.lang.String name)
|
Method Summary | |
void |
close()
Cierra el fichero y libera los recursos. |
int |
getBlockSize()
|
java.lang.Object |
getData(int x,
int y,
int band)
Obtiene el valor del raster en la coordenada que se le pasa. |
int |
getHeight()
Obtiene el ancho de la imagen |
Extent |
getView()
Obtiene el extent asignado |
int |
getWidth()
Obtiene el ancho de la imagen |
byte[] |
getWindow(int ulX,
int ulY,
int sizeX,
int sizeY,
int band)
|
GeoFile |
load()
Carga un fichero raster. |
void |
reProject(ICoordTrans rp)
Reproyección. |
void |
setExtent(Extent e)
|
void |
setSize(int w,
int h)
|
void |
setView(Extent e)
Asigna un nuevo Extent |
java.awt.Image |
updateImage(int width,
int height,
ICoordTrans rp)
Actualiza la imagen |
java.awt.Image |
updateImage(int width,
int height,
ICoordTrans rp,
java.awt.Image img,
int flags)
|
java.awt.Image |
updateImage(int width,
int height,
ICoordTrans rp,
java.awt.Image img,
int origBand,
int destBand)
Actualiza la/s banda/s especificadas en la imagen. |
Methods inherited from class org.cresques.io.GeoRasterFile |
cornersToWorldFile, fileIsSupported, getAlpha, getBand, getBandCount, getContour, getDataType, getObjects, getTransparency, openFile, printWF, registerExtension, saveWF, setAlpha, setBand, setDataType, setTransparency, setTransparency, setUpdatable |
Methods inherited from class org.cresques.io.GeoFile |
filterWS, getExtent, getFileSize, getName, getProjection, getTime, setFileSize, setName, setProjection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected MapServerClient mapServer
Constructor Detail |
public MapServerInputStream(IProjection proj, java.lang.String name)
public MapServerInputStream(IProjection proj, MapServerClient server)
Method Detail |
public GeoFile load()
GeoRasterFile
load
in class GeoRasterFile
public void close()
GeoRasterFile
close
in class GeoRasterFile
public void setExtent(Extent e)
public void setSize(int w, int h)
public int getWidth()
GeoRasterFile
getWidth
in class GeoRasterFile
public int getHeight()
GeoRasterFile
getHeight
in class GeoRasterFile
public void reProject(ICoordTrans rp)
GeoRasterFile
reProject
in interface Projected
reProject
in class GeoRasterFile
rp
- Coordenadas de la transformaciónpublic void setView(Extent e)
GeoRasterFile
setView
in class GeoRasterFile
e
- Extentpublic Extent getView()
GeoRasterFile
getView
in class GeoRasterFile
public java.awt.Image updateImage(int width, int height, ICoordTrans rp)
GeoRasterFile
updateImage
in class GeoRasterFile
width
- anchoheight
- altorp
- Reproyección
public java.awt.Image updateImage(int width, int height, ICoordTrans rp, java.awt.Image img, int flags)
public java.awt.Image updateImage(int width, int height, ICoordTrans rp, java.awt.Image img, int origBand, int destBand)
GeoRasterFile
updateImage
in class GeoRasterFile
width
- anchoheight
- altorp
- reproyecciónimg
- imagen
public java.lang.Object getData(int x, int y, int band)
GeoRasterFile
getData
in class GeoRasterFile
x
- coordenada Xy
- coordenada Y
public int getBlockSize()
getBlockSize
in class GeoRasterFile
public byte[] getWindow(int ulX, int ulY, int sizeX, int sizeY, int band)
getWindow
in class GeoRasterFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |