Statistics
| Revision:

svn-gvsig-desktop / trunk / docs / Cresques / javadocs / org / cresques / io / raster / RasterFilterStack.html @ 2256

History | View | Annotate | Download (28.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 Thu Jun 23 14:38:27 CEST 2005 -->
6
<TITLE>
7
RasterFilterStack
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="org.cresques.io.raster.RasterFilterStack 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="RasterFilterStack";
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/RasterFilter.html" title="class in org.cresques.io.raster"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../org/cresques/io/raster/RasterFilterStackManager.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="RasterFilterStack.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 RasterFilterStack</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.io.raster.RasterFilterStack</B>
90
</PRE>
91
<HR>
92
<DL>
93
<DT>public class <B>RasterFilterStack</B><DT>extends java.lang.Object</DL>
94

    
95
<P>
96
Esta clase representa la pila de filtros que debe ser manejada desde el 
97
 RasterFilterStackManager.
98
<P>
99

    
100
<P>
101
<DL>
102
<DT><B>Author:</B></DT>
103
  <DD>Nacho Brodin (brodin_ign@gva.es)</DD>
104
</DL>
105
<HR>
106

    
107
<P>
108
<!-- ======== NESTED CLASS SUMMARY ======== -->
109

    
110

    
111
<!-- =========== FIELD SUMMARY =========== -->
112

    
113

    
114
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
115

    
116
<A NAME="constructor_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>Constructor Summary</B></FONT></TD>
121
</TR>
122
<TR BGCOLOR="white" CLASS="TableRowColor">
123
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#RasterFilterStack(org.cresques.io.raster.RasterStats)">RasterFilterStack</A></B>(<A HREF="../../../../org/cresques/io/raster/RasterStats.html" title="class in org.cresques.io.raster">RasterStats</A>&nbsp;stats)</CODE>
124

    
125
<BR>
126
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
127
</TR>
128
</TABLE>
129
&nbsp;
130
<!-- ========== METHOD SUMMARY =========== -->
131

    
132
<A NAME="method_summary"><!-- --></A>
133
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
135
<TD COLSPAN=2><FONT SIZE="+2">
136
<B>Method Summary</B></FONT></TD>
137
</TR>
138
<TR BGCOLOR="white" CLASS="TableRowColor">
139
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140
<CODE>&nbsp;void</CODE></FONT></TD>
141
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#addFilter(int, org.cresques.io.raster.RasterFilter)">addFilter</A></B>(int&nbsp;type,
142
          <A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter)</CODE>
143

    
144
<BR>
145
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A?ade un filtro a la pila</TD>
146
</TR>
147
<TR BGCOLOR="white" CLASS="TableRowColor">
148
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149
<CODE>&nbsp;void</CODE></FONT></TD>
150
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#clear()">clear</A></B>()</CODE>
151

    
152
<BR>
153
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Elimina todos los filtros de la pila</TD>
154
</TR>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
<CODE>&nbsp;void</CODE></FONT></TD>
158
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#deleteTempFilters()">deleteTempFilters</A></B>()</CODE>
159

    
160
<BR>
161
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Elimina los filtros temporales, es decir, todos los filtros introducidos desde
162
 el ?ltimo resetTempFilters que se ha realizado.</TD>
163
</TR>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166
<CODE>&nbsp;void</CODE></FONT></TD>
167
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#execute(java.awt.Image)">execute</A></B>(java.awt.Image&nbsp;image)</CODE>
168

    
169
<BR>
170
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aplica los filtros sobre un Image</TD>
171
</TR>
172
<TR BGCOLOR="white" CLASS="TableRowColor">
173
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174
<CODE>&nbsp;void</CODE></FONT></TD>
175
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#execute(org.cresques.io.raster.RasterBuf)">execute</A></B>(<A HREF="../../../../org/cresques/io/raster/RasterBuf.html" title="class in org.cresques.io.raster">RasterBuf</A>&nbsp;rasterBuf)</CODE>
176

    
177
<BR>
178
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aplica los filtros sobre un RasterBuf</TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
<CODE>&nbsp;<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A></CODE></FONT></TD>
183
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#get(int)">get</A></B>(int&nbsp;i)</CODE>
184

    
185
<BR>
186
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el filtro apilado de la posici?n i</TD>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
<CODE>&nbsp;int</CODE></FONT></TD>
191
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#getDataTypeInFilter(int)">getDataTypeInFilter</A></B>(int&nbsp;type)</CODE>
192

    
193
<BR>
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dado un tipo de filtro calcula a partir de la pila en que posici?n est? situado y
195
 obtiene el tipo de dato de la salida anterior. </TD>
