gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.buffer / org.gvsig.raster.lib.buffer.api / src / main / java / org / gvsig / raster / lib / buffer / api / BufferParams.java @ 5439
History | View | Annotate | Download (3.62 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 |
package org.gvsig.raster.lib.buffer.api; |
24 |
|
25 |
|
26 |
/**
|
27 |
* @author fdiaz
|
28 |
*
|
29 |
*/
|
30 |
public interface BufferParams { |
31 |
|
32 |
public static int UNDEFINED = -1; |
33 |
public static int CACHED = 0; |
34 |
public static int READ_ONLY = 1; |
35 |
public static int MEMORY = 2; |
36 |
|
37 |
/**
|
38 |
* Returns the width in pixels
|
39 |
* @return Width in pixels of this buffer
|
40 |
*/
|
41 |
public int getWidth(); |
42 |
|
43 |
/**
|
44 |
* Sets the width in pixels
|
45 |
* @param width in pixels of this buffer
|
46 |
*/
|
47 |
public void setWidth(int width); |
48 |
|
49 |
/**
|
50 |
* Returns the height in pixels
|
51 |
* @return Height in pixels of this buffer
|
52 |
*/
|
53 |
public int getHeight(); |
54 |
|
55 |
/**
|
56 |
* Sets the height in pixels
|
57 |
* @param height
|
58 |
* Height in pixels of this buffer
|
59 |
*/
|
60 |
public void setHeight(int height); |
61 |
|
62 |
/**
|
63 |
* Returns the x upper left coordinate
|
64 |
* @return x upper left coordinate in pixels
|
65 |
*/
|
66 |
public int getX(); |
67 |
|
68 |
/**
|
69 |
* Sets the x upper left coordinate
|
70 |
* @params x upper left coordinate in pixels
|
71 |
*/
|
72 |
public void setX(int x); |
73 |
|
74 |
/**
|
75 |
* Returns the y upper left coordinate
|
76 |
* @return y upper left coordinate in pixels
|
77 |
*/
|
78 |
public int getY(); |
79 |
|
80 |
/**
|
81 |
* Sets the Y upper left coordinate
|
82 |
* @param y upper left coordinate in pixels
|
83 |
*/
|
84 |
public void setY(int y); |
85 |
|
86 |
/**
|
87 |
* Gets the data type
|
88 |
* @return the data type
|
89 |
*/
|
90 |
public int getDataType(); |
91 |
|
92 |
/**
|
93 |
* Sets the data type
|
94 |
* @param dataType
|
95 |
*/
|
96 |
public void setDataType(int dataType); |
97 |
|
98 |
/**
|
99 |
* Gets number of bands
|
100 |
* @return the number of bands
|
101 |
*/
|
102 |
public int getBandCount(); |
103 |
|
104 |
/**
|
105 |
* Sets number of bands
|
106 |
* @param bandCount
|
107 |
*/
|
108 |
public void setBandCount(int bandCount); |
109 |
|
110 |
/**
|
111 |
* Sets the type of access defined as constant in Buffer interface
|
112 |
* @param accessType
|
113 |
*/
|
114 |
public void setAccessType(int accessType); |
115 |
|
116 |
/**
|
117 |
* Gets the type of access defined as constant in Buffer interface
|
118 |
* @return the access type
|
119 |
*/
|
120 |
public int getAccessType(); |
121 |
|
122 |
|
123 |
//FIXME: ????
|
124 |
// /**
|
125 |
// * Sets the band list
|
126 |
// * @param file
|
127 |
// */
|
128 |
// public void setBandList(BandList bands);
|
129 |
//
|
130 |
// /**
|
131 |
// * Gets the band list
|
132 |
// * @return
|
133 |
// */
|
134 |
// public BandList getBandList();
|
135 |
//
|
136 |
// public void setDataStore(RasterDataStore roDataSource);
|
137 |
//
|
138 |
// public RasterDataStore getDataStore();
|
139 |
|
140 |
// public void setMalloc(boolean malloc);
|
141 |
//
|
142 |
// public boolean isMalloc();
|
143 |
//
|
144 |
// public void setRoWindow(int[] roWindow);
|
145 |
//
|
146 |
// public int[] getRoWindow();
|
147 |
//
|
148 |
// public void setRoWindowExtent(Extent roWindow);
|
149 |
//
|
150 |
// public Extent getRoWindowExtent();
|
151 |
} |