Revision 2308 org.gvsig.raster/branches/org.gvsig.raster_dataaccess_refactoring/org.gvsig.raster.lib/org.gvsig.raster.lib.api/src/main/java/org/gvsig/fmap/dal/coverage/store/RasterQuery.java
RasterQuery.java | ||
---|---|---|
229 | 229 |
* This function calculates the shift in pixels en X and Y coordinate that |
230 | 230 |
* correspond with the first pixel, due to this pixel won't be drawn entirely. |
231 | 231 |
* |
232 |
* Dado unas coordenadas reales, un tama�o de buffer y un tama�o de raster.
|
|
233 |
* Si el buffer es de mayor tama�o que el raster (supersampleo) quiere decir que
|
|
234 |
* por cada pixel de buffer se repiten varios del raster. Esta funci�n calcula el
|
|
235 |
* n�mero de pixels de desplazamiento en X e Y que corresponden al primer pixel del
|
|
232 |
* Dado unas coordenadas reales, un tama?o de buffer y un tama?o de raster.
|
|
233 |
* Si el buffer es de mayor tama?o que el raster (supersampleo) quiere decir que
|
|
234 |
* por cada pixel de buffer se repiten varios del raster. Esta funci?n calcula el
|
|
235 |
* n?mero de pixels de desplazamiento en X e Y que corresponden al primer pixel del
|
|
236 | 236 |
* buffer en la esquina superior izquierda. Esto es necesario porque la coordenada |
237 | 237 |
* solicitada es real y puede no caer sobre un pixel completo. Este calculo es |
238 | 238 |
* util cuando un cliente quiere supersamplear sobre un buffer y que no se lo haga |
239 |
* el driver autom�ticamente.
|
|
239 |
* el driver autom?ticamente.
|
|
240 | 240 |
*/ |
241 | 241 |
public double[] getStep(); |
242 |
|
|
243 |
/** |
|
244 |
* Force that the built of the buffer be ARGB. Be careful with the renderBands. It |
|
245 |
* will have four bands as maximum. |
|
246 |
*/ |
|
247 |
public void forceARGBRequest(); |
|
242 | 248 |
|
243 |
|
|
244 |
/** |
|
245 |
* Buffer loaded by the provider. This buffer is created by the <code>RasterQuery</code> |
|
246 |
* but in some cases can be useful to pass the buffer already created by parameter. |
|
247 |
* In any case, is advisable not to do it. |
|
248 |
* @return |
|
249 |
*/ |
|
250 |
public void setBufferForProviders(Buffer buffer) throws QueryException; |
|
251 |
|
|
252 | 249 |
/** |
250 |
* Force that the built of the buffer be RGB. Be careful with the renderBands. It |
|
251 |
* will have three bands as maximum. |
|
252 |
*/ |
|
253 |
public void forceRGBRequest(); |
|
254 |
|
|
255 |
/** |
|
256 |
* Buffer loaded by the provider. This buffer is created by the <code>RasterQuery</code> |
|
257 |
* but in some cases can be useful to pass the buffer already created by parameter. |
|
258 |
* In any case, is advisable not to do it. |
|
259 |
* @return |
|
260 |
*/ |
|
261 |
public void setBufferForProviders(Buffer buffer) throws QueryException; |
|
262 |
|
|
263 |
/** |
|
253 | 264 |
* Clones this RasterQuery |
254 | 265 |
* @return |
255 | 266 |
*/ |
Also available in: Unified diff