root / trunk / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / io / MrSidFile.html @ 2849
History | View | Annotate | Download (38.4 KB)
1 | 2849 | nacho | <!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 Fri Sep 02 13:43:21 CEST 2005 -->
|
||
6 | <TITLE>
|
||
7 | MrSidFile |
||
8 | </TITLE>
|
||
9 | |||
10 | <META NAME="keywords" CONTENT="org.cresques.io.MrSidFile 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="MrSidFile"; |
||
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/MapServerInputStream.html" title="class in org.cresques.io"><B>PREV CLASS</B></A> |
||
53 | <A HREF="../../../org/cresques/io/Rasterizer.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="MrSidFile.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 MrSidFile</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.MrSidFile</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>MrSidFile</B><DT>extends <A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></DL> |
||
99 | |||
100 | <P>
|
||
101 | <DL>
|
||
102 | <DT><B>Author:</B></DT> |
||
103 | <DD>Nacho Brodin <brodin_ign@gva.es> |
||
104 | |||
105 | Clase encargada del acceso a los datos y repintado de imagenes MrSID. Estos |
||
106 | son registrados con la extensi?n sid</DD>
|
||
107 | </DL>
|
||
108 | <HR>
|
||
109 | |||
110 | <P>
|
||
111 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
112 | |||
113 | |||
114 | <!-- =========== FIELD SUMMARY =========== -->
|
||
115 | |||
116 | <A NAME="field_summary"><!-- --></A> |
||
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
119 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
120 | <B>Field Summary</B></FONT></TD> |
||
121 | </TR>
|
||
122 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
123 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
124 | <CODE>static int</CODE></FONT></TD> |
||
125 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#BAND_HEIGHT">BAND_HEIGHT</A></B></CODE> |
||
126 | |||
127 | <BR>
|
||
128 | </TD> |
||
129 | </TR>
|
||
130 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
131 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
132 | <CODE>protected org.cresques.io.MrSidNative</CODE></FONT></TD> |
||
133 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#file">file</A></B></CODE> |
||
134 | |||
135 | <BR>
|
||
136 | </TD> |
||
137 | </TR>
|
||
138 | </TABLE>
|
||
139 | <A NAME="fields_inherited_from_class_org.cresques.io.GeoRasterFile"><!-- --></A> |
||
140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
141 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
142 | <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> |
||
143 | </TR>
|
||
144 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
145 | <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> |
||
146 | </TR>
|
||
147 | </TABLE>
|
||
148 | <A NAME="fields_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A> |
||
149 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
150 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
151 | <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> |
||
152 | </TR>
|
||
153 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
154 | <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> |
||
155 | </TR>
|
||
156 | </TABLE>
|
||
157 |
|
||
158 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
159 | |||
160 | <A NAME="constructor_summary"><!-- --></A> |
||
161 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
162 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
163 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
164 | <B>Constructor Summary</B></FONT></TD> |
||
165 | </TR>
|
||
166 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
167 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#MrSidFile(org.cresques.cts.IProjection, java.lang.String)">MrSidFile</A></B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A> proj, |
||
168 | java.lang.String fName)</CODE> |
||
169 | |||
170 | <BR>
|
||
171 | Contructor. </TD> |
||
172 | </TR>
|
||
173 | </TABLE>
|
||
174 |
|
||
175 | <!-- ========== METHOD SUMMARY =========== -->
|
||
176 | |||
177 | <A NAME="method_summary"><!-- --></A> |
||
178 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
179 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
180 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
181 | <B>Method Summary</B></FONT></TD> |
||
182 | </TR>
|
||
183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
184 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
185 | <CODE> void</CODE></FONT></TD> |
||
186 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#close()">close</A></B>()</CODE> |
||
187 | |||
188 | <BR>
|
||
189 | Libera el objeto que ha abierto el fichero</TD> |
||
190 | </TR>
|
||
191 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
192 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
193 | <CODE> int</CODE></FONT></TD> |
||
194 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#getBlockSize()">getBlockSize</A></B>()</CODE> |
||
195 | |||
196 | <BR>
|
||
197 | Devuelve el tama?o de bloque</TD> |
||
198 | </TR>
|
||
199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
201 | <CODE> java.lang.Object</CODE></FONT></TD> |
||
202 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#getData(int, int, int)">getData</A></B>(int x, |
||
203 | int y,
|
||
204 | int band)</CODE> |
||
205 | |||
206 | <BR>
|
||
207 | Obtiene el valor del raster en la coordenada que se le pasa. |
||
208 | </TD>
|
||
209 | </TR>
|
||
210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
212 | <CODE> int</CODE></FONT></TD> |
||
213 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#getHeight()">getHeight</A></B>()</CODE> |
||
214 | |||
215 | <BR>
|
||
216 | Obtiene el alto de la imagen</TD> |
||
217 | </TR>
|
||
218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
220 | <CODE> <A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A></CODE></FONT></TD> |
||
221 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#getView()">getView</A></B>()</CODE> |
||
222 | |||
223 | <BR>
|
||
224 | Obtiene el Extent de la vista</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/MrSidFile.html#getWidth()">getWidth</A></B>()</CODE> |
||
230 | |||
231 | <BR>
|
||
232 | Obtiene el ancho de la imagen</TD> |
||
233 | </TR>
|
||
234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
236 | <CODE> byte[]</CODE></FONT></TD> |
||
237 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#getWindow(int, int, int, int, int)">getWindow</A></B>(int ulX, |
||
238 | int ulY,
|
||
239 | int sizeX,
|
||
240 | int sizeY,
|
||
241 | int band)</CODE> |
||
242 | |||
243 | <BR>
|
||
244 | Devuelve los datos de una ventana solicitada</TD> |
||
245 | </TR>
|
||
246 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
247 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
248 | <CODE> <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></FONT></TD> |
||
249 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#load()">load</A></B>()</CODE> |
||
250 | |||
251 | <BR>
|
||
252 | Carga un fichero raster. </TD> |
||
253 | </TR>
|
||
254 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
255 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
256 | <CODE> void</CODE></FONT></TD> |
||
257 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.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> |
||
258 | |||
259 | <BR>
|
||
260 | Reproyecci?n.</TD> |
||
261 | </TR>
|
||
262 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
263 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
264 | <CODE> void</CODE></FONT></TD> |
||
265 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#setBand(int, int)">setBand</A></B>(int flag, |
||
266 | int bandNr)</CODE> |
||
267 | |||
268 | <BR>
|
||
269 | Asigna una banda R, G o B</TD> |
||
270 | </TR>
|
||
271 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
272 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
273 | <CODE>protected void</CODE></FONT></TD> |
||
274 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage image, |
||
275 | int startX,
|
||
276 | int startY,
|
||
277 | int w,
|
||
278 | int h,
|
||
279 | int[] rgbArray,
|
||
280 | int offset,
|
||
281 | int scansize)</CODE> |
||
282 | |||
283 | <BR>
|
||
284 | Asigna al objeto Image los valores con los dato de la imagen contenidos en el |
||
285 | vector de enteros.</TD>
|
||
286 | </TR>
|
||
287 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
288 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
289 | <CODE>protected void</CODE></FONT></TD> |
||
290 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage image, |
||
291 | int startX,
|
||
292 | int startY,
|
||
293 | int w,
|
||
294 | int h,
|
||
295 | int[] rgbArray,
|
||
296 | int offset,
|
||
297 | int scansize,
|
||
298 | int flags)</CODE> |
||
299 | |||
300 | <BR>
|
||
301 | Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores |
||
302 | con los datos de la imagen contenidos en el vector de enteros. </TD>
|
||
303 | </TR>
|
||
304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
306 | <CODE>protected void</CODE></FONT></TD> |
||
307 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage image, |
||
308 | int startX,
|
||
309 | int startY,
|
||
310 | int w,
|
||
311 | int h,
|
||
312 | int[] rgbArray,
|
||
313 | int offset,
|
||
314 | int scansize,
|
||
315 | int origBand,
|
||
316 | int destBandFlag)</CODE> |
||
317 | |||
318 | <BR>
|
||
319 | Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores |
||
320 | con los dato de la imagen contenidos en el vector de enteros. </TD>
|
||
321 | </TR>
|
||
322 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
323 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
324 | <CODE> void</CODE></FONT></TD> |
||
325 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.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> |
||
326 | |||
327 | <BR>
|
||
328 | Asigna el extent de la vista</TD> |
||
329 | </TR>
|
||
330 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
331 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
332 | <CODE> java.awt.Image</CODE></FONT></TD> |
||
333 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans)">updateImage</A></B>(int width, |
||
334 | int height,
|
||
335 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</CODE> |
||
336 | |||
337 | <BR>
|
||
338 | Actualiza la imagen. </TD> |
||
339 | </TR>
|
||
340 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
342 | <CODE> java.awt.Image</CODE></FONT></TD> |
||
343 | <TD><CODE><B><A HREF="../../../org/cresques/io/MrSidFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)">updateImage</A></B>(int width, |
||
344 | int height,
|
||
345 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp, |
||
346 | java.awt.Image img,
|
||
347 | int origBand,
|
||
348 | int destBandFlag)</CODE> |
||
349 | |||
350 | <BR>
|
||
351 | Actualiza la/s banda/s especificadas en la imagen.</TD> |
||
352 | </TR>
|
||
353 | </TABLE>
|
||
354 | <A NAME="methods_inherited_from_class_org.cresques.io.GeoRasterFile"><!-- --></A> |
||
355 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
356 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
357 | <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> |
||
358 | </TR>
|
||
359 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
360 | <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#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> |
||
361 | </TR>
|
||
362 | </TABLE>
|
||
363 | <A NAME="methods_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A> |
||
364 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
365 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
366 | <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> |
||
367 | </TR>
|
||
368 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
369 | <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> |
||
370 | </TR>
|
||
371 | </TABLE>
|
||
372 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
373 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
374 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
375 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
||
376 | </TR>
|
||
377 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
378 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
379 | </TR>
|
||
380 | </TABLE>
|
||
381 |
|
||
382 | <P>
|
||
383 | |||
384 | <!-- ============ FIELD DETAIL =========== -->
|
||
385 | |||
386 | <A NAME="field_detail"><!-- --></A> |
||
387 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
388 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
389 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
390 | <B>Field Detail</B></FONT></TD> |
||
391 | </TR>
|
||
392 | </TABLE>
|
||
393 | |||
394 | <A NAME="BAND_HEIGHT"><!-- --></A><H3> |
||
395 | BAND_HEIGHT</H3>
|
||
396 | <PRE>
|
||
397 | public static final int <B>BAND_HEIGHT</B></PRE> |
||
398 | <DL>
|
||
399 | <DL>
|
||
400 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.MrSidFile.BAND_HEIGHT">Constant Field Values</A></DL> |
||
401 | </DL>
|
||
402 | <HR>
|
||
403 | |||
404 | <A NAME="file"><!-- --></A><H3> |
||
405 | file</H3>
|
||
406 | <PRE>
|
||
407 | protected org.cresques.io.MrSidNative <B>file</B></PRE> |
||
408 | <DL>
|
||
409 | <DL>
|
||
410 | </DL>
|
||
411 | </DL>
|
||
412 | |||
413 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
414 | |||
415 | <A NAME="constructor_detail"><!-- --></A> |
||
416 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
417 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
418 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
419 | <B>Constructor Detail</B></FONT></TD> |
||
420 | </TR>
|
||
421 | </TABLE>
|
||
422 | |||
423 | <A NAME="MrSidFile(org.cresques.cts.IProjection, java.lang.String)"><!-- --></A><H3> |
||
424 | MrSidFile</H3>
|
||
425 | <PRE>
|
||
426 | public <B>MrSidFile</B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A> proj, |
||
427 | java.lang.String fName)</PRE> |
||
428 | <DL>
|
||
429 | <DD>Contructor. Abre el fichero mrsid
|
||
430 | <P>
|
||
431 | <DT><B>Parameters:</B><DD><CODE>proj</CODE> - Proyecci?n<DD><CODE>fName</CODE> - Nombre del fichero mrsid</DL> |
||
432 | |||
433 | <!-- ============ METHOD DETAIL ========== -->
|
||
434 | |||
435 | <A NAME="method_detail"><!-- --></A> |
||
436 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
437 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
438 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
439 | <B>Method Detail</B></FONT></TD> |
||
440 | </TR>
|
||
441 | </TABLE>
|
||
442 | |||
443 | <A NAME="load()"><!-- --></A><H3> |
||
444 | load</H3>
|
||
445 | <PRE>
|
||
446 | public <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A> <B>load</B>()</PRE> |
||
447 | <DL>
|
||
448 | <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> |
||
449 | <DD>Carga un fichero raster. Puede usarse para calcular el extent e instanciar
|
||
450 | un objeto de este tipo. |
||
451 | <P>
|
||
452 | <DD><DL> |
||
453 | <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> |
||
454 | </DD>
|
||
455 | <DD><DL> |
||
456 | </DL>
|
||
457 | </DD>
|
||
458 | </DL>
|
||
459 | <HR>
|
||
460 | |||
461 | <A NAME="close()"><!-- --></A><H3> |
||
462 | close</H3>
|
||
463 | <PRE>
|
||
464 | public void <B>close</B>()</PRE> |
||
465 | <DL>
|
||
466 | <DD>Libera el objeto que ha abierto el fichero
|
||
467 | <P>
|
||
468 | <DD><DL> |
||
469 | <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> |
||
470 | </DD>
|
||
471 | <DD><DL> |
||
472 | </DL>
|
||
473 | </DD>
|
||
474 | </DL>
|
||
475 | <HR>
|
||
476 | |||
477 | <A NAME="setBand(int, int)"><!-- --></A><H3> |
||
478 | setBand</H3>
|
||
479 | <PRE>
|
||
480 | public void <B>setBand</B>(int flag, |
||
481 | int bandNr)</PRE> |
||
482 | <DL>
|
||
483 | <DD>Asigna una banda R, G o B
|
||
484 | <P>
|
||
485 | <DD><DL> |
||
486 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#setBand(int, int)">setBand</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL> |
||
487 | </DD>
|
||
488 | <DD><DL> |
||
489 | <DT><B>Parameters:</B><DD><CODE>flag</CODE> - cual (o cuales) de las bandas.</DL> |
||
490 | </DD>
|
||
491 | </DL>
|
||
492 | <HR>
|
||
493 | |||
494 | <A NAME="setView(org.cresques.px.Extent)"><!-- --></A><H3> |
||
495 | setView</H3>
|
||
496 | <PRE>
|
||
497 | public void <B>setView</B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> e)</PRE> |
||
498 | <DL>
|
||
499 | <DD>Asigna el extent de la vista
|
||
500 | <P>
|
||
501 | <DD><DL> |
||
502 | <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> |
||
503 | </DD>
|
||
504 | <DD><DL> |
||
505 | <DT><B>Parameters:</B><DD><CODE>e</CODE> - Extent</DL> |
||
506 | </DD>
|
||
507 | </DL>
|
||
508 | <HR>
|
||
509 | |||
510 | <A NAME="getView()"><!-- --></A><H3> |
||
511 | getView</H3>
|
||
512 | <PRE>
|
||
513 | public <A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> <B>getView</B>()</PRE> |
||
514 | <DL>
|
||
515 | <DD>Obtiene el Extent de la vista
|
||
516 | <P>
|
||
517 | <DD><DL> |
||
518 | <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> |
||
519 | </DD>
|
||
520 | <DD><DL> |
||
521 | |||
522 | <DT><B>Returns:</B><DD>Extent</DL> |
||
523 | </DD>
|
||
524 | </DL>
|
||
525 | <HR>
|
||
526 | |||
527 | <A NAME="getWidth()"><!-- --></A><H3> |
||
528 | getWidth</H3>
|
||
529 | <PRE>
|
||
530 | public int <B>getWidth</B>()</PRE> |
||
531 | <DL>
|
||
532 | <DD>Obtiene el ancho de la imagen
|
||
533 | <P>
|
||
534 | <DD><DL> |
||
535 | <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> |
||
536 | </DD>
|
||
537 | <DD><DL> |
||
538 | |||
539 | <DT><B>Returns:</B><DD>Ancho de la imagen</DL> |
||
540 | </DD>
|
||
541 | </DL>
|
||
542 | <HR>
|
||
543 | |||
544 | <A NAME="getHeight()"><!-- --></A><H3> |
||
545 | getHeight</H3>
|
||
546 | <PRE>
|
||
547 | public int <B>getHeight</B>()</PRE> |
||
548 | <DL>
|
||
549 | <DD>Obtiene el alto de la imagen
|
||
550 | <P>
|
||
551 | <DD><DL> |
||
552 | <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> |
||
553 | </DD>
|
||
554 | <DD><DL> |
||
555 | |||
556 | <DT><B>Returns:</B><DD>Ancho de la imagen</DL> |
||
557 | </DD>
|
||
558 | </DL>
|
||
559 | <HR>
|
||
560 | |||
561 | <A NAME="reProject(org.cresques.cts.ICoordTrans)"><!-- --></A><H3> |
||
562 | reProject</H3>
|
||
563 | <PRE>
|
||
564 | public void <B>reProject</B>(<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</PRE> |
||
565 | <DL>
|
||
566 | <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> |
||
567 | <DD>Reproyecci?n.
|
||
568 | <P>
|
||
569 | <DD><DL> |
||
570 | <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> |
||
571 | </DD>
|
||
572 | <DD><DL> |
||
573 | <DT><B>Parameters:</B><DD><CODE>rp</CODE> - Coordenadas de la transformaci?n</DL> |
||
574 | </DD>
|
||
575 | </DL>
|
||
576 | <HR>
|
||
577 | |||
578 | <A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans)"><!-- --></A><H3> |
||
579 | updateImage</H3>
|
||
580 | <PRE>
|
||
581 | public java.awt.Image <B>updateImage</B>(int width, |
||
582 | int height,
|
||
583 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp)</PRE> |
||
584 | <DL>
|
||
585 | <DD>Actualiza la imagen. Se encarga de llamar a la funci?n que calcula la vista
|
||
586 | y luego a la que lee la escena sobre un buffer. Vuelca la informaci?n obtenida |
||
587 | sobre el Image que la visualiza. |
||
588 | <P>
|
||
589 | <DD><DL> |
||
590 | <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> |
||
591 | </DD>
|
||
592 | <DD><DL> |
||
593 | <DT><B>Parameters:</B><DD><CODE>width</CODE> - ancho<DD><CODE>height</CODE> - alto<DD><CODE>rp</CODE> - Reproyecci?n |
||
594 | <DT><B>Returns:</B><DD>img</DL> |
||
595 | </DD>
|
||
596 | </DL>
|
||
597 | <HR>
|
||
598 | |||
599 | <A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int)"><!-- --></A><H3> |
||
600 | setRGBLine</H3>
|
||
601 | <PRE>
|
||
602 | protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
||
603 | int startX,
|
||
604 | int startY,
|
||
605 | int w,
|
||
606 | int h,
|
||
607 | int[] rgbArray,
|
||
608 | int offset,
|
||
609 | int scansize)</PRE> |
||
610 | <DL>
|
||
611 | <DD>Asigna al objeto Image los valores con los dato de la imagen contenidos en el
|
||
612 | vector de enteros. |
||
613 | <P>
|
||
614 | <DD><DL> |
||
615 | <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> |
||
616 | </DD>
|
||
617 | </DL>
|
||
618 | <HR>
|
||
619 | |||
620 | <A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int)"><!-- --></A><H3> |
||
621 | setRGBLine</H3>
|
||
622 | <PRE>
|
||
623 | protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
||
624 | int startX,
|
||
625 | int startY,
|
||
626 | int w,
|
||
627 | int h,
|
||
628 | int[] rgbArray,
|
||
629 | int offset,
|
||
630 | int scansize,
|
||
631 | int flags)</PRE> |
||
632 | <DL>
|
||
633 | <DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
|
||
634 | con los datos de la imagen contenidos en el vector de enteros. De los valores RGB |
||
635 | que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La |
||
636 | banda correspondiente a flags es sustituida por los datos del vector. |
||
637 | <P>
|
||
638 | <DD><DL> |
||
639 | <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> |
||
640 | </DD>
|
||
641 | </DL>
|
||
642 | <HR>
|
||
643 | |||
644 | <A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int, int)"><!-- --></A><H3> |
||
645 | setRGBLine</H3>
|
||
646 | <PRE>
|
||
647 | protected void <B>setRGBLine</B>(java.awt.image.BufferedImage image, |
||
648 | int startX,
|
||
649 | int startY,
|
||
650 | int w,
|
||
651 | int h,
|
||
652 | int[] rgbArray,
|
||
653 | int offset,
|
||
654 | int scansize,
|
||
655 | int origBand,
|
||
656 | int destBandFlag)</PRE> |
||
657 | <DL>
|
||
658 | <DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
|
||
659 | con los dato de la imagen contenidos en el vector de enteros. De los valores RGB |
||
660 | que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La |
||
661 | banda correspondiente a flags es sustituida por los datos del vector. |
||
662 | <P>
|
||
663 | <DD><DL> |
||
664 | <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> |
||
665 | </DD>
|
||
666 | </DL>
|
||
667 | <HR>
|
||
668 | |||
669 | <A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)"><!-- --></A><H3> |
||
670 | updateImage</H3>
|
||
671 | <PRE>
|
||
672 | public java.awt.Image <B>updateImage</B>(int width, |
||
673 | int height,
|
||
674 | <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A> rp, |
||
675 | java.awt.Image img,
|
||
676 | int origBand,
|
||
677 | int destBandFlag)</PRE> |
||
678 | <DL>
|
||
679 | <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> |
||
680 | <DD>Actualiza la/s banda/s especificadas en la imagen.
|
||
681 | <P>
|
||
682 | <DD><DL> |
||
683 | <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> |
||
684 | </DD>
|
||
685 | <DD><DL> |
||
686 | <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 |
||
687 | <DT><B>Returns:</B><DD>img</DL> |
||
688 | </DD>
|
||
689 | </DL>
|
||
690 | <HR>
|
||
691 | |||
692 | <A NAME="getData(int, int, int)"><!-- --></A><H3> |
||
693 | getData</H3>
|
||
694 | <PRE>
|
||
695 | public java.lang.Object <B>getData</B>(int x, |
||
696 | int y,
|
||
697 | int band)</PRE> |
||
698 | <DL>
|
||
699 | <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> |
||
700 | <DD>Obtiene el valor del raster en la coordenada que se le pasa.
|
||
701 | El valor ser? Double, Int, Byte, etc. dependiendo del tipo de |
||
702 | raster. |
||
703 | <P>
|
||
704 | <DD><DL> |
||
705 | <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> |
||
706 | </DD>
|
||
707 | <DD><DL> |
||
708 | <DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y |
||
709 | <DT><B>Returns:</B><DD></DL> |
||
710 | </DD>
|
||
711 | </DL>
|
||
712 | <HR>
|
||
713 | |||
714 | <A NAME="getWindow(int, int, int, int, int)"><!-- --></A><H3> |
||
715 | getWindow</H3>
|
||
716 | <PRE>
|
||
717 | public byte[] <B>getWindow</B>(int ulX, |
||
718 | int ulY,
|
||
719 | int sizeX,
|
||
720 | int sizeY,
|
||
721 | int band)</PRE> |
||
722 | <DL>
|
||
723 | <DD>Devuelve los datos de una ventana solicitada
|
||
724 | <P>
|
||
725 | <DD><DL> |
||
726 | <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> |
||
727 | </DD>
|
||
728 | <DD><DL> |
||
729 | <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> |
||
730 | </DD>
|
||
731 | </DL>
|
||
732 | <HR>
|
||
733 | |||
734 | <A NAME="getBlockSize()"><!-- --></A><H3> |
||
735 | getBlockSize</H3>
|
||
736 | <PRE>
|
||
737 | public int <B>getBlockSize</B>()</PRE> |
||
738 | <DL>
|
||
739 | <DD>Devuelve el tama?o de bloque
|
||
740 | <P>
|
||
741 | <DD><DL> |
||
742 | <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> |
||
743 | </DD>
|
||
744 | <DD><DL> |
||
745 | |||
746 | <DT><B>Returns:</B><DD>Tama?o de bloque</DL> |
||
747 | </DD>
|
||
748 | </DL>
|
||
749 | <!-- ========= END OF CLASS DATA ========= -->
|
||
750 | <HR>
|
||
751 | |||
752 | |||
753 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
754 | <A NAME="navbar_bottom"><!-- --></A> |
||
755 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
756 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
757 | <TR>
|
||
758 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
759 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
760 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
761 | <TR ALIGN="center" VALIGN="top"> |
||
762 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
763 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
764 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
765 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
766 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
767 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
768 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
769 | </TR>
|
||
770 | </TABLE>
|
||
771 | </TD>
|
||
772 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
773 | </EM>
|
||
774 | </TD>
|
||
775 | </TR>
|
||
776 | |||
777 | <TR>
|
||
778 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
779 | <A HREF="../../../org/cresques/io/MapServerInputStream.html" title="class in org.cresques.io"><B>PREV CLASS</B></A> |
||
780 | <A HREF="../../../org/cresques/io/Rasterizer.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD> |
||
781 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
782 | <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
||
783 | <A HREF="MrSidFile.html" target="_top"><B>NO FRAMES</B></A> |
||
784 | <SCRIPT type="text/javascript"> |
||
785 | <!--
|
||
786 | if(window==top) {
|
||
787 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
788 | }
|
||
789 | //-->
|
||
790 | </SCRIPT>
|
||
791 | <NOSCRIPT>
|
||
792 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
793 | </NOSCRIPT>
|
||
794 | |||
795 | </FONT></TD> |
||
796 | </TR>
|
||
797 | <TR>
|
||
798 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
799 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
800 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
801 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
802 | </TR>
|
||
803 | </TABLE>
|
||
804 | <A NAME="skip-navbar_bottom"></A> |
||
805 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
806 | |||
807 | <HR>
|
||
808 | |||
809 | </BODY>
|
||
810 | </HTML> |