196
</TR>
197
<TR BGCOLOR="white" CLASS="TableRowColor">
198
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199
<CODE>&nbsp;int</CODE></FONT></TD>
200
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#getInitDataType()">getInitDataType</A></B>()</CODE>
201

    
202
<BR>
203
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el tipo de datos inicial de la pila</TD>
204
</TR>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207
<CODE>&nbsp;int</CODE></FONT></TD>
208
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#getOutDataType()">getOutDataType</A></B>()</CODE>
209

    
210
<BR>
211
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el tipo de dato de retorno al aplicar la pila de filtros</TD>
212
</TR>
213
<TR BGCOLOR="white" CLASS="TableRowColor">
214
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
216
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#getResult()">getResult</A></B>()</CODE>
217

    
218
<BR>
219
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el raster o image resultado de la aplicacion de la pila de filtros</TD>
220
</TR>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
<CODE>&nbsp;<A HREF="../../../../org/cresques/io/raster/RasterStats.html" title="class in org.cresques.io.raster">RasterStats</A></CODE></FONT></TD>
224
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#getStats()">getStats</A></B>()</CODE>
225

    
226
<BR>
227
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el objeto RasterStats</TD>
228
</TR>
229
<TR BGCOLOR="white" CLASS="TableRowColor">
230
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231
<CODE>&nbsp;int</CODE></FONT></TD>
232
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#getType(int)">getType</A></B>(int&nbsp;i)</CODE>
233

    
234
<BR>
235
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el tipo del filtro de la pila de la posici?n i</TD>
236
</TR>
237
<TR BGCOLOR="white" CLASS="TableRowColor">
238
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239
<CODE>&nbsp;boolean</CODE></FONT></TD>
240
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#isActive(int)">isActive</A></B>(int&nbsp;type)</CODE>
241

    
242
<BR>
243
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M?todo que devuelve true si el tipo de filtro pasado por par?metro est? en la
244
 pila y false si no lo est?.</TD>
245
</TR>
246
<TR BGCOLOR="white" CLASS="TableRowColor">
247
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248
<CODE>&nbsp;boolean</CODE></FONT></TD>
249
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#isActive(org.cresques.io.raster.RasterFilter)">isActive</A></B>(<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter)</CODE>
250

    
251
<BR>
252
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M?todo que devuelve true si el tipo de filtro pasado por par?metro est? en la
253
 pila y false si no lo est?.</TD>
254
</TR>
255
<TR BGCOLOR="white" CLASS="TableRowColor">
256
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257
<CODE>&nbsp;int</CODE></FONT></TD>
258
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#lenght()">lenght</A></B>()</CODE>
259

    
260
<BR>
261
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene la cantidad de filtros en la pila</TD>
262
</TR>
263
<TR BGCOLOR="white" CLASS="TableRowColor">
264
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265
<CODE>&nbsp;void</CODE></FONT></TD>
266
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#removeFilter()">removeFilter</A></B>()</CODE>
267

    
268
<BR>
269
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Elimina el ?ltimo filtro de la pila</TD>
270
</TR>
271
<TR BGCOLOR="white" CLASS="TableRowColor">
272
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273
<CODE>&nbsp;void</CODE></FONT></TD>
274
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#removeFilter(int)">removeFilter</A></B>(int&nbsp;type)</CODE>
275

    
276
<BR>
277
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Elimina los filtros de la pila de un determinado tipo</TD>
278
</TR>
279
<TR BGCOLOR="white" CLASS="TableRowColor">
280
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281
<CODE>&nbsp;void</CODE></FONT></TD>
282
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#removeFilter(org.cresques.io.raster.RasterFilter)">removeFilter</A></B>(<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter)</CODE>
283

    
284
<BR>
285
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Elimina un filtro concreto de la pila</TD>
286
</TR>
287
<TR BGCOLOR="white" CLASS="TableRowColor">
288
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
289
<CODE>&nbsp;void</CODE></FONT></TD>
290
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#replace(org.cresques.io.raster.RasterFilter, int, int)">replace</A></B>(<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter,
291
        int&nbsp;i,
292
        int&nbsp;type)</CODE>
293

    
294
<BR>
295
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sustituye un filtro de una posici?n de la pila por otro</TD>
296
</TR>
297
<TR BGCOLOR="white" CLASS="TableRowColor">
298
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
299
<CODE>&nbsp;void</CODE></FONT></TD>
300
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#resetTempFilters()">resetTempFilters</A></B>()</CODE>
301

    
302
<BR>
303
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resetea el flag de temporalidad de los filtros de la pila. 
304
 </TD>
