Statistics
| Revision:

root / trunk / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / io / raster / RasterBuf.html @ 2849

History | View | Annotate | Download (24.1 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_03) on Fri Sep 02 13:43:21 CEST 2005 -->
6
<TITLE>
7
RasterBuf
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="org.cresques.io.raster.RasterBuf 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="RasterBuf";
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>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
&nbsp;<A HREF="../../../../org/cresques/io/raster/QuickSort.html" title="class in org.cresques.io.raster"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster"><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>  &nbsp;
56
&nbsp;<A HREF="RasterBuf.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.raster</FONT>
85
<BR>
86
Class RasterBuf</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.io.raster.RasterBuf</B>
90
</PRE>
91
<DL>
92
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></DD>
93
</DL>
94
<HR>
95
<DL>
96
<DT>public class <B>RasterBuf</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></DL>
97

    
98
<P>
99
Rectangulo de pixeles. parecido a java.awt.image.Raster
100
<P>
101

    
102
<P>
103
<DL>
104
<DT><B>Author:</B></DT>
105
  <DD>Luis W. Sevilla (sevilla_lui@gva.es)</DD>
106
</DL>
107
<HR>
108

    
109
<P>
110
<!-- ======== NESTED CLASS SUMMARY ======== -->
111

    
112

    
113
<!-- =========== FIELD SUMMARY =========== -->
114

    
115
<A NAME="field_summary"><!-- --></A>
116
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118
<TD COLSPAN=2><FONT SIZE="+2">
119
<B>Field Summary</B></FONT></TD>
120
</TR>
121
</TABLE>
122
&nbsp;<A NAME="fields_inherited_from_class_org.cresques.io.raster.IRaster"><!-- --></A>
123
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
124
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
125
<TD><B>Fields inherited from interface org.cresques.io.raster.<A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></B></TD>
126
</TR>
127
<TR BGCOLOR="white" CLASS="TableRowColor">
128
<TD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_BYTE">TYPE_BYTE</A>, <A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_DOUBLE">TYPE_DOUBLE</A>, <A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_FLOAT">TYPE_FLOAT</A>, <A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_IMAGE">TYPE_IMAGE</A>, <A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_INT">TYPE_INT</A>, <A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_SHORT">TYPE_SHORT</A>, <A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_UNDEFINED">TYPE_UNDEFINED</A>, <A HREF="../../../../org/cresques/io/raster/IRaster.html#TYPE_USHORT">TYPE_USHORT</A></CODE></TD>
129
</TR>
130
</TABLE>
131
&nbsp;
132
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
133

    
134
<A NAME="constructor_summary"><!-- --></A>
135
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
137
<TD COLSPAN=2><FONT SIZE="+2">
138
<B>Constructor Summary</B></FONT></TD>
139
</TR>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#RasterBuf(int, int, int, int, java.awt.Point)">RasterBuf</A></B>(int&nbsp;dataType,
142
          int&nbsp;width,
143
          int&nbsp;height,
144
          int&nbsp;bandNr,
145
          java.awt.Point&nbsp;orig)</CODE>
146

    
147
<BR>
148
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
149
</TR>
150
</TABLE>
151
&nbsp;
152
<!-- ========== METHOD SUMMARY =========== -->
153

    
154
<A NAME="method_summary"><!-- --></A>
155
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
157
<TD COLSPAN=2><FONT SIZE="+2">
158
<B>Method Summary</B></FONT></TD>
159
</TR>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162
<CODE>&nbsp;int</CODE></FONT></TD>
163
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getBandNr()">getBandNr</A></B>()</CODE>
164

    
165
<BR>
166
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N?mero de bandas</TD>
167
</TR>
168
<TR BGCOLOR="white" CLASS="TableRowColor">
169
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170
<CODE>&nbsp;int</CODE></FONT></TD>
171
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getDataSize()">getDataSize</A></B>()</CODE>
172

    
173
<BR>
174
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el tipo de dato</TD>
175
</TR>
176
<TR BGCOLOR="white" CLASS="TableRowColor">
177
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178
<CODE>&nbsp;int</CODE></FONT></TD>
179
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getDataType()">getDataType</A></B>()</CODE>
180

    
181
<BR>
182
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el tipo de datos del raster</TD>
183
</TR>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186
<CODE>&nbsp;int</CODE></FONT></TD>
187
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getElemInt(int, int, int)">getElemInt</A></B>(int&nbsp;x,
188
           int&nbsp;y,
