svn-gvsig-desktop / branches / CqCMSDvp / libraries / libCq CMS for java.old / src / org / cresques / io / raster / IRasterFilter.java @ 2255
History | View | Annotate | Download (2.5 KB)
1 |
/*
|
---|---|
2 |
* Created on 17-feb-2004
|
3 |
*
|
4 |
* To change the template for this generated file go to
|
5 |
* Window>Preferences>Java>Code Generation>Code and Comments
|
6 |
*/
|
7 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
8 |
*
|
9 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
10 |
*
|
11 |
* This program is free software; you can redistribute it and/or
|
12 |
* modify it under the terms of the GNU General Public License
|
13 |
* as published by the Free Software Foundation; either version 2
|
14 |
* of the License, or (at your option) any later version.
|
15 |
*
|
16 |
* This program is distributed in the hope that it will be useful,
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
19 |
* GNU General Public License for more details.
|
20 |
*
|
21 |
* You should have received a copy of the GNU General Public License
|
22 |
* along with this program; if not, write to the Free Software
|
23 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
24 |
*
|
25 |
* For more information, contact:
|
26 |
*
|
27 |
* Generalitat Valenciana
|
28 |
* Conselleria d'Infraestructures i Transport
|
29 |
* Av. Blasco Ib??ez, 50
|
30 |
* 46010 VALENCIA
|
31 |
* SPAIN
|
32 |
*
|
33 |
* +34 963862235
|
34 |
* gvsig@gva.es
|
35 |
* www.gvsig.gva.es
|
36 |
*
|
37 |
* or
|
38 |
*
|
39 |
* IVER T.I. S.A
|
40 |
* Salamanca 50
|
41 |
* 46005 Valencia
|
42 |
* Spain
|
43 |
*
|
44 |
* +34 963163400
|
45 |
* dac@iver.es
|
46 |
*/
|
47 |
package org.cresques.io.raster; |
48 |
|
49 |
|
50 |
/**
|
51 |
* @author Luis W. Sevilla (sevilla_lui@gva.es)
|
52 |
* @author Nacho Brodin (brodin_ign@gva.es)
|
53 |
*/
|
54 |
public interface IRasterFilter { |
55 |
|
56 |
/**
|
57 |
* Acciones a realizar antes de la ejecuci?n del filtro
|
58 |
*
|
59 |
*/
|
60 |
public void pre(); |
61 |
|
62 |
/**
|
63 |
* Ejecuci?n.
|
64 |
*
|
65 |
*/
|
66 |
public void execute(); |
67 |
|
68 |
/**
|
69 |
* Procesa la posici?n x,y de la imagen
|
70 |
* @param x posici?n X
|
71 |
* @param y posici?n Y
|
72 |
*/
|
73 |
public void process(int x, int y); |
74 |
|
75 |
/**
|
76 |
* Acciones a realizar despu?s de la ejecuci?n del filtro
|
77 |
*
|
78 |
*/
|
79 |
public void post(); |
80 |
|
81 |
/**
|
82 |
* Par?metros obligatorios:
|
83 |
* inRaster (IRaster)
|
84 |
* par?metros obligatorios (si se da el caso)
|
85 |
* previousFilter (IRasterFilter)
|
86 |
*
|
87 |
* @param name
|
88 |
* @param value
|
89 |
*/
|
90 |
public void addParam(String name, Object value); |
91 |
/**
|
92 |
* Devuelve los resultados despues de la ejecuci?n del filtro.
|
93 |
* @param name
|
94 |
* @return
|
95 |
*/
|
96 |
public Object getResult(String name); |
97 |
|
98 |
/**
|
99 |
* Obtiene el tipo de datos de entrada al filtro
|
100 |
* @return Tipo de dato
|
101 |
*/
|
102 |
public int getInRasterDataType(); |
103 |
|
104 |
/**
|
105 |
* Obtiene el tipo de datos de salida del filtro
|
106 |
* @return Tipo de dato
|
107 |
*/
|
108 |
public int getOutRasterDataType(); |
109 |
} |