305
</TR>
306
<TR BGCOLOR="white" CLASS="TableRowColor">
307
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308
<CODE>&nbsp;void</CODE></FONT></TD>
309
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#setDataTypeInFilter(int)">setDataTypeInFilter</A></B>(int&nbsp;type)</CODE>
310

    
311
<BR>
312
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna el tipo filtro</TD>
313
</TR>
314
<TR BGCOLOR="white" CLASS="TableRowColor">
315
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316
<CODE>&nbsp;void</CODE></FONT></TD>
317
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#setInitRasterBuf(java.lang.Object)">setInitRasterBuf</A></B>(java.lang.Object&nbsp;raster)</CODE>
318

    
319
<BR>
320
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna el raster de entrada inicial</TD>
321
</TR>
322
<TR BGCOLOR="white" CLASS="TableRowColor">
323
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
324
<CODE>&nbsp;void</CODE></FONT></TD>
325
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#setOrder(int[])">setOrder</A></B>(int[]&nbsp;order)</CODE>
326

    
327
<BR>
328
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna el vector para la ordenaci?n por tipos</TD>
329
</TR>
330
<TR BGCOLOR="white" CLASS="TableRowColor">
331
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
332
<CODE>&nbsp;void</CODE></FONT></TD>
333
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#show()">show</A></B>()</CODE>
334

    
335
<BR>
336
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Muestra el contenido de la pila de filtros para depuraci?n</TD>
337
</TR>
338
<TR BGCOLOR="white" CLASS="TableRowColor">
339
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340
<CODE>&nbsp;void</CODE></FONT></TD>
341
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/RasterFilterStack.html#sort()">sort</A></B>()</CODE>
342

    
343
<BR>
344
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ordena los filtros en el orden establecido por el Manager</TD>
345
</TR>
346
</TABLE>
347
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
348
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
349
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
350
<TD><B>Methods inherited from class java.lang.Object</B></TD>
351
</TR>
352
<TR BGCOLOR="white" CLASS="TableRowColor">
353
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
354
</TR>
355
</TABLE>
356
&nbsp;
357
<P>
358

    
359
<!-- ============ FIELD DETAIL =========== -->
360

    
361

    
362
<!-- ========= CONSTRUCTOR DETAIL ======== -->
363

    
364
<A NAME="constructor_detail"><!-- --></A>
365
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
366
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
367
<TD COLSPAN=1><FONT SIZE="+2">
368
<B>Constructor Detail</B></FONT></TD>
369
</TR>
370
</TABLE>
371

    
372
<A NAME="RasterFilterStack(org.cresques.io.raster.RasterStats)"><!-- --></A><H3>
373
RasterFilterStack</H3>
374
<PRE>
375
public <B>RasterFilterStack</B>(<A HREF="../../../../org/cresques/io/raster/RasterStats.html" title="class in org.cresques.io.raster">RasterStats</A>&nbsp;stats)</PRE>
376
<DL>
377
<DD>Constructor
378
<P>
379
<DT><B>Parameters:</B><DD><CODE>stats</CODE> - </DL>
380

    
381
<!-- ============ METHOD DETAIL ========== -->
382

    
383
<A NAME="method_detail"><!-- --></A>
384
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
385
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
386
<TD COLSPAN=1><FONT SIZE="+2">
387
<B>Method Detail</B></FONT></TD>
388
</TR>
389
</TABLE>
390

    
391
<A NAME="resetTempFilters()"><!-- --></A><H3>
392
resetTempFilters</H3>
393
<PRE>
394
public void <B>resetTempFilters</B>()</PRE>
395
<DL>
396
<DD>Resetea el flag de temporalidad de los filtros de la pila. 
397
 Esto equivale a fijar los filtros que ya existen en la pila. A partir de
398
 ese momento los filtros que se introduzcan podr?n ser eliminados de golpe
399
 llamando a la funci?n deleteTempFilters
400
<P>
401
<DD><DL>
402
</DL>
403
</DD>
404
</DL>
405
<HR>
406

    
407
<A NAME="deleteTempFilters()"><!-- --></A><H3>
408
deleteTempFilters</H3>
409
<PRE>
410
public void <B>deleteTempFilters</B>()</PRE>
411
<DL>
412
<DD>Elimina los filtros temporales, es decir, todos los filtros introducidos desde
413
 el ?ltimo resetTempFilters que se ha realizado.
