svn-gvsig-desktop / branches / CqCMSDvp / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / io / EcwFile.html @ 2312
History | View | Annotate | Download (40.3 KB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|
2 |
<!--NewPage-->
|
3 |
<HTML>
|
4 |
<HEAD>
|
5 |
<!-- Generated by javadoc (build 1.4.2_03) on Thu Jun 23 14:38:26 CEST 2005 -->
|
6 |
<TITLE>
|
7 |
EcwFile |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="org.cresques.io.EcwFile class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="EcwFile"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
|
21 |
</HEAD>
|
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR>
|
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
42 |
</TR>
|
43 |
</TABLE>
|
44 |
</TD>
|
45 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
46 |
</EM>
|
47 |
</TD>
|
48 |
</TR>
|
49 |
|
50 |
<TR>
|
51 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
52 |
<A HREF="../../../org/cresques/io/DxfGroupVector.html" title="class in org.cresques.io"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../org/cresques/io/EcwWriter.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD> |
54 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
55 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
56 |
<A HREF="EcwFile.html" target="_top"><B>NO FRAMES</B></A> |
57 |
<SCRIPT type="text/javascript"> |
58 |
<!--
|
59 |
if(window==top) {
|
60 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
61 |
}
|
62 |
//-->
|
63 |
</SCRIPT>
|
64 |
<NOSCRIPT>
|
65 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
66 |
</NOSCRIPT>
|
67 |
|
68 |
</FONT></TD> |
69 |
</TR>
|
70 |
<TR>
|
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.cresques.io.GeoRasterFile">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
75 |
</TR>
|
76 |
</TABLE>
|
77 |
<A NAME="skip-navbar_top"></A> |
78 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
79 |
|
80 |
<HR>
|
81 |
<!-- ======== START OF CLASS DATA ======== -->
|
82 |
<H2>
|
83 |
<FONT SIZE="-1"> |
84 |
org.cresques.io</FONT>
|
85 |
<BR>
|
86 |
Class EcwFile</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">org.cresques.io.GeoFile</A> |
90 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">org.cresques.io.GeoRasterFile</A> |
91 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.io.EcwFile</B> |
92 |
</PRE>
|
93 |
<DL>
|
94 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/cresques/px/Extent.Has.html" title="interface in org.cresques.px">Extent.Has</A>, <A HREF="../../../org/cresques/geo/Projected.html" title="interface in org.cresques.geo">Projected</A></DD> |
95 |
</DL>
|
96 |
<HR>
|
97 |
<DL>
|
98 |
<DT>public class <B>EcwFile</B><DT>extends <A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></DL> |
99 |
|
100 |
<P>
|
101 |
Soporte para los ficheros .ecw de ErMapper. |
102 |
<br>
|
103 |
NOTA: El SDK que ermapper ha puesto a disposici?n del p?blico en java |
104 |
es una versi?n 2.45, de 19/11/2001. Est? implementada usando JNI que |
105 |
se apoya en tres librer?as din?micas (dll), y presenta deficiencias |
106 |
muy graves a la hora de acceder a la informaci?n. Hasta el momento |
107 |
hemos detectado 3 de ellas:<BR>
|
108 |
1?.- No soporta ampliaciones superiores a 1:1. si se intenta acceder |
109 |
a un ecw con un zoom mayor da una excepci?n del tipo |
110 |
com.ermapper.ecw.JNCSInvalidSetViewException, que de no ser tenida encuenta |
111 |
acaba tirando abajo la m?quina virtual de java.<BR>
|
112 |
2?.- La longitud m?xima de l?nea que adminte el m?todo readLineRGBA es |
113 |
de unos 2500 pixeles, lo que hace el uso para la impresi?n en formatos |
114 |
superiorea a A4 a 300 ppp o m?s inviable.<BR>
|
115 |
3?.- La actualizaci?n progresiva usando el interface JNCSProgressiveUpdate |
116 |
con el JNCSFile hace que el equipo genere un error severo y se apague. Este |
117 |
error imposibilita esta t?cnica de acceso a ECW.<BR>
|
118 |
<br>
|
119 |
Para saltarnos la limitaci?n del bug#1 pedimos la ventana correspondiente al zoom 1:1 para |
120 |
el view que nos han puesto, y la resizeamos al tama?o que nos pide el usuario.<br>
|
121 |
Como consecuencia del bug#2, para tama?os de ventana muy grandes (los necesarios |
122 |
para imprimir a m?s de A4 a 300DPI), hay que hacer varias llamadas al fichero con |
123 |
varios marcos contiguos, y los devolvemos 'pegados' en una sola imagen (esto se |
124 |
realiza de manera transparente para el usuario dentro de la llamada a updateImage.<br>
|
125 |
<P>
|
126 |
|
127 |
<P>
|
128 |
<DL>
|
129 |
<DT><B>Author:</B></DT> |
130 |
<DD>"Luis W. Sevilla" <sevilla_lui@gva.es></DD> |
131 |
</DL>
|
132 |
<HR>
|
133 |
|
134 |
<P>
|
135 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
136 |
|
137 |
|
138 |
<!-- =========== FIELD SUMMARY =========== -->
|
139 |
|
140 |
<A NAME="field_summary"><!-- --></A> |
141 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
142 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
143 |
<TD COLSPAN=2><FONT SIZE="+2"> |
144 |
<B>Field Summary</B></FONT></TD> |
145 |
</TR>
|
146 |
</TABLE>
|
147 |
<A NAME="fields_inherited_from_class_org.cresques.io.GeoRasterFile"><!-- --></A> |
148 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
149 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
150 |
<TD><B>Fields inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></B></TD> |
151 |
</TR>
|
152 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
153 |
<TD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#bandCount">bandCount</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#bBandNr">bBandNr</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#BLUE_BAND">BLUE_BAND</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#doTransparency">doTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#gBandNr">gBandNr</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#GREEN_BAND">GREEN_BAND</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#rBandNr">rBandNr</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#RED_BAND">RED_BAND</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#tFilter">tFilter</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#updatable">updatable</A></CODE></TD> |
154 |
</TR>
|
155 |
</TABLE>
|
156 |
<A NAME="fields_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A> |
157 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
158 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
159 |
<TD><B>Fields inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></B></TD> |
160 |
</TR>
|
161 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
162 |
<TD><CODE><A HREF="../../../org/cresques/io/GeoFile.html#bytesReaded">bytesReaded</A>, <A HREF="../../../org/cresques/io/GeoFile.html#extent">extent</A>, <A HREF="../../../org/cresques/io/GeoFile.html#lineCnt">lineCnt</A></CODE></TD> |
163 |
</TR>
|
164 |
</TABLE>
|
165 |
|
166 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
167 |
|
168 |
<A NAME="constructor_summary"><!-- --></A> |
169 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
170 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
171 |
<TD COLSPAN=2><FONT SIZE="+2"> |
172 |
<B>Constructor Summary</B></FONT></TD> |
173 |
</TR>
|
174 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
175 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#EcwFile(org.cresques.cts.IProjection, java.lang.String)">EcwFile</A></B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A> proj, |
176 |
java.lang.String fName)</CODE> |
177 |
|
178 |
<BR>
|
179 |
</TD> |
180 |
</TR>
|
181 |
</TABLE>
|
182 |
|
183 |
<!-- ========== METHOD SUMMARY =========== -->
|
184 |
|
185 |
<A NAME="method_summary"><!-- --></A> |
186 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
187 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
188 |
<TD COLSPAN=2><FONT SIZE="+2"> |
189 |
<B>Method Summary</B></FONT></TD> |
190 |
</TR>
|
191 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
192 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
193 |
<CODE> void</CODE></FONT></TD> |
194 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#close()">close</A></B>()</CODE> |
195 |
|
196 |
<BR>
|
197 |
</TD> |
198 |
</TR>
|
199 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
200 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
201 |
<CODE> int</CODE></FONT></TD> |
202 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getBlockSize()">getBlockSize</A></B>()</CODE> |
203 |
|
204 |
<BR>
|
205 |
Devuelve el tama?o de bloque</TD> |
206 |
</TR>
|
207 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
208 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
209 |
<CODE> java.lang.Object</CODE></FONT></TD> |
210 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getData(int, int, int)">getData</A></B>(int x, |
211 |
int y,
|
212 |
int band)</CODE> |
213 |
|
214 |
<BR>
|
215 |
Obtiene el valor del raster en la coordenada que se le pasa. |
216 |
</TD>
|
217 |
</TR>
|
218 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
219 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
220 |
<CODE> java.lang.String</CODE></FONT></TD> |
221 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getGeogCS()">getGeogCS</A></B>()</CODE> |
222 |
|
223 |
<BR>
|
224 |
Obtiene el sistema de coordenadas geograficas</TD> |
225 |
</TR>
|
226 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
227 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
228 |
<CODE> int</CODE></FONT></TD> |
229 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getHeight()">getHeight</A></B>()</CODE> |
230 |
|
231 |
<BR>
|
232 |
</TD> |
233 |
</TR>
|
234 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
235 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
236 |
<CODE> int</CODE></FONT></TD> |
237 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getUTM()">getUTM</A></B>()</CODE> |
238 |
|
239 |
<BR>
|
240 |
Devuelve el n?mero de zona UTM</TD> |
241 |
</TR>
|
242 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
243 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
244 |
<CODE> <A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A></CODE></FONT></TD> |
245 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getView()">getView</A></B>()</CODE> |
246 |
|
247 |
<BR>
|
248 |
</TD> |
249 |
</TR>
|
250 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
251 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
252 |
<CODE> int</CODE></FONT></TD> |
253 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getWidth()">getWidth</A></B>()</CODE> |
254 |
|
255 |
<BR>
|
256 |
</TD> |
257 |
</TR>
|
258 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
259 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
260 |
<CODE> byte[]</CODE></FONT></TD> |
261 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getWindow(int, int, int, int, int)">getWindow</A></B>(int ulX, |
262 |
int ulY,
|
263 |
int sizeX,
|
264 |
int sizeY,
|
265 |
int band)</CODE> |
266 |
|
267 |
<BR>
|
268 |
Devuelve los datos de una ventana solicitada</TD> |
269 |
</TR>
|
270 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
271 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
272 |
<CODE> boolean</CODE></FONT></TD> |
273 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#getZone()">getZone</A></B>()</CODE> |
274 |
|
275 |
<BR>
|
276 |
Obtiene la zona (Norte / Sur)</TD> |
277 |
</TR>
|
278 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
279 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
280 |
<CODE> <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></FONT></TD> |
281 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#load()">load</A></B>()</CODE> |
282 |
|
283 |
<BR>
|
284 |
Carga un ECW.</TD> |
285 |
</TR>
|
286 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
287 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
288 |
<CODE> void</CODE></FONT></TD> |
289 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#refreshUpdate(int, int, double, double, double, double)">refreshUpdate</A></B>(int nWidth, |
290 |
int nHeight,
|
291 |
double dWorldTLX,
|
292 |
double dWorldTLY,
|
293 |
double dWorldBRX,
|
294 |
double dWorldBRY)</CODE> |
295 |
|
296 |
<BR>
|
297 |
Soporte para actualizaci?n de la imagen</TD> |
298 |
</TR>
|
299 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
300 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
301 |
<CODE> void</CODE></FONT></TD> |
302 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#refreshUpdate(int, int, int, int, int, int)">refreshUpdate</A></B>(int nWidth, |
303 |
int nHeight,
|
304 |
int dDatasetTLX,
|
305 |
int dDatasetTLY,
|
306 |
int dDatasetBRX,
|
307 |
int dDatasetBRY)</CODE> |
308 |
|
309 |
<BR>
|
310 |
</TD> |
311 |
</TR>
|
312 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
313 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
314 |
<CODE> void</CODE></FONT></TD> |
315 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#reProject(org.cresques.cts.ICoordTrans)">reProject</A></B>(<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</CODE> |
316 |
|
317 |
<BR>
|
318 |
Reproyecta el raster.</TD> |
319 |
</TR>
|
320 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
321 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
322 |
<CODE>protected void</CODE></FONT></TD> |
323 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage image, |
324 |
int startX,
|
325 |
int startY,
|
326 |
int w,
|
327 |
int h,
|
328 |
int[] rgbArray,
|
329 |
int offset,
|
330 |
int scansize)</CODE> |
331 |
|
332 |
<BR>
|
333 |
Asigna al objeto Image los valores con los dato de la imagen contenidos en el |
334 |
vector de enteros.</TD>
|
335 |
</TR>
|
336 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
337 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
338 |
<CODE>protected void</CODE></FONT></TD> |
339 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage image, |
340 |
int startX,
|
341 |
int startY,
|
342 |
int w,
|
343 |
int h,
|
344 |
int[] rgbArray,
|
345 |
int offset,
|
346 |
int scansize,
|
347 |
int flags)</CODE> |
348 |
|
349 |
<BR>
|
350 |
Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores |
351 |
con los dato de la imagen contenidos en el vector de enteros. </TD>
|
352 |
</TR>
|
353 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
354 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
355 |
<CODE>protected void</CODE></FONT></TD> |
356 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage image, |
357 |
int startX,
|
358 |
int startY,
|
359 |
int w,
|
360 |
int h,
|
361 |
int[] rgbArray,
|
362 |
int offset,
|
363 |
int scansize,
|
364 |
int origBand,
|
365 |
int destBandFlag)</CODE> |
366 |
|
367 |
<BR>
|
368 |
Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores |
369 |
con los dato de la imagen contenidos en el vector de enteros. </TD>
|
370 |
</TR>
|
371 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
372 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
373 |
<CODE> void</CODE></FONT></TD> |
374 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#setView(org.cresques.px.Extent)">setView</A></B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> e)</CODE> |
375 |
|
376 |
<BR>
|
377 |
</TD> |
378 |
</TR>
|
379 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
380 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
381 |
<CODE> java.awt.Image</CODE></FONT></TD> |
382 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans)">updateImage</A></B>(int width, |
383 |
int height,
|
384 |
<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</CODE> |
385 |
|
386 |
<BR>
|
387 |
Obtiene un trozo de imagen (determinado por la vista y los par?metros.</TD> |
388 |
</TR>
|
389 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
390 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
391 |
<CODE> java.awt.Image</CODE></FONT></TD> |
392 |
<TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)">updateImage</A></B>(int width, |
393 |
int height,
|
394 |
<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp, |
395 |
java.awt.Image img,
|
396 |
int origBand,
|
397 |
int destBandFlag)</CODE> |
398 |
|
399 |
<BR>
|
400 |
Actualiza la/s banda/s especificadas en la imagen.</TD> |
401 |
</TR>
|
402 |
</TABLE>
|
403 |
<A NAME="methods_inherited_from_class_org.cresques.io.GeoRasterFile"><!-- --></A> |
404 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
405 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
406 |
<TD><B>Methods inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></B></TD> |
407 |
</TR>
|
408 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
409 |
<TD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#cornersToWorldFile(java.awt.geom.Point2D[], java.awt.Dimension)">cornersToWorldFile</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#fileIsSupported(java.lang.String)">fileIsSupported</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getAlpha()">getAlpha</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getBand(int)">getBand</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getBandCount()">getBandCount</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getContour(java.lang.String, java.lang.String, org.cresques.cts.IProjection)">getContour</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getDataType()">getDataType</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getObjects()">getObjects</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getTransparency()">getTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#openFile(org.cresques.cts.IProjection, java.lang.String)">openFile</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#printWF(java.lang.String, java.awt.geom.Point2D[], java.awt.Dimension)">printWF</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#registerExtension(java.lang.String, java.lang.Class)">registerExtension</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#saveWF(java.lang.String, java.lang.String)">saveWF</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setAlpha(int)">setAlpha</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setBand(int, int)">setBand</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setDataType(int)">setDataType</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setTransparency(boolean)">setTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setTransparency(int)">setTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setUpdatable(java.awt.Component)">setUpdatable</A></CODE></TD> |
410 |
</TR>
|
411 |
</TABLE>
|
412 |
<A NAME="methods_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A> |
413 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
414 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
415 |
<TD><B>Methods inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></B></TD> |
416 |
</TR>
|
417 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
418 |
<TD><CODE><A HREF="../../../org/cresques/io/GeoFile.html#filterWS(java.lang.String)">filterWS</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getExtent()">getExtent</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getFileSize()">getFileSize</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getName()">getName</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getProjection()">getProjection</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getTime()">getTime</A>, <A HREF="../../../org/cresques/io/GeoFile.html#setFileSize(long)">setFileSize</A>, <A HREF="../../../org/cresques/io/GeoFile.html#setName(java.lang.String)">setName</A>, <A HREF="../../../org/cresques/io/GeoFile.html#setProjection(org.cresques.cts.IProjection)">setProjection</A></CODE></TD> |
419 |
</TR>
|
420 |
</TABLE>
|
421 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
422 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
423 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
424 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
425 |
</TR>
|
426 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
427 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
428 |
</TR>
|
429 |
</TABLE>
|
430 |
|
431 |
<P>
|
432 |
|
433 |
<!-- ============ FIELD DETAIL =========== -->
|
434 |
|
435 |
|
436 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
437 |
|
438 |
<A NAME="constructor_detail"><!-- --></A> |
439 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
440 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
441 |
<TD COLSPAN=1><FONT SIZE="+2"> |
442 |
<B>Constructor Detail</B></FONT></TD> |
443 |
</TR>
|
444 |
</TABLE>
|
445 |
|
446 |
<A NAME="EcwFile(org.cresques.cts.IProjection, java.lang.String)"><!-- --></A><H3> |
447 |
EcwFile</H3>
|
448 |
<PRE>
|
449 |
public <B>EcwFile</B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A> proj, |
450 |
java.lang.String fName)</PRE> |
451 |
<DL>
|
452 |
</DL>
|
453 |
|
454 |
<!-- ============ METHOD DETAIL ========== -->
|
455 |
|
456 |
<A NAME="method_detail"><!-- --></A> |
457 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
458 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
459 |
<TD COLSPAN=1><FONT SIZE="+2"> |
460 |
<B>Method Detail</B></FONT></TD> |
461 |
</TR>
|
462 |
</TABLE>
|
463 |
|
464 |
<A NAME="setView(org.cresques.px.Extent)"><!-- --></A><H3> |
465 |
setView</H3>
|
466 |
<PRE>
|
467 |
public void <B>setView</B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> e)</PRE> |
468 |
<DL>
|
469 |
<DD><DL> |
470 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#setView(org.cresques.px.Extent)">setView</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
471 |
</DD>
|
472 |
<DD><DL> |
473 |
</DL>
|
474 |
</DD>
|
475 |
</DL>
|
476 |
<HR>
|
477 |
|
478 |
<A NAME="getView()"><!-- --></A><H3> |
479 |
getView</H3>
|
480 |
<PRE>
|
481 |
public <A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> <B>getView</B>()</PRE> |
482 |
<DL>
|
483 |
<DD><DL> |
484 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getView()">getView</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
485 |
</DD>
|
486 |
<DD><DL> |
487 |
</DL>
|
488 |
</DD>
|
489 |
</DL>
|
490 |
<HR>
|
491 |
|
492 |
<A NAME="load()"><!-- --></A><H3> |
493 |
load</H3>
|
494 |
<PRE>
|
495 |
public <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A> <B>load</B>()</PRE> |
496 |
<DL>
|
497 |
<DD>Carga un ECW.
|
498 |
<P>
|
499 |
<DD><DL> |
500 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#load()">load</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
501 |
</DD>
|
502 |
<DD><DL> |
503 |
</DL>
|
504 |
</DD>
|
505 |
</DL>
|
506 |
<HR>
|
507 |
|
508 |
<A NAME="close()"><!-- --></A><H3> |
509 |
close</H3>
|
510 |
<PRE>
|
511 |
public void <B>close</B>()</PRE> |
512 |
<DL>
|
513 |
<DD><DL> |
514 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#close()">close</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
515 |
</DD>
|
516 |
<DD><DL> |
517 |
</DL>
|
518 |
</DD>
|
519 |
</DL>
|
520 |
<HR>
|
521 |
|
522 |
<A NAME="getWidth()"><!-- --></A><H3> |
523 |
getWidth</H3>
|
524 |
<PRE>
|
525 |
public int <B>getWidth</B>()</PRE> |
526 |
<DL>
|
527 |
<DD><DL> |
528 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getWidth()">getWidth</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
529 |
</DD>
|
530 |
<DD><DL> |
531 |
</DL>
|
532 |
</DD>
|
533 |
</DL>
|
534 |
<HR>
|
535 |
|
536 |
<A NAME="getHeight()"><!-- --></A><H3> |
537 |
getHeight</H3>
|
538 |
<PRE>
|
539 |
public int <B>getHeight</B>()</PRE> |
540 |
<DL>
|
541 |
<DD><DL> |
542 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getHeight()">getHeight</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
543 |
</DD>
|
544 |
<DD><DL> |
545 |
</DL>
|
546 |
</DD>
|
547 |
</DL>
|
548 |
<HR>
|
549 |
|
550 |
<A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans)"><!-- --></A><H3> |
551 |
updateImage</H3>
|
552 |
<PRE>
|
553 |
public java.awt.Image <B>updateImage</B>(int width, |
554 |
int height,
|
555 |
<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</PRE> |
556 |
<DL>
|
557 |
<DD>Obtiene un trozo de imagen (determinado por la vista y los par?metros.
|
558 |
<P>
|
559 |
<DD><DL> |
560 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans)">updateImage</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
561 |
</DD>
|
562 |
<DD><DL> |
563 |
<DT><B>Parameters:</B><DD><CODE>width</CODE> - <DD><CODE>height</CODE> - </DL> |
564 |
</DD>
|
565 |
</DL>
|
566 |
<HR>
|
567 |
|
568 |
<A NAME="reProject(org.cresques.cts.ICoordTrans)"><!-- --></A><H3> |
569 |
reProject</H3>
|
570 |
<PRE>
|
571 |
public void <B>reProject</B>(<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</PRE> |
572 |
<DL>
|
573 |
<DD>Reproyecta el raster.
|
574 |
<P>
|
575 |
<DD><DL> |
576 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/geo/Projected.html#reProject(org.cresques.cts.ICoordTrans)">reProject</A></CODE> in interface <CODE><A HREF="../../../org/cresques/geo/Projected.html" title="interface in org.cresques.geo">Projected</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#reProject(org.cresques.cts.ICoordTrans)">reProject</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
577 |
</DD>
|
578 |
<DD><DL> |
579 |
</DL>
|
580 |
</DD>
|
581 |
</DL>
|
582 |
<HR>
|
583 |
|
584 |
<A NAME="refreshUpdate(int, int, double, double, double, double)"><!-- --></A><H3> |
585 |
refreshUpdate</H3>
|
586 |
<PRE>
|
587 |
public void <B>refreshUpdate</B>(int nWidth, |
588 |
int nHeight,
|
589 |
double dWorldTLX,
|
590 |
double dWorldTLY,
|
591 |
double dWorldBRX,
|
592 |
double dWorldBRY)</PRE> |
593 |
<DL>
|
594 |
<DD>Soporte para actualizaci?n de la imagen
|
595 |
<P>
|
596 |
<DD><DL> |
597 |
<DT><B>See Also:</B><DD><CODE>com.ermapper.ecw.JNCSProgressiveUpdate#refreshUpdate(int, int, double, double, double, double)</CODE></DL> |
598 |
</DD>
|
599 |
</DL>
|
600 |
<HR>
|
601 |
|
602 |
<A NAME="refreshUpdate(int, int, int, int, int, int)"><!-- --></A><H3> |
603 |
refreshUpdate</H3>
|
604 |
<PRE>
|
605 |
public void <B>refreshUpdate</B>(int nWidth, |
606 |
int nHeight,
|
607 |
int dDatasetTLX,
|
608 |
int dDatasetTLY,
|
609 |
int dDatasetBRX,
|
610 |
int dDatasetBRY)</PRE> |
611 |
<DL>
|
612 |
<DD><DL> |
613 |
</DL>
|
614 |
</DD>
|
615 |
</DL>
|
616 |
<HR>
|
617 |
|
618 |
<A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int)"><!-- --></A><H3> |
619 |
setRGBLine</H3>
|
620 |
<PRE>
|
621 |
protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
622 |
int startX,
|
623 |
int startY,
|
624 |
int w,
|
625 |
int h,
|
626 |
int[] rgbArray,
|
627 |
int offset,
|
628 |
int scansize)</PRE> |
629 |
<DL>
|
630 |
<DD>Asigna al objeto Image los valores con los dato de la imagen contenidos en el
|
631 |
vector de enteros. |
632 |
<P>
|
633 |
<DD><DL> |
634 |
<DT><B>Parameters:</B><DD><CODE>image</CODE> - imagen con los datos actuales<DD><CODE>startX</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>startY</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>w</CODE> - Ancho de la imagen<DD><CODE>h</CODE> - Alto de la imagen<DD><CODE>rgbArray</CODE> - vector que contiene la banda que se va a sustituir<DD><CODE>offset</CODE> - desplazamiento<DD><CODE>scansize</CODE> - tama?o de imagen recorrida por cada p</DL> |
635 |
</DD>
|
636 |
</DL>
|
637 |
<HR>
|
638 |
|
639 |
<A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int)"><!-- --></A><H3> |
640 |
setRGBLine</H3>
|
641 |
<PRE>
|
642 |
protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
643 |
int startX,
|
644 |
int startY,
|
645 |
int w,
|
646 |
int h,
|
647 |
int[] rgbArray,
|
648 |
int offset,
|
649 |
int scansize,
|
650 |
int flags)</PRE> |
651 |
<DL>
|
652 |
<DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
|
653 |
con los dato de la imagen contenidos en el vector de enteros. De los valores RGB |
654 |
que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La |
655 |
banda correspondiente a flags es sustituida por los datos del vector. |
656 |
<P>
|
657 |
<DD><DL> |
658 |
<DT><B>Parameters:</B><DD><CODE>image</CODE> - imagen con los datos actuales<DD><CODE>startX</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>startY</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>w</CODE> - Ancho de la imagen<DD><CODE>h</CODE> - Alto de la imagen<DD><CODE>rgbArray</CODE> - vector que contiene la banda que se va a sustituir<DD><CODE>offset</CODE> - desplazamiento<DD><CODE>scansize</CODE> - tama?o de imagen recorrida por cada paso<DD><CODE>flags</CODE> - banda que se va a sustituir (Ctes de GeoRasterFile)</DL> |
659 |
</DD>
|
660 |
</DL>
|
661 |
<HR>
|
662 |
|
663 |
<A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int, int)"><!-- --></A><H3> |
664 |
setRGBLine</H3>
|
665 |
<PRE>
|
666 |
protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
667 |
int startX,
|
668 |
int startY,
|
669 |
int w,
|
670 |
int h,
|
671 |
int[] rgbArray,
|
672 |
int offset,
|
673 |
int scansize,
|
674 |
int origBand,
|
675 |
int destBandFlag)</PRE> |
676 |
<DL>
|
677 |
<DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
|
678 |
con los dato de la imagen contenidos en el vector de enteros. De los valores RGB |
679 |
que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La |
680 |
banda correspondiente a flags es sustituida por los datos del vector. |
681 |
<P>
|
682 |
<DD><DL> |
683 |
<DT><B>Parameters:</B><DD><CODE>image</CODE> - imagen con los datos actuales<DD><CODE>startX</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>startY</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>w</CODE> - Ancho de la imagen<DD><CODE>h</CODE> - Alto de la imagen<DD><CODE>rgbArray</CODE> - vector que contiene la banda que se va a sustituir<DD><CODE>offset</CODE> - desplazamiento<DD><CODE>scansize</CODE> - tama?o de imagen recorrida por cada paso<DD><CODE>origBand</CODE> - Banda origen del GeoRasterFile<DD><CODE>destBandFlag</CODE> - banda que se va a sustituir (Ctes de GeoRasterFile)</DL> |
684 |
</DD>
|
685 |
</DL>
|
686 |
<HR>
|
687 |
|
688 |
<A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)"><!-- --></A><H3> |
689 |
updateImage</H3>
|
690 |
<PRE>
|
691 |
public java.awt.Image <B>updateImage</B>(int width, |
692 |
int height,
|
693 |
<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp, |
694 |
java.awt.Image img,
|
695 |
int origBand,
|
696 |
int destBandFlag)</PRE> |
697 |
<DL>
|
698 |
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD> |
699 |
<DD>Actualiza la/s banda/s especificadas en la imagen.
|
700 |
<P>
|
701 |
<DD><DL> |
702 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)">updateImage</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
703 |
</DD>
|
704 |
<DD><DL> |
705 |
<DT><B>Parameters:</B><DD><CODE>width</CODE> - ancho<DD><CODE>height</CODE> - alto<DD><CODE>rp</CODE> - reproyecci?n<DD><CODE>img</CODE> - imagen |
706 |
<DT><B>Returns:</B><DD>img</DL> |
707 |
</DD>
|
708 |
</DL>
|
709 |
<HR>
|
710 |
|
711 |
<A NAME="getData(int, int, int)"><!-- --></A><H3> |
712 |
getData</H3>
|
713 |
<PRE>
|
714 |
public java.lang.Object <B>getData</B>(int x, |
715 |
int y,
|
716 |
int band)</PRE> |
717 |
<DL>
|
718 |
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD> |
719 |
<DD>Obtiene el valor del raster en la coordenada que se le pasa.
|
720 |
El valor ser? Double, Int, Byte, etc. dependiendo del tipo de |
721 |
raster. |
722 |
<P>
|
723 |
<DD><DL> |
724 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getData(int, int, int)">getData</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
725 |
</DD>
|
726 |
<DD><DL> |
727 |
<DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y |
728 |
<DT><B>Returns:</B><DD></DL> |
729 |
</DD>
|
730 |
</DL>
|
731 |
<HR>
|
732 |
|
733 |
<A NAME="getWindow(int, int, int, int, int)"><!-- --></A><H3> |
734 |
getWindow</H3>
|
735 |
<PRE>
|
736 |
public byte[] <B>getWindow</B>(int ulX, |
737 |
int ulY,
|
738 |
int sizeX,
|
739 |
int sizeY,
|
740 |
int band)</PRE> |
741 |
<DL>
|
742 |
<DD>Devuelve los datos de una ventana solicitada
|
743 |
<P>
|
744 |
<DD><DL> |
745 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getWindow(int, int, int, int, int)">getWindow</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
746 |
</DD>
|
747 |
<DD><DL> |
748 |
<DT><B>Parameters:</B><DD><CODE>ulX</CODE> - coordenada X superior izda.<DD><CODE>ulY</CODE> - coordenada Y superior derecha.<DD><CODE>sizeX</CODE> - tama?o en X de la ventana.<DD><CODE>sizeY</CODE> - tama?o en Y de la ventana.<DD><CODE>band</CODE> - Banda solicitada.</DL> |
749 |
</DD>
|
750 |
</DL>
|
751 |
<HR>
|
752 |
|
753 |
<A NAME="getZone()"><!-- --></A><H3> |
754 |
getZone</H3>
|
755 |
<PRE>
|
756 |
public boolean <B>getZone</B>()</PRE> |
757 |
<DL>
|
758 |
<DD>Obtiene la zona (Norte / Sur)
|
759 |
<P>
|
760 |
<DD><DL> |
761 |
|
762 |
<DT><B>Returns:</B><DD>true si la zona es norte y false si es sur</DL> |
763 |
</DD>
|
764 |
</DL>
|
765 |
<HR>
|
766 |
|
767 |
<A NAME="getUTM()"><!-- --></A><H3> |
768 |
getUTM</H3>
|
769 |
<PRE>
|
770 |
public int <B>getUTM</B>()</PRE> |
771 |
<DL>
|
772 |
<DD>Devuelve el n?mero de zona UTM
|
773 |
<P>
|
774 |
<DD><DL> |
775 |
|
776 |
<DT><B>Returns:</B><DD>N?mero de zona</DL> |
777 |
</DD>
|
778 |
</DL>
|
779 |
<HR>
|
780 |
|
781 |
<A NAME="getGeogCS()"><!-- --></A><H3> |
782 |
getGeogCS</H3>
|
783 |
<PRE>
|
784 |
public java.lang.String <B>getGeogCS</B>()</PRE> |
785 |
<DL>
|
786 |
<DD>Obtiene el sistema de coordenadas geograficas
|
787 |
<P>
|
788 |
<DD><DL> |
789 |
|
790 |
<DT><B>Returns:</B><DD>Sistema de coordenadas geogr?ficas</DL> |
791 |
</DD>
|
792 |
</DL>
|
793 |
<HR>
|
794 |
|
795 |
<A NAME="getBlockSize()"><!-- --></A><H3> |
796 |
getBlockSize</H3>
|
797 |
<PRE>
|
798 |
public int <B>getBlockSize</B>()</PRE> |
799 |
<DL>
|
800 |
<DD>Devuelve el tama?o de bloque
|
801 |
<P>
|
802 |
<DD><DL> |
803 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getBlockSize()">getBlockSize</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
804 |
</DD>
|
805 |
<DD><DL> |
806 |
|
807 |
<DT><B>Returns:</B><DD>Tama?o de bloque</DL> |
808 |
</DD>
|
809 |
</DL>
|
810 |
<!-- ========= END OF CLASS DATA ========= -->
|
811 |
<HR>
|
812 |
|
813 |
|
814 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
815 |
<A NAME="navbar_bottom"><!-- --></A> |
816 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
817 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
818 |
<TR>
|
819 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
820 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
821 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
822 |
<TR ALIGN="center" VALIGN="top"> |
823 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
824 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
825 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
826 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
827 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
828 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
829 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
830 |
</TR>
|
831 |
</TABLE>
|
832 |
</TD>
|
833 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
834 |
</EM>
|
835 |
</TD>
|
836 |
</TR>
|
837 |
|
838 |
<TR>
|
839 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
840 |
<A HREF="../../../org/cresques/io/DxfGroupVector.html" title="class in org.cresques.io"><B>PREV CLASS</B></A> |
841 |
<A HREF="../../../org/cresques/io/EcwWriter.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD> |
842 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
843 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
844 |
<A HREF="EcwFile.html" target="_top"><B>NO FRAMES</B></A> |
845 |
<SCRIPT type="text/javascript"> |
846 |
<!--
|
847 |
if(window==top) {
|
848 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
849 |
}
|
850 |
//-->
|
851 |
</SCRIPT>
|
852 |
<NOSCRIPT>
|
853 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
854 |
</NOSCRIPT>
|
855 |
|
856 |
</FONT></TD> |
857 |
</TR>
|
858 |
<TR>
|
859 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
860 |
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.cresques.io.GeoRasterFile">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
861 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
862 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
863 |
</TR>
|
864 |
</TABLE>
|
865 |
<A NAME="skip-navbar_bottom"></A> |
866 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
867 |
|
868 |
<HR>
|
869 |
|
870 |
</BODY>
|
871 |
</HTML>
|