189
           int&nbsp;band)</CODE>
190

    
191
<BR>
192
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el valor del raster en la coordenada que se le pasa.
193
 </TD>
194
</TR>
195
<TR BGCOLOR="white" CLASS="TableRowColor">
196
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197
<CODE>&nbsp;void</CODE></FONT></TD>
198
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getElemInt(int, int, int[])">getElemInt</A></B>(int&nbsp;x,
199
           int&nbsp;y,
200
           int[]&nbsp;px)</CODE>
201

    
202
<BR>
203
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene sobre un array de bandas el valor del raster en la
204
 coordenada que se le pasa. </TD>
205
</TR>
206
<TR BGCOLOR="white" CLASS="TableRowColor">
207
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208
<CODE>&nbsp;void</CODE></FONT></TD>
209
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getElemShort(int, int, int[])">getElemShort</A></B>(int&nbsp;x,
210
             int&nbsp;y,
211
             int[]&nbsp;px)</CODE>
212

    
213
<BR>
214
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene sobre un array de bandas el valor del raster en la
215
 coordenada que se le pasa. </TD>
216
</TR>
217
<TR BGCOLOR="white" CLASS="TableRowColor">
218
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219
<CODE>&nbsp;int</CODE></FONT></TD>
220
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getHeight()">getHeight</A></B>()</CODE>
221

    
222
<BR>
223
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alto del raster</TD>
224
</TR>
225
<TR BGCOLOR="white" CLASS="TableRowColor">
226
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227
<CODE>&nbsp;byte[][]</CODE></FONT></TD>
228
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getLineByte(int)">getLineByte</A></B>(int&nbsp;y)</CODE>
229

    
230
<BR>
231
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
232
</TR>
233
<TR BGCOLOR="white" CLASS="TableRowColor">
234
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235
<CODE>&nbsp;int[][]</CODE></FONT></TD>
236
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getLineInt(int)">getLineInt</A></B>(int&nbsp;y)</CODE>
237

    
238
<BR>
239
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
240
</TR>
241
<TR BGCOLOR="white" CLASS="TableRowColor">
242
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243
<CODE>&nbsp;short[][]</CODE></FONT></TD>
244
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getLineShort(int)">getLineShort</A></B>(int&nbsp;y)</CODE>
245

    
246
<BR>
247
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
248
</TR>
249
<TR BGCOLOR="white" CLASS="TableRowColor">
250
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251
<CODE>&nbsp;int</CODE></FONT></TD>
252
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#getWidth()">getWidth</A></B>()</CODE>
253

    
254
<BR>
255
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ancho del raster</TD>
256
</TR>
257
<TR BGCOLOR="white" CLASS="TableRowColor">
258
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259
<CODE>&nbsp;void</CODE></FONT></TD>
260
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#setElemInt(int, int, int[])">setElemInt</A></B>(int&nbsp;x,
261
           int&nbsp;y,
262
           int[]&nbsp;px)</CODE>
263

    
264
<BR>
265
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
266
</TR>
267
<TR BGCOLOR="white" CLASS="TableRowColor">
268
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269
<CODE>&nbsp;void</CODE></FONT></TD>
270
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#setElemShort(int, int, int[])">setElemShort</A></B>(int&nbsp;x,
271
             int&nbsp;y,
272
             int[]&nbsp;px)</CODE>