414
<P>
415
<DD><DL>
416
</DL>
417
</DD>
418
</DL>
419
<HR>
420

    
421
<A NAME="addFilter(int, org.cresques.io.raster.RasterFilter)"><!-- --></A><H3>
422
addFilter</H3>
423
<PRE>
424
public void <B>addFilter</B>(int&nbsp;type,
425
                      <A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter)</PRE>
426
<DL>
427
<DD>A?ade un filtro a la pila
428
<P>
429
<DD><DL>
430
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Tipo de filtro<DD><CODE>filter</CODE> - filtro a?adido</DL>
431
</DD>
432
</DL>
433
<HR>
434

    
435
<A NAME="removeFilter()"><!-- --></A><H3>
436
removeFilter</H3>
437
<PRE>
438
public void <B>removeFilter</B>()</PRE>
439
<DL>
440
<DD>Elimina el ?ltimo filtro de la pila
441
<P>
442
<DD><DL>
443
</DL>
444
</DD>
445
</DL>
446
<HR>
447

    
448
<A NAME="setDataTypeInFilter(int)"><!-- --></A><H3>
449
setDataTypeInFilter</H3>
450
<PRE>
451
public void <B>setDataTypeInFilter</B>(int&nbsp;type)</PRE>
452
<DL>
453
<DD>Asigna el tipo filtro
454
<P>
455
<DD><DL>
456
<DT><B>Parameters:</B><DD><CODE>type</CODE> - </DL>
457
</DD>
458
</DL>
459
<HR>
460

    
461
<A NAME="getOutDataType()"><!-- --></A><H3>
462
getOutDataType</H3>
463
<PRE>
464
public int <B>getOutDataType</B>()</PRE>
465
<DL>
466
<DD>Devuelve el tipo de dato de retorno al aplicar la pila de filtros
467
<P>
468
<DD><DL>
469

    
470
<DT><B>Returns:</B><DD></DL>
471
</DD>
472
</DL>
473
<HR>
474

    
475
<A NAME="getResult()"><!-- --></A><H3>
476
getResult</H3>
477
<PRE>
478
public java.lang.Object <B>getResult</B>()</PRE>
479
<DL>
480
<DD>Devuelve el raster o image resultado de la aplicacion de la pila de filtros
481
<P>
482
<DD><DL>
483

    
484
<DT><B>Returns:</B><DD></DL>
485
</DD>
486
</DL>
487
<HR>
488

    
489
<A NAME="getDataTypeInFilter(int)"><!-- --></A><H3>
490
getDataTypeInFilter</H3>
491
<PRE>
492
public int <B>getDataTypeInFilter</B>(int&nbsp;type)</PRE>
493
<DL>
494
<DD>Dado un tipo de filtro calcula a partir de la pila en que posici?n est? situado y
495
 obtiene el tipo de dato de la salida anterior. Esto le dir? al cliente de que tipo
496
 es el filtro que tiene que introducir.
