es.prodevelop.gvsig.mobile.fmap.driver.raster
Interface RasterDriver
- All Superinterfaces:
- Driver
- All Known Subinterfaces:
- GeorreferencedRasterDriver
- All Known Implementing Classes:
- DefaultRasterDriver, EcwRasterDriver, WKFRasterDriver, WmsRasterDriver
- public interface RasterDriver
- extends Driver
Methods inherited from interface es.prodevelop.gvsig.mobile.fmap.driver.Driver |
getName |
ONE_PIXEL_IMAGE_ERROR
public static final int ONE_PIXEL_IMAGE_ERROR
- See Also:
- Constant Field Values
ONE_PIXEL_NO_DATA
public static final int ONE_PIXEL_NO_DATA
- See Also:
- Constant Field Values
fileAccepted
public boolean fileAccepted(java.io.File fName)
- Define los tipos de fichero que puede leer el driver. Si devuelve true,
el fichero está aceptado (es de los que el driver puede leer), si
devuelve false es porque no lo puede leer.
open
public void open(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
initialize
public void initialize()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getFilePath
public java.lang.String getFilePath()
getFullExtent
public java.awt.geom.Rectangle2D getFullExtent()
- Obtiene la extensión en coordenadas del mundo real que ocupa este raster
getNumBands
public int getNumBands()
- Obtiene el número de bandas del raster
getTransparency
public int getTransparency()
setTransparency
public void setTransparency(int trans)
draw
public void draw(java.awt.Graphics2D g,
ViewPort viewPort)
throws FMapDriverException
- Throws:
FMapDriverException
getRasterDataType
public int getRasterDataType()
getData
public java.lang.Object getData(int x,
int y,
int band)
getPixel
public int[] getPixel(double wcx,
double wcy)