Statistics
| Revision:

svn-gvsig-desktop / branches / org.gvsig.desktop-2018a / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.tilecache / org.gvsig.fmap.dal.tilecache.raster / src / main / java / org / gvsig / raster / tilecache / provider / TileStructImage.java @ 43803

History | View | Annotate | Download (1.85 KB)

1
package org.gvsig.raster.tilecache.provider;
2

    
3
import org.gvsig.fmap.geom.primitive.Envelope;
4
import org.gvsig.raster.lib.buffer.api.Band;
5
import org.gvsig.raster.lib.buffer.api.TileStruct;
6

    
7
/**
8
 * @author fdiaz
9
 *
10
 */
11
public interface TileStructImage {
12

    
13
    /**
14
     * @param pixelSize
15
     * @return The appropiate zoom level for the pizelSize
16
     */
17
    public abstract int getZoomLvlForPixelSize(double pixelSize);
18

    
19
    /**
20
     * Get band from the required tile.
21
     * Return null on fails.
22
     *
23
     * @param bandNumber
24
     * @param zoomLevel
25
     * @param structRow
26
     * @param structCol
27
     * @return Band
28
     */
29
    public abstract Band fetchTile(int bandNumber, int zoomLevel, int structRow, int structCol);
30

    
31
    /**
32
     * @return the band number
33
     */
34
    public abstract int getBandNumber();
35

    
36
    /**
37
     * @return the data types
38
     */
39
    public abstract int[] getDataTypes();
40

    
41
    /**
42
     * @param zoomLevel
43
     * @return rows per zoom level
44
     */
45
    public abstract int getRows(int zoomLevel);
46

    
47
    /**
48
     * @param zoomLevel
49
     * @return columns per zoom level
50
     */
51
    public abstract int getColumns(int zoomLevel);
52

    
53
    /**
54
     * @return envelope per zoom level
55
     */
56
    public abstract Envelope getEnvelope();
57

    
58
    /**
59
     * @return the rows number per tile
60
     */
61
    public abstract int getRowsPerTile();
62

    
63
    /**
64
     * @return the columns number per tile
65
     */
66
    public abstract int getColumnsPerTile();
67

    
68
    /**
69
     * @return the provider name
70
     */
71
    public abstract String getProviderName();
72

    
73
    /**
74
     * @return the color interpretation
75
     */
76
    public abstract Object getColorInterpretation();
77

    
78
    /**
79
     * @return the color table
80
     */
81
    public abstract Object getColorTable();
82

    
83
    /**
84
     * @return the legend
85
     */
86
    public abstract Object getLegend();
87

    
88
    public abstract TileStruct getTileStruct();
89

    
90
}