497
<P>
498
<DD><DL>
499
<DT><B>Parameters:</B><DD><CODE>type</CODE> - </DL>
500
</DD>
501
</DL>
502
<HR>
503

    
504
<A NAME="setOrder(int[])"><!-- --></A><H3>
505
setOrder</H3>
506
<PRE>
507
public void <B>setOrder</B>(int[]&nbsp;order)</PRE>
508
<DL>
509
<DD>Asigna el vector para la ordenaci?n por tipos
510
<P>
511
<DD><DL>
512
<DT><B>Parameters:</B><DD><CODE>order</CODE> - </DL>
513
</DD>
514
</DL>
515
<HR>
516

    
517
<A NAME="sort()"><!-- --></A><H3>
518
sort</H3>
519
<PRE>
520
public void <B>sort</B>()</PRE>
521
<DL>
522
<DD>Ordena los filtros en el orden establecido por el Manager
523
<P>
524
<DD><DL>
525
</DL>
526
</DD>
527
</DL>
528
<HR>
529

    
530
<A NAME="removeFilter(int)"><!-- --></A><H3>
531
removeFilter</H3>
532
<PRE>
533
public void <B>removeFilter</B>(int&nbsp;type)</PRE>
534
<DL>
535
<DD>Elimina los filtros de la pila de un determinado tipo
536
<P>
537
<DD><DL>
538
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Tipo de filtro a eliminar</DL>
539
</DD>
540
</DL>
541
<HR>
542

    
543
<A NAME="removeFilter(org.cresques.io.raster.RasterFilter)"><!-- --></A><H3>
544
removeFilter</H3>
545
<PRE>
546
public void <B>removeFilter</B>(<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter)</PRE>
547
<DL>
548
<DD>Elimina un filtro concreto de la pila
549
<P>
550
<DD><DL>
551
</DL>
552
</DD>
553
</DL>
554
<HR>
555

    
556
<A NAME="lenght()"><!-- --></A><H3>
557
lenght</H3>
558
<PRE>
559
public int <B>lenght</B>()</PRE>
560
<DL>
561
<DD>Obtiene la cantidad de filtros en la pila
562
<P>
563
<DD><DL>
564

    
565
<DT><B>Returns:</B><DD>N?mero de filtros apilados</DL>
566
</DD>
567
</DL>
568
<HR>
569

    
570
<A NAME="get(int)"><!-- --></A><H3>
571
get</H3>
572
<PRE>
573
public <A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A> <B>get</B>(int&nbsp;i)</PRE>
574
<DL>
575
<DD>Obtiene el filtro apilado de la posici?n i
576
<P>
577
<DD><DL>
578
<DT><B>Parameters:</B><DD><CODE>i</CODE> - Posici?n a acceder en la pila
579
<DT><B>Returns:</B><DD>Filtro</DL>
580
</DD>
581
</DL>
582
<HR>
583

    
584
<A NAME="getType(int)"><!-- --></A><H3>
585
getType</H3>
586
<PRE>
587
public int <B>getType</B>(int&nbsp;i)</PRE>
588
<DL>
589
<DD>Obtiene el tipo del filtro de la pila de la posici?n i
590
<P>
591
<DD><DL>
592
<DT><B>Parameters:</B><DD><CODE>i</CODE> - Posici?n a acceder en la pila
593
<DT><B>Returns:</B><DD>tipo de filtro</DL>
594
</DD>
595
</DL>
596
<HR>
597

    
598
<A NAME="clear()"><!-- --></A><H3>
599
clear</H3>
600
<PRE>
601
public void <B>clear</B>()</PRE>
602
<DL>
603
<DD>Elimina todos los filtros de la pila
604
<P>
605
<DD><DL>
606
</DL>
607
</DD>
608
</DL>
609
<HR>
610

    
611
<A NAME="replace(org.cresques.io.raster.RasterFilter, int, int)"><!-- --></A><H3>
612
replace</H3>
613
<PRE>
614
public void <B>replace</B>(<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter,
615
                    int&nbsp;i,
616
                    int&nbsp;type)</PRE>
617
<DL>
618
<DD>Sustituye un filtro de una posici?n de la pila por otro
619
<P>
620
<DD><DL>
621
<DT><B>Parameters:</B><DD><CODE>filter</CODE> - <DD><CODE>i</CODE> - </DL>
622
</DD>
623
</DL>
624
<HR>
625

    
626
<A NAME="setInitRasterBuf(java.lang.Object)"><!-- --></A><H3>
627
setInitRasterBuf</H3>
628
<PRE>
629
public void <B>setInitRasterBuf</B>(java.lang.Object&nbsp;raster)</PRE>
630
<DL>
631
<DD>Asigna el raster de entrada inicial
632
<P>
633
<DD><DL>
634
<DT><B>Parameters:</B><DD><CODE>raster</CODE> - </DL>
635
</DD>
636
</DL>
637
<HR>
638

    
639
<A NAME="getInitDataType()"><!-- --></A><H3>
640
getInitDataType</H3>
641
<PRE>
642
public int <B>getInitDataType</B>()</PRE>
643
<DL>
644
<DD>Devuelve el tipo de datos inicial de la pila
645
<P>
646
<DD><DL>
647

    
648
<DT><B>Returns:</B><DD>Tipo de dato del raster inicial</DL>
649
</DD>
650
</DL>
651
<HR>
652

    
653
<A NAME="isActive(int)"><!-- --></A><H3>
654
isActive</H3>
655
<PRE>
656
public boolean <B>isActive</B>(int&nbsp;type)</PRE>
657
<DL>
658
<DD>M?todo que devuelve true si el tipo de filtro pasado por par?metro est? en la
659
 pila y false si no lo est?.