273

    
274
<BR>
275
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
276
</TR>
277
<TR BGCOLOR="white" CLASS="TableRowColor">
278
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279
<CODE>&nbsp;int</CODE></FONT></TD>
280
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#sizeof()">sizeof</A></B>()</CODE>
281

    
282
<BR>
283
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el tama?o del buffer</TD>
284
</TR>
285
<TR BGCOLOR="white" CLASS="TableRowColor">
286
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
288
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterBuf.html#typesToString(int)">typesToString</A></B>(int&nbsp;type)</CODE>
289

    
290
<BR>
291
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convierte un tipo de dato a cadena</TD>
292
</TR>
293
</TABLE>
294
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
295
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
296
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
297
<TD><B>Methods inherited from class java.lang.Object</B></TD>
298
</TR>
299
<TR BGCOLOR="white" CLASS="TableRowColor">
300
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
301
</TR>
302
</TABLE>
303
&nbsp;
304
<P>
305

    
306
<!-- ============ FIELD DETAIL =========== -->
307

    
308

    
309
<!-- ========= CONSTRUCTOR DETAIL ======== -->
310

    
311
<A NAME="constructor_detail"><!-- --></A>
312
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
313
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
314
<TD COLSPAN=1><FONT SIZE="+2">
315
<B>Constructor Detail</B></FONT></TD>
316
</TR>
317
</TABLE>
318

    
319
<A NAME="RasterBuf(int, int, int, int, java.awt.Point)"><!-- --></A><H3>
320
RasterBuf</H3>
321
<PRE>
322
public <B>RasterBuf</B>(int&nbsp;dataType,
323
                 int&nbsp;width,
324
                 int&nbsp;height,
325
                 int&nbsp;bandNr,
326
                 java.awt.Point&nbsp;orig)</PRE>
