Statistics
| Revision:

gvsig-raster / 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 / buffer / SpiRasterQuery.java @ 2236

History | View | Annotate | Download (1.87 KB)

1
package org.gvsig.raster.impl.buffer;
2

    
3
import java.awt.Rectangle;
4

    
5
import org.gvsig.fmap.dal.DataQuery;
6
import org.gvsig.fmap.dal.coverage.dataset.Buffer;
7
import org.gvsig.fmap.dal.coverage.datastruct.BandList;
8
import org.gvsig.fmap.dal.coverage.datastruct.Extent;
9
import org.gvsig.fmap.dal.coverage.datastruct.NoData;
10
import org.gvsig.raster.cache.tile.provider.CacheStruct;
11
import org.gvsig.raster.cache.tile.provider.TileListener;
12
import org.gvsig.timesupport.Time;
13
import org.gvsig.tools.task.TaskStatus;
14

    
15
/**
16
 * Raster query interface for providers. 
17
 * @author Nacho Brodin (nachobrodin@gmail.com)
18
 */
19
public interface SpiRasterQuery extends DataQuery {
20
        
21
        public int getType();
22
                
23
        public int[] getDrawableBands();
24
        
25
        public boolean isSupersamplingOptionActive();
26
        
27
        public int getAlphaBandNumber();
28
        
29
        public NoData getNoDataValueToFill();
30
        
31
        public int getAdjustedX();
32

    
33
        public int getAdjustedY();
34
        
35
        public int getAdjustedWidth();
36

    
37
        public int getAdjustedHeight();
38
        
39
        /**
40
         * Gets the adjusted window of the request in pixel coordinates
41
         */
42
        public Rectangle getAdjustedRequestPxWindow();
43
        
44
        /**
45
         * Gets a bounding box of a request in world coordinates adjusted to the bounding box of the source.
46
         */
47
        public Extent getAdjustedRequestBoundingBox();
48

    
49
        
50
        public int getAdjustedBufWidth();
51

    
52
        public int getAdjustedBufHeight();
53
        
54
        public TileListener getTileListener();
55
        
56
        public Time getTime();
57
        
58
        public int getTileRow();
59

    
60
        public int getTileCol();
61

    
62
        public int getResolutionLevel();
63
        /**
64
         * Gets the task status
65
         */
66
        public TaskStatus getTaskStatus();
67
        
68
        public boolean requestIsPixelCoordinates();
69
        
70
        public boolean requestIsInWorldCoordinates();
71
        
72
        public BandList getBandList();
73

    
74
        /**
75
         * Buffer loaded by the provider and created by the store
76
         * @return
77
         */
78
        public Buffer getBufferForProviders();
79
        
80
        public CacheStruct getCacheStruct();
81

    
82
        public void setCacheStruct(CacheStruct cacheStruct);
83

    
84
}