660
<P>
661
<DD><DL>
662
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Tipo de par?metro a comprobar
663
<DT><B>Returns:</B><DD>true si est? en la pila y false si no lo est?</DL>
664
</DD>
665
</DL>
666
<HR>
667

    
668
<A NAME="isActive(org.cresques.io.raster.RasterFilter)"><!-- --></A><H3>
669
isActive</H3>
670
<PRE>
671
public boolean <B>isActive</B>(<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster">RasterFilter</A>&nbsp;filter)</PRE>
672
<DL>
673
<DD>M?todo que devuelve true si el tipo de filtro pasado por par?metro est? en la
674
 pila y false si no lo est?.
675
<P>
676
<DD><DL>
677
<DT><B>Parameters:</B><DD><CODE>filter</CODE> - Tipo de filtro a comprobar
678
<DT><B>Returns:</B><DD>true si est? en la pila y false si no lo est?</DL>
679
</DD>
680
</DL>
681
<HR>
682

    
683
<A NAME="getStats()"><!-- --></A><H3>
684
getStats</H3>
685
<PRE>
686
public <A HREF="../../../../org/cresques/io/raster/RasterStats.html" title="class in org.cresques.io.raster">RasterStats</A> <B>getStats</B>()</PRE>
687
<DL>
688
<DD>Obtiene el objeto RasterStats
689
<P>
690
<DD><DL>
691

    
692
<DT><B>Returns:</B><DD></DL>
693
</DD>
694
</DL>
695
<HR>
696

    
697
<A NAME="execute(java.awt.Image)"><!-- --></A><H3>
698
execute</H3>
699
<PRE>
700
public void <B>execute</B>(java.awt.Image&nbsp;image)</PRE>
701
<DL>
702
<DD>Aplica los filtros sobre un Image
703
<P>
704
<DD><DL>
705
<DT><B>Parameters:</B><DD><CODE>image</CODE> - Buffer inicial sobre el que se aplican los filtros</DL>
706
</DD>
707
</DL>
708
<HR>
709

    
710
<A NAME="execute(org.cresques.io.raster.RasterBuf)"><!-- --></A><H3>
711
execute</H3>
712
<PRE>
713
public void <B>execute</B>(<A HREF="../../../../org/cresques/io/raster/RasterBuf.html" title="class in org.cresques.io.raster">RasterBuf</A>&nbsp;rasterBuf)</PRE>
714
<DL>
715
<DD>Aplica los filtros sobre un RasterBuf
716
<P>
717
<DD><DL>
718
<DT><B>Parameters:</B><DD><CODE>rasterBuf</CODE> - Buffer inicial sobre el que se aplican los filtros</DL>
719
</DD>
720
</DL>
721
<HR>
722

    
723
<A NAME="show()"><!-- --></A><H3>
724
show</H3>
725
<PRE>
726
public void <B>show</B>()</PRE>
727
<DL>
728
<DD>Muestra el contenido de la pila de filtros para depuraci?n
729
<P>
730
<DD><DL>
731
</DL>
732
</DD>
733
</DL>
734
<!-- ========= END OF CLASS DATA ========= -->
735
<HR>
736

    
737

    
738
<!-- ======= START OF BOTTOM NAVBAR ====== -->
739
<A NAME="navbar_bottom"><!-- --></A>
740
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
741
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
742
<TR>
743
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
744
<A NAME="navbar_bottom_firstrow"><!-- --></A>
745
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
746
  <TR ALIGN="center" VALIGN="top">
747
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
748
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
749
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
750
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
751
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
752
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
753
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
754
  </TR>
755
</TABLE>
756
</TD>
757
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
758
</EM>
759
</TD>
760
</TR>
761

    
762
<TR>
763
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
764
&nbsp;<A HREF="../../../../org/cresques/io/raster/RasterFilter.html" title="class in org.cresques.io.raster"><B>PREV CLASS</B></A>&nbsp;
765
&nbsp;<A HREF="../../../../org/cresques/io/raster/RasterFilterStackManager.html" title="class in org.cresques.io.raster"><B>NEXT CLASS</B></A></FONT></TD>
766
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
767
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
768
&nbsp;<A HREF="RasterFilterStack.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
769
&nbsp;<SCRIPT type="text/javascript">
770
  <!--
771
  if(window==top) {
772
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
773
  }
774
  //-->
775
</SCRIPT>
776
<NOSCRIPT>
777
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
778
</NOSCRIPT>
779

    
780
</FONT></TD>
781
</TR>
782
<TR>
783
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
784
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
785
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
786
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
787
</TR>
788
</TABLE>
789
<A NAME="skip-navbar_bottom"></A>
790
<!-- ======== END OF BOTTOM NAVBAR ======= -->
791

    
792
<HR>
793

    
794
</BODY>
795
</HTML>