327
<DL>
328
<DD>Constructor
329
<P>
330
<DT><B>Parameters:</B><DD><CODE>dataType</CODE> - Tipo de dato<DD><CODE>width</CODE> - Ancho<DD><CODE>height</CODE> - Alto<DD><CODE>bandNr</CODE> - Banda<DD><CODE>orig</CODE> - </DL>
331

    
332
<!-- ============ METHOD DETAIL ========== -->
333

    
334
<A NAME="method_detail"><!-- --></A>
335
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
336
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
337
<TD COLSPAN=1><FONT SIZE="+2">
338
<B>Method Detail</B></FONT></TD>
339
</TR>
340
</TABLE>
341

    
342
<A NAME="getWidth()"><!-- --></A><H3>
343
getWidth</H3>
344
<PRE>
345
public int <B>getWidth</B>()</PRE>
346
<DL>
347
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></B></DD>
348
<DD>Ancho del raster
349
<P>
350
<DD><DL>
351
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#getWidth()">getWidth</A></CODE> in interface <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></DL>
352
</DD>
353
<DD><DL>
354

    
355
<DT><B>Returns:</B><DD>Entero con el ancho del raster</DL>
356
</DD>
357
</DL>
358
<HR>
359

    
360
<A NAME="getHeight()"><!-- --></A><H3>
361
getHeight</H3>
362
<PRE>
363
public int <B>getHeight</B>()</PRE>
364
<DL>
365
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></B></DD>
366
<DD>Alto del raster
367
<P>
368
<DD><DL>
369
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#getHeight()">getHeight</A></CODE> in interface <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></DL>
370
</DD>
371
<DD><DL>
372

    
373
<DT><B>Returns:</B><DD>Entero con el alto del raster</DL>
374
</DD>
375
</DL>
376
<HR>
377

    
378
<A NAME="getBandNr()"><!-- --></A><H3>
379
getBandNr</H3>
380
<PRE>
381
public int <B>getBandNr</B>()</PRE>
382
<DL>
383
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></B></DD>
384
<DD>N?mero de bandas
385
<P>
386
<DD><DL>
387
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#getBandNr()">getBandNr</A></CODE> in interface <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></DL>
388
</DD>
389
<DD><DL>
390

    
391
<DT><B>Returns:</B><DD>Entero con el n?mero de bandas</DL>
392
</DD>
393
</DL>
394
<HR>
395

    
396
<A NAME="getDataType()"><!-- --></A><H3>
397
getDataType</H3>
398
<PRE>
399
public int <B>getDataType</B>()</PRE>
400
<DL>
401
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></B></DD>
402
<DD>Devuelve el tipo de datos del raster
403
<P>
404
<DD><DL>
405
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#getDataType()">getDataType</A></CODE> in interface <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></DL>
406
</DD>
407
<DD><DL>
408
<DT><B>See Also:</B><DD><CODE>DataBuffer</CODE></DL>
409
</DD>
410
</DL>
411
<HR>
412

    
413
<A NAME="getDataSize()"><!-- --></A><H3>
414
getDataSize</H3>
415
<PRE>
416
public int <B>getDataSize</B>()</PRE>
417
<DL>
418
<DD>Obtiene el tipo de dato
419
<P>
420
<DD><DL>
421
</DL>
422
</DD>
423
<DD><DL>
424

    
425
<DT><B>Returns:</B><DD>Tipo de dato</DL>
426
</DD>
427
</DL>
428
<HR>
429

    
430
<A NAME="sizeof()"><!-- --></A><H3>
431
sizeof</H3>
432
<PRE>
433
public int <B>sizeof</B>()</PRE>
434
<DL>
435
<DD>Obtiene el tama?o del buffer
436
<P>
437
<DD><DL>
438
</DL>
439
</DD>
440
<DD><DL>
441

    
442
<DT><B>Returns:</B><DD>tama?o del buffer</DL>
443
</DD>
444
</DL>
445
<HR>
446

    
447
<A NAME="getLineByte(int)"><!-- --></A><H3>
448
getLineByte</H3>
449
<PRE>
450
public byte[][] <B>getLineByte</B>(int&nbsp;y)</PRE>
451
<DL>
452
<DD><DL>
453
</DL>
454
</DD>
455
<DD><DL>
456
</DL>
457
</DD>
458
</DL>
459
<HR>
460

    
461
<A NAME="getLineShort(int)"><!-- --></A><H3>
462
getLineShort</H3>
463
<PRE>
464
public short[][] <B>getLineShort</B>(int&nbsp;y)</PRE>
465
<DL>
466
<DD><DL>
467
</DL>
468
</DD>
469
<DD><DL>
470
</DL>
471
</DD>
472
</DL>
473
<HR>
474

    
475
<A NAME="getLineInt(int)"><!-- --></A><H3>
476
getLineInt</H3>
477
<PRE>
478
public int[][] <B>getLineInt</B>(int&nbsp;y)</PRE>
479
<DL>
480
<DD><DL>
481
</DL>
482
</DD>
483
<DD><DL>
484
</DL>
485
</DD>
486
</DL>
487
<HR>
488

    
489
<A NAME="getElemShort(int, int, int[])"><!-- --></A><H3>
490
getElemShort</H3>
491
<PRE>
492
public void <B>getElemShort</B>(int&nbsp;x,
493
                         int&nbsp;y,
494
                         int[]&nbsp;px)</PRE>
495
<DL>
496
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></B></DD>
497
<DD>Obtiene sobre un array de bandas el valor del raster en la
498
 coordenada que se le pasa. Los elementos son de 16 bits.
499
<P>
500
<DD><DL>
501
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#getElemShort(int, int, int[])">getElemShort</A></CODE> in interface <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></DL>
502
</DD>
503
<DD><DL>
504
<DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y<DD><CODE>px</CODE> - Array de 4 elementos para las bandas de la imagen ARGB</DL>
505
</DD>
506
</DL>
507
<HR>
508

    
509
<A NAME="getElemInt(int, int, int[])"><!-- --></A><H3>
510
getElemInt</H3>
511
<PRE>
512
public void <B>getElemInt</B>(int&nbsp;x,
513
                       int&nbsp;y,
514
                       int[]&nbsp;px)</PRE>
515
<DL>
516
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></B></DD>
517
<DD>Obtiene sobre un array de bandas el valor del raster en la
518
 coordenada que se le pasa. Los elementos son de 32 bits.
519
<P>
520
<DD><DL>
521
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#getElemInt(int, int, int[])">getElemInt</A></CODE> in interface <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></DL>
522
</DD>
523
<DD><DL>
524
<DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y<DD><CODE>px</CODE> - Array de 4 elementos para las bandas de la imagen ARGB</DL>
525
</DD>
526
</DL>
527
<HR>
528

    
529
<A NAME="setElemShort(int, int, int[])"><!-- --></A><H3>
530
setElemShort</H3>
531
<PRE>
532
public void <B>setElemShort</B>(int&nbsp;x,
533
                         int&nbsp;y,
534
                         int[]&nbsp;px)</PRE>
