gvsig-raster / org.gvsig.raster.cache / trunk / org.gvsig.raster.cache / org.gvsig.raster.cache.lib.impl / src / main / java / org / gvsig / raster / cache / buffer / impl / datasource / IHistogramable.java @ 991
History | View | Annotate | Download (739 Bytes)
1 |
package org.gvsig.raster.cache.buffer.impl.datasource; |
---|---|
2 |
|
3 |
import org.gvsig.raster.cache.buffer.impl.datastruct.Histogram; |
4 |
import org.gvsig.raster.cache.buffer.impl.datastruct.HistogramException; |
5 |
|
6 |
|
7 |
/**
|
8 |
* Interfaz que deben implementar todas las clases capaces de servir histogramas
|
9 |
* @version 27/03/2007
|
10 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
11 |
*
|
12 |
*/
|
13 |
public interface IHistogramable { |
14 |
|
15 |
/**
|
16 |
* Obtiene un histograma.
|
17 |
* @return Histograma
|
18 |
*/
|
19 |
public Histogram getHistogram() throws HistogramException, InterruptedException; |
20 |
|
21 |
/**
|
22 |
* Inicializa el porcentaje a 0 de un histograma.
|
23 |
*/
|
24 |
public void resetPercent(); |
25 |
|
26 |
/**
|
27 |
* Obtiene el porcentaje procesado de un histograma.
|
28 |
* @return int
|
29 |
*/
|
30 |
public int getPercent(); |
31 |
|
32 |
} |