root / trunk / docs / Cresques / javadocs / org / cresques / io / EcwFile.html @ 11445
History | View | Annotate | Download (41.9 KB)
1 | 2256 | igbrotru | <!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 | 2845 | nacho | <!-- Generated by javadoc (build 1.4.2_03) on Fri Sep 02 13:43:20 CEST 2005 -->
|
6 | 2256 | igbrotru | <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 | 2733 | nacho | Cierra el fichero y libera los recursos.</TD> |
198 | 2256 | igbrotru | </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 | 2733 | nacho | Devuelve el alto de la imagen</TD> |
233 | 2256 | igbrotru | </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 | 2733 | nacho | Obtiene el extent asignado</TD> |
249 | 2256 | igbrotru | </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 | 2733 | nacho | Devuelve el ancho de la imagen</TD> |
257 | 2256 | igbrotru | </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 | 2733 | nacho | <CODE> void</CODE></FONT></TD> |
323 | <TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#setMultifile(boolean)">setMultifile</A></B>(boolean mult)</CODE> |
||
324 | |||
325 | <BR>
|
||
326 | </TD> |
||
327 | </TR>
|
||
328 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
329 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
330 | 2256 | igbrotru | <CODE>protected void</CODE></FONT></TD> |
331 | <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, |
||
332 | int startX,
|
||
333 | int startY,
|
||
334 | int w,
|
||
335 | int h,
|
||
336 | int[] rgbArray,
|
||
337 | int offset,
|
||
338 | int scansize)</CODE> |
||
339 | |||
340 | <BR>
|
||
341 | 2733 | nacho | Asigna al objeto Image los valores con los dato de la imagen contenidos en el |
342 | 2256 | igbrotru | vector de enteros.</TD>
|
343 | </TR>
|
||
344 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
345 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
346 | <CODE>protected void</CODE></FONT></TD> |
||
347 | <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, |
||
348 | int startX,
|
||
349 | int startY,
|
||
350 | int w,
|
||
351 | int h,
|
||
352 | int[] rgbArray,
|
||
353 | int offset,
|
||
354 | int scansize,
|
||
355 | int flags)</CODE> |
||
356 | |||
357 | <BR>
|
||
358 | 2733 | nacho | Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores |
359 | 2256 | igbrotru | con los dato de la imagen contenidos en el vector de enteros. </TD>
|
360 | </TR>
|
||
361 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
362 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
363 | <CODE>protected void</CODE></FONT></TD> |
||
364 | <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, |
||
365 | int startX,
|
||
366 | int startY,
|
||
367 | int w,
|
||
368 | int h,
|
||
369 | int[] rgbArray,
|
||
370 | int offset,
|
||
371 | int scansize,
|
||
372 | int origBand,
|
||
373 | int destBandFlag)</CODE> |
||
374 | |||
375 | <BR>
|
||
376 | 2733 | nacho | Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores |
377 | 2256 | igbrotru | con los dato de la imagen contenidos en el vector de enteros. </TD>
|
378 | </TR>
|
||
379 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
380 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
381 | <CODE> void</CODE></FONT></TD> |
||
382 | <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> |
||
383 | |||
384 | <BR>
|
||
385 | 2733 | nacho | Asigna un nuevo Extent</TD> |
386 | 2256 | igbrotru | </TR>
|
387 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
388 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
389 | <CODE> java.awt.Image</CODE></FONT></TD> |
||
390 | <TD><CODE><B><A HREF="../../../org/cresques/io/EcwFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans)">updateImage</A></B>(int width, |
||
391 | int height,
|
||
392 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</CODE> |
||
393 | |||
394 | <BR>
|
||
395 | Obtiene un trozo de imagen (determinado por la vista y los par?metros.</TD> |
||
396 | </TR>
|
||
397 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
398 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
399 | <CODE> java.awt.Image</CODE></FONT></TD> |
||
400 | <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, |
||
401 | int height,
|
||
402 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp, |
||
403 | java.awt.Image img,
|
||
404 | int origBand,
|
||
405 | int destBandFlag)</CODE> |
||
406 | |||
407 | <BR>
|
||
408 | Actualiza la/s banda/s especificadas en la imagen.</TD> |
||
409 | </TR>
|
||
410 | </TABLE>
|
||
411 | <A NAME="methods_inherited_from_class_org.cresques.io.GeoRasterFile"><!-- --></A> |
||
412 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
413 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
414 | <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> |
||
415 | </TR>
|
||
416 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
417 | <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> |
||
418 | </TR>
|
||
419 | </TABLE>
|
||
420 | <A NAME="methods_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A> |
||
421 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
422 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
423 | <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> |
||
424 | </TR>
|
||
425 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
426 | <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> |
||
427 | </TR>
|
||
428 | </TABLE>
|
||
429 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
430 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
431 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
432 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
||
433 | </TR>
|
||
434 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
435 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
436 | </TR>
|
||
437 | </TABLE>
|
||
438 |
|
||
439 | <P>
|
||
440 | |||
441 | <!-- ============ FIELD DETAIL =========== -->
|
||
442 | |||
443 | |||
444 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
445 | |||
446 | <A NAME="constructor_detail"><!-- --></A> |
||
447 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
448 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
449 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
450 | <B>Constructor Detail</B></FONT></TD> |
||
451 | </TR>
|
||
452 | </TABLE>
|
||
453 | |||
454 | <A NAME="EcwFile(org.cresques.cts.IProjection, java.lang.String)"><!-- --></A><H3> |
||
455 | EcwFile</H3>
|
||
456 | <PRE>
|
||
457 | public <B>EcwFile</B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A> proj, |
||
458 | java.lang.String fName)</PRE> |
||
459 | <DL>
|
||
460 | </DL>
|
||
461 | |||
462 | <!-- ============ METHOD DETAIL ========== -->
|
||
463 | |||
464 | <A NAME="method_detail"><!-- --></A> |
||
465 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
466 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
467 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
468 | <B>Method Detail</B></FONT></TD> |
||
469 | </TR>
|
||
470 | </TABLE>
|
||
471 | |||
472 | <A NAME="setView(org.cresques.px.Extent)"><!-- --></A><H3> |
||
473 | setView</H3>
|
||
474 | <PRE>
|
||
475 | public void <B>setView</B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> e)</PRE> |
||
476 | <DL>
|
||
477 | 2733 | nacho | <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> |
478 | <DD>Asigna un nuevo Extent
|
||
479 | <P>
|
||
480 | 2256 | igbrotru | <DD><DL> |
481 | <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> |
||
482 | </DD>
|
||
483 | <DD><DL> |
||
484 | 2733 | nacho | <DT><B>Parameters:</B><DD><CODE>e</CODE> - Extent</DL> |
485 | 2256 | igbrotru | </DD>
|
486 | </DL>
|
||
487 | <HR>
|
||
488 | |||
489 | <A NAME="getView()"><!-- --></A><H3> |
||
490 | getView</H3>
|
||
491 | <PRE>
|
||
492 | public <A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> <B>getView</B>()</PRE> |
||
493 | <DL>
|
||
494 | 2733 | nacho | <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> |
495 | <DD>Obtiene el extent asignado
|
||
496 | <P>
|
||
497 | 2256 | igbrotru | <DD><DL> |
498 | <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> |
||
499 | </DD>
|
||
500 | <DD><DL> |
||
501 | 2733 | nacho | |
502 | <DT><B>Returns:</B><DD>Extent</DL> |
||
503 | 2256 | igbrotru | </DD>
|
504 | </DL>
|
||
505 | <HR>
|
||
506 | |||
507 | <A NAME="load()"><!-- --></A><H3> |
||
508 | load</H3>
|
||
509 | <PRE>
|
||
510 | public <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A> <B>load</B>()</PRE> |
||
511 | <DL>
|
||
512 | <DD>Carga un ECW.
|
||
513 | <P>
|
||
514 | <DD><DL> |
||
515 | <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> |
||
516 | </DD>
|
||
517 | <DD><DL> |
||
518 | </DL>
|
||
519 | </DD>
|
||
520 | </DL>
|
||
521 | <HR>
|
||
522 | |||
523 | <A NAME="close()"><!-- --></A><H3> |
||
524 | close</H3>
|
||
525 | <PRE>
|
||
526 | public void <B>close</B>()</PRE> |
||
527 | <DL>
|
||
528 | 2733 | nacho | <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> |
529 | <DD>Cierra el fichero y libera los recursos.
|
||
530 | <P>
|
||
531 | 2256 | igbrotru | <DD><DL> |
532 | <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> |
||
533 | </DD>
|
||
534 | <DD><DL> |
||
535 | </DL>
|
||
536 | </DD>
|
||
537 | </DL>
|
||
538 | <HR>
|
||
539 | |||
540 | <A NAME="getWidth()"><!-- --></A><H3> |
||
541 | getWidth</H3>
|
||
542 | <PRE>
|
||
543 | public int <B>getWidth</B>()</PRE> |
||
544 | <DL>
|
||
545 | 2733 | nacho | <DD>Devuelve el ancho de la imagen
|
546 | <P>
|
||
547 | 2256 | igbrotru | <DD><DL> |
548 | <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> |
||
549 | </DD>
|
||
550 | <DD><DL> |
||
551 | 2733 | nacho | |
552 | <DT><B>Returns:</B><DD>Ancho de la imagen</DL> |
||
553 | 2256 | igbrotru | </DD>
|
554 | </DL>
|
||
555 | <HR>
|
||
556 | |||
557 | <A NAME="getHeight()"><!-- --></A><H3> |
||
558 | getHeight</H3>
|
||
559 | <PRE>
|
||
560 | public int <B>getHeight</B>()</PRE> |
||
561 | <DL>
|
||
562 | 2733 | nacho | <DD>Devuelve el alto de la imagen
|
563 | <P>
|
||
564 | 2256 | igbrotru | <DD><DL> |
565 | <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> |
||
566 | </DD>
|
||
567 | <DD><DL> |
||
568 | 2733 | nacho | |
569 | <DT><B>Returns:</B><DD>Ancho de la imagen</DL> |
||
570 | </DD>
|
||
571 | 2256 | igbrotru | </DL>
|
572 | 2733 | nacho | <HR>
|
573 | |||
574 | <A NAME="setMultifile(boolean)"><!-- --></A><H3> |
||
575 | setMultifile</H3>
|
||
576 | <PRE>
|
||
577 | public void <B>setMultifile</B>(boolean mult)</PRE> |
||
578 | <DL>
|
||
579 | <DD><DL> |
||
580 | </DL>
|
||
581 | 2256 | igbrotru | </DD>
|
582 | </DL>
|
||
583 | <HR>
|
||
584 | |||
585 | <A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans)"><!-- --></A><H3> |
||
586 | updateImage</H3>
|
||
587 | <PRE>
|
||
588 | public java.awt.Image <B>updateImage</B>(int width, |
||
589 | int height,
|
||
590 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</PRE> |
||
591 | <DL>
|
||
592 | <DD>Obtiene un trozo de imagen (determinado por la vista y los par?metros.
|
||
593 | <P>
|
||
594 | <DD><DL> |
||
595 | <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> |
||
596 | </DD>
|
||
597 | <DD><DL> |
||
598 | 2733 | nacho | <DT><B>Parameters:</B><DD><CODE>width</CODE> - <DD><CODE>height</CODE> - <DD><CODE>rp</CODE> - Reproyecci?n |
599 | <DT><B>Returns:</B><DD>img</DL> |
||
600 | 2256 | igbrotru | </DD>
|
601 | </DL>
|
||
602 | <HR>
|
||
603 | |||
604 | <A NAME="reProject(org.cresques.cts.ICoordTrans)"><!-- --></A><H3> |
||
605 | reProject</H3>
|
||
606 | <PRE>
|
||
607 | public void <B>reProject</B>(<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</PRE> |
||
608 | <DL>
|
||
609 | <DD>Reproyecta el raster.
|
||
610 | <P>
|
||
611 | <DD><DL> |
||
612 | <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> |
||
613 | </DD>
|
||
614 | <DD><DL> |
||
615 | 2733 | nacho | <DT><B>Parameters:</B><DD><CODE>rp</CODE> - Coordenadas de la transformaci?n</DL> |
616 | 2256 | igbrotru | </DD>
|
617 | </DL>
|
||
618 | <HR>
|
||
619 | |||
620 | <A NAME="refreshUpdate(int, int, double, double, double, double)"><!-- --></A><H3> |
||
621 | refreshUpdate</H3>
|
||
622 | <PRE>
|
||
623 | public void <B>refreshUpdate</B>(int nWidth, |
||
624 | int nHeight,
|
||
625 | double dWorldTLX,
|
||
626 | double dWorldTLY,
|
||
627 | double dWorldBRX,
|
||
628 | double dWorldBRY)</PRE> |
||
629 | <DL>
|
||
630 | <DD>Soporte para actualizaci?n de la imagen
|
||
631 | <P>
|
||
632 | <DD><DL> |
||
633 | <DT><B>See Also:</B><DD><CODE>com.ermapper.ecw.JNCSProgressiveUpdate#refreshUpdate(int, int, double, double, double, double)</CODE></DL> |
||
634 | </DD>
|
||
635 | </DL>
|
||
636 | <HR>
|
||
637 | |||
638 | <A NAME="refreshUpdate(int, int, int, int, int, int)"><!-- --></A><H3> |
||
639 | refreshUpdate</H3>
|
||
640 | <PRE>
|
||
641 | public void <B>refreshUpdate</B>(int nWidth, |
||
642 | int nHeight,
|
||
643 | int dDatasetTLX,
|
||
644 | int dDatasetTLY,
|
||
645 | int dDatasetBRX,
|
||
646 | int dDatasetBRY)</PRE> |
||
647 | <DL>
|
||
648 | <DD><DL> |
||
649 | </DL>
|
||
650 | </DD>
|
||
651 | </DL>
|
||
652 | <HR>
|
||
653 | |||
654 | <A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int)"><!-- --></A><H3> |
||
655 | setRGBLine</H3>
|
||
656 | <PRE>
|
||
657 | protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
||
658 | int startX,
|
||
659 | int startY,
|
||
660 | int w,
|
||
661 | int h,
|
||
662 | int[] rgbArray,
|
||
663 | int offset,
|
||
664 | int scansize)</PRE> |
||
665 | <DL>
|
||
666 | 2733 | nacho | <DD>Asigna al objeto Image los valores con los dato de la imagen contenidos en el
|
667 | 2256 | igbrotru | vector de enteros. |
668 | <P>
|
||
669 | <DD><DL> |
||
670 | <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> |
||
671 | </DD>
|
||
672 | </DL>
|
||
673 | <HR>
|
||
674 | |||
675 | <A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int)"><!-- --></A><H3> |
||
676 | setRGBLine</H3>
|
||
677 | <PRE>
|
||
678 | protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
||
679 | int startX,
|
||
680 | int startY,
|
||
681 | int w,
|
||
682 | int h,
|
||
683 | int[] rgbArray,
|
||
684 | int offset,
|
||
685 | int scansize,
|
||
686 | int flags)</PRE> |
||
687 | <DL>
|
||
688 | 2733 | nacho | <DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
|
689 | 2256 | igbrotru | con los dato de la imagen contenidos en el vector de enteros. De los valores RGB |
690 | que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La |
||
691 | banda correspondiente a flags es sustituida por los datos del vector. |
||
692 | <P>
|
||
693 | <DD><DL> |
||
694 | <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> |
||
695 | </DD>
|
||
696 | </DL>
|
||
697 | <HR>
|
||
698 | |||
699 | <A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int, int)"><!-- --></A><H3> |
||
700 | setRGBLine</H3>
|
||
701 | <PRE>
|
||
702 | protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
||
703 | int startX,
|
||
704 | int startY,
|
||
705 | int w,
|
||
706 | int h,
|
||
707 | int[] rgbArray,
|
||
708 | int offset,
|
||
709 | int scansize,
|
||
710 | int origBand,
|
||
711 | int destBandFlag)</PRE> |
||
712 | <DL>
|
||
713 | 2733 | nacho | <DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
|
714 | 2256 | igbrotru | con los dato de la imagen contenidos en el vector de enteros. De los valores RGB |
715 | que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La |
||
716 | banda correspondiente a flags es sustituida por los datos del vector. |
||
717 | <P>
|
||
718 | <DD><DL> |
||
719 | <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> |
||
720 | </DD>
|
||
721 | </DL>
|
||
722 | <HR>
|
||
723 | |||
724 | <A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)"><!-- --></A><H3> |
||
725 | updateImage</H3>
|
||
726 | <PRE>
|
||
727 | public java.awt.Image <B>updateImage</B>(int width, |
||
728 | int height,
|
||
729 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp, |
||
730 | java.awt.Image img,
|
||
731 | int origBand,
|
||
732 | int destBandFlag)</PRE> |
||
733 | <DL>
|
||
734 | <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> |
||
735 | <DD>Actualiza la/s banda/s especificadas en la imagen.
|
||
736 | <P>
|
||
737 | <DD><DL> |
||
738 | <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> |
||
739 | </DD>
|
||
740 | <DD><DL> |
||
741 | <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 |
||
742 | <DT><B>Returns:</B><DD>img</DL> |
||
743 | </DD>
|
||
744 | </DL>
|
||
745 | <HR>
|
||
746 | |||
747 | <A NAME="getData(int, int, int)"><!-- --></A><H3> |
||
748 | getData</H3>
|
||
749 | <PRE>
|
||
750 | public java.lang.Object <B>getData</B>(int x, |
||
751 | int y,
|
||
752 | int band)</PRE> |
||
753 | <DL>
|
||
754 | <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> |
||
755 | <DD>Obtiene el valor del raster en la coordenada que se le pasa.
|
||
756 | El valor ser? Double, Int, Byte, etc. dependiendo del tipo de |
||
757 | raster. |
||
758 | <P>
|
||
759 | <DD><DL> |
||
760 | <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> |
||
761 | </DD>
|
||
762 | <DD><DL> |
||
763 | <DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y |
||
764 | <DT><B>Returns:</B><DD></DL> |
||
765 | </DD>
|
||
766 | </DL>
|
||
767 | <HR>
|
||
768 | |||
769 | <A NAME="getWindow(int, int, int, int, int)"><!-- --></A><H3> |
||
770 | getWindow</H3>
|
||
771 | <PRE>
|
||
772 | public byte[] <B>getWindow</B>(int ulX, |
||
773 | int ulY,
|
||
774 | int sizeX,
|
||
775 | int sizeY,
|
||
776 | int band)</PRE> |
||
777 | <DL>
|
||
778 | <DD>Devuelve los datos de una ventana solicitada
|
||
779 | <P>
|
||
780 | <DD><DL> |
||
781 | <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> |
||
782 | </DD>
|
||
783 | <DD><DL> |
||
784 | <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> |
||
785 | </DD>
|
||
786 | </DL>
|
||
787 | <HR>
|
||
788 | |||
789 | <A NAME="getZone()"><!-- --></A><H3> |
||
790 | getZone</H3>
|
||
791 | <PRE>
|
||
792 | public boolean <B>getZone</B>()</PRE> |
||
793 | <DL>
|
||
794 | <DD>Obtiene la zona (Norte / Sur)
|
||
795 | <P>
|
||
796 | <DD><DL> |
||
797 | |||
798 | <DT><B>Returns:</B><DD>true si la zona es norte y false si es sur</DL> |
||
799 | </DD>
|
||
800 | </DL>
|
||
801 | <HR>
|
||
802 | |||
803 | <A NAME="getUTM()"><!-- --></A><H3> |
||
804 | getUTM</H3>
|
||
805 | <PRE>
|
||
806 | public int <B>getUTM</B>()</PRE> |
||
807 | <DL>
|
||
808 | <DD>Devuelve el n?mero de zona UTM
|
||
809 | <P>
|
||
810 | <DD><DL> |
||
811 | |||
812 | <DT><B>Returns:</B><DD>N?mero de zona</DL> |
||
813 | </DD>
|
||
814 | </DL>
|
||
815 | <HR>
|
||
816 | |||
817 | <A NAME="getGeogCS()"><!-- --></A><H3> |
||
818 | getGeogCS</H3>
|
||
819 | <PRE>
|
||
820 | public java.lang.String <B>getGeogCS</B>()</PRE> |
||
821 | <DL>
|
||
822 | <DD>Obtiene el sistema de coordenadas geograficas
|
||
823 | <P>
|
||
824 | <DD><DL> |
||
825 | |||
826 | <DT><B>Returns:</B><DD>Sistema de coordenadas geogr?ficas</DL> |
||
827 | </DD>
|
||
828 | </DL>
|
||
829 | <HR>
|
||
830 | |||
831 | <A NAME="getBlockSize()"><!-- --></A><H3> |
||
832 | getBlockSize</H3>
|
||
833 | <PRE>
|
||
834 | public int <B>getBlockSize</B>()</PRE> |
||
835 | <DL>
|
||
836 | <DD>Devuelve el tama?o de bloque
|
||
837 | <P>
|
||
838 | <DD><DL> |
||
839 | <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> |
||
840 | </DD>
|
||
841 | <DD><DL> |
||
842 | |||
843 | <DT><B>Returns:</B><DD>Tama?o de bloque</DL> |
||
844 | </DD>
|
||
845 | </DL>
|
||
846 | <!-- ========= END OF CLASS DATA ========= -->
|
||
847 | <HR>
|
||
848 | |||
849 | |||
850 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
851 | <A NAME="navbar_bottom"><!-- --></A> |
||
852 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
853 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
854 | <TR>
|
||
855 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
856 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
857 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
858 | <TR ALIGN="center" VALIGN="top"> |
||
859 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
860 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
861 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
862 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
863 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
864 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
865 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
866 | </TR>
|
||
867 | </TABLE>
|
||
868 | </TD>
|
||
869 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
870 | </EM>
|
||
871 | </TD>
|
||
872 | </TR>
|
||
873 | |||
874 | <TR>
|
||
875 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
876 | <A HREF="../../../org/cresques/io/DxfGroupVector.html" title="class in org.cresques.io"><B>PREV CLASS</B></A> |
||
877 | <A HREF="../../../org/cresques/io/EcwWriter.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD> |
||
878 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
879 | <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
||
880 | <A HREF="EcwFile.html" target="_top"><B>NO FRAMES</B></A> |
||
881 | <SCRIPT type="text/javascript"> |
||
882 | <!--
|
||
883 | if(window==top) {
|
||
884 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
885 | }
|
||
886 | //-->
|
||
887 | </SCRIPT>
|
||
888 | <NOSCRIPT>
|
||
889 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
890 | </NOSCRIPT>
|
||
891 | |||
892 | </FONT></TD> |
||
893 | </TR>
|
||
894 | <TR>
|
||
895 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
896 | 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> |
||
897 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
898 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
899 | </TR>
|
||
900 | </TABLE>
|
||
901 | <A NAME="skip-navbar_bottom"></A> |
||
902 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
903 | |||
904 | <HR>
|
||
905 | |||
906 | </BODY>
|
||
907 | </HTML> |