535
<DL>
536
<DD><DL>
537
</DL>
538
</DD>
539
<DD><DL>
540
</DL>
541
</DD>
542
</DL>
543
<HR>
544

    
545
<A NAME="setElemInt(int, int, int[])"><!-- --></A><H3>
546
setElemInt</H3>
547
<PRE>
548
public void <B>setElemInt</B>(int&nbsp;x,
549
                       int&nbsp;y,
550
                       int[]&nbsp;px)</PRE>
551
<DL>
552
<DD><DL>
553
</DL>
554
</DD>
555
<DD><DL>
556
</DL>
557
</DD>
558
</DL>
559
<HR>
560

    
561
<A NAME="getElemInt(int, int, int)"><!-- --></A><H3>
562
getElemInt</H3>
563
<PRE>
564
public int <B>getElemInt</B>(int&nbsp;x,
565
                      int&nbsp;y,
566
                      int&nbsp;band)</PRE>
567
<DL>
568
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></B></DD>
569
<DD>Obtiene el valor del raster en la coordenada que se le pasa.
570
 Devuelve un int.
571
<P>
572
<DD><DL>
573
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html#getElemInt(int, int, int)">getElemInt</A></CODE> in interface <CODE><A HREF="../../../../org/cresques/io/raster/IRaster.html" title="interface in org.cresques.io.raster">IRaster</A></CODE></DL>
574
</DD>
575
<DD><DL>
576
<DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y<DD><CODE>band</CODE> - banda
577
<DT><B>Returns:</B><DD>Entero</DL>
578
</DD>
579
</DL>
580
<HR>
581

    
582
<A NAME="typesToString(int)"><!-- --></A><H3>
583
typesToString</H3>
584
<PRE>
585
public static java.lang.String <B>typesToString</B>(int&nbsp;type)</PRE>
586
<DL>
587
<DD>Convierte un tipo de dato a cadena
588
<P>
589
<DD><DL>
590
</DL>
591
</DD>
592
<DD><DL>
593
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Tipo de dato
594
<DT><B>Returns:</B><DD>cadena  que representa el tipo de dato</DL>
595
</DD>
596
</DL>
597
<!-- ========= END OF CLASS DATA ========= -->
598
<HR>
599

    
600

    
601
<!-- ======= START OF BOTTOM NAVBAR ====== -->
602
<A NAME="navbar_bottom"><!-- --></A>
603
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
604
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
605
<TR>
606
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
607
<A NAME="navbar_bottom_firstrow"><!-- --></A>
608
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
609
  <TR ALIGN="center" VALIGN="top">
610
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
611
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
612
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
613
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
614
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
615
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
616
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
617
  </TR>
618
</TABLE>
619
</TD>
620
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
621
</EM>
622
</TD>
623
</TR>
624

    
625
<TR>
626
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
627
&nbsp;<A HREF="../../../../org/cresques/io/raster/QuickSort.html" title="class in org.cresques.io.raster"><B>PREV CLASS</B></A>&nbsp;
628
&nbsp;<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster"><B>NEXT CLASS</B></A></FONT></TD>
629
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
630
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
631
&nbsp;<A HREF="RasterBuf.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
632
&nbsp;<SCRIPT type="text/javascript">
633
  <!--
634
  if(window==top) {
635
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
636
  }
637
  //-->
638
</SCRIPT>
639
<NOSCRIPT>
640
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
641
</NOSCRIPT>
642

    
643
</FONT></TD>
644
</TR>
645
<TR>
646
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
647
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
648
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
649
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
650
</TR>
651
</TABLE>
652
<A NAME="skip-navbar_bottom"></A>
653
<!-- ======== END OF BOTTOM NAVBAR ======= -->
654

    
655
<HR>
656

    
657
</BODY>
658
</HTML>