Revision 2315 org.gvsig.raster/branches/org.gvsig.raster_dataaccess_refactoring/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/provider/RasterProvider.java
RasterProvider.java | ||
---|---|---|
478 | 478 |
public RasterDataParameters getDataParameters(); |
479 | 479 |
|
480 | 480 |
/** |
481 |
* Lee un bloque completo de datos del raster y devuelve un array tridimensional del tipo correcto. Esta funci?n es util |
|
482 |
* para una lectura rapida de todo el fichero sin necesidad de asignar vista. |
|
483 |
* @param pos Posici?n donde se empieza a leer |
|
484 |
* @param blockHeight Altura m?xima del bloque leido |
|
485 |
* @return Object que es un array tridimendional del tipo de datos del raster. (Bandas X Filas X Columnas) |
|
486 |
* @throws InvalidSetViewException |
|
487 |
* @throws FileNotOpenException |
|
488 |
* @throws RasterDriverException |
|
481 |
* Reads a complete block of data and returns an tridimensional array of the right type. This function is useful |
|
482 |
* to read a file very fast without setting a view. |
|
483 |
* @deprecated This method is only used to generate statistics. The statistics have to change the way in |
|
484 |
* which are calculated. Then this function will be eliminated. |
|
489 | 485 |
*/ |
490 | 486 |
public Object readBlock(int pos, int blockHeight, double scale) |
491 | 487 |
throws InvalidSetViewException, FileNotOpenException, RasterDriverException, ProcessInterruptedException; |
Also available in: Unified diff