svn-gvsig-desktop / branches / org.gvsig.desktop-2018a / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / raster / RasterQuery.java @ 43876
History | View | Annotate | Download (2.28 KB)
1 |
/* gvSIG. Desktop Geographic Information System.
|
---|---|
2 |
*
|
3 |
* Copyright ? 2007-2016 gvSIG Association
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18 |
* MA 02110-1301, USA.
|
19 |
*
|
20 |
* For any additional information, do not hesitate to contact us
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
22 |
*/
|
23 |
|
24 |
package org.gvsig.fmap.dal.raster; |
25 |
|
26 |
import java.util.List; |
27 |
|
28 |
import org.gvsig.fmap.dal.DataQuery; |
29 |
import org.gvsig.fmap.geom.primitive.Envelope; |
30 |
import org.gvsig.tools.lang.Cloneable; |
31 |
|
32 |
|
33 |
/**
|
34 |
* Dataquery for Rasters
|
35 |
* @author dmartinezizquierdo
|
36 |
*
|
37 |
*/
|
38 |
public interface RasterQuery extends DataQuery, Cloneable { |
39 |
|
40 |
/**
|
41 |
* Get added band queries to this {@link RasterQuery}
|
42 |
*
|
43 |
* @return A unmodifiable list with added band queries.
|
44 |
*/
|
45 |
public List<BandQuery> getBands(); |
46 |
|
47 |
/**
|
48 |
* Adds {@link BandQuery} to this raster query
|
49 |
*
|
50 |
* @param query
|
51 |
* Query to be added
|
52 |
*/
|
53 |
public void addBand(BandQuery query); |
54 |
|
55 |
/**
|
56 |
* Clears all add band queries
|
57 |
*/
|
58 |
public void clearBands(); |
59 |
|
60 |
/**
|
61 |
* Returns a clip from the raster
|
62 |
* @return Envelope
|
63 |
*/
|
64 |
public Envelope getClip();
|
65 |
|
66 |
/**
|
67 |
* Sets the envelope to clip from the raster
|
68 |
* @param clip
|
69 |
* @return RasterQuery
|
70 |
*/
|
71 |
public RasterQuery setClip(Envelope clip);
|
72 |
|
73 |
/**
|
74 |
* Returns the pixel size requested
|
75 |
* @return Envelope
|
76 |
*/
|
77 |
public double getPixelSize(); |
78 |
|
79 |
/**
|
80 |
* Sets the pixelSize to be used in the raster
|
81 |
* @param pixelSize
|
82 |
* @return RasterQuery
|
83 |
*/
|
84 |
public RasterQuery setPixelSize(double pixelSize); |
85 |
|
86 |
public RasterQuery clone() throws CloneNotSupportedException; |
87 |
|
88 |
|
89 |
} |