Revision 2669 branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/io/raster/IRasterFilter.java

View differences:

IRasterFilter.java
1 1
/*
2 2
 * Cresques Mapping Suite. Graphic Library for constructing mapping applications.
3
 * 
4
 * Copyright (C) 2004-5. 
5 3
 *
4
 * Copyright (C) 2004-5.
5
 *
6 6
 * This program is free software; you can redistribute it and/or
7 7
 * modify it under the terms of the GNU General Public License
8 8
 * as published by the Free Software Foundation; either version 2
......
18 18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
19 19
 *
20 20
 * For more information, contact:
21
 * 
21
 *
22 22
 * cresques@gmail.com
23 23
 */
24 24
package org.cresques.io.raster;
......
29 29
 * @author Nacho Brodin (brodin_ign@gva.es)
30 30
 */
31 31
public interface IRasterFilter {
32
	
33
	/**
34
	 * Acciones a realizar antes de la ejecuci?n del filtro
35
	 *
36
	 */
37
	public void pre();
38
	
39
	/**
40
	 * Ejecuci?n. 
41
	 *
42
	 */
43
	public void execute();
44
	
45
	/**
46
	 * Procesa la posici?n x,y de la imagen
47
	 * @param x posici?n X
48
	 * @param y posici?n Y
49
	 */
50
	public void process(int x, int y);
51
	
52
	/**
53
	 * Acciones a realizar despu?s de la ejecuci?n del filtro 
54
	 *
55
	 */
56
	public void post();
57
	
58
	/**
59
	 * Par?metros obligatorios:
60
	 * 	inRaster (IRaster)
61
	 * par?metros obligatorios (si se da el caso)
62
	 * 	previousFilter (IRasterFilter)
63
	 * 
64
	 * @param name
65
	 * @param value
66
	 */
67
	public void addParam(String name, Object value);
68
	/**
69
	 * Devuelve los resultados despues de la ejecuci?n del filtro.
70
	 * @param name
71
	 * @return
72
	 */
73
	public Object getResult(String name);
74
	
75
	/**
76
	 * Obtiene el tipo de datos de entrada al filtro
77
	 * @return Tipo de dato
78
	 */
79
	public int getInRasterDataType();
80
	
81
	/**
82
	 * Obtiene el tipo de datos de salida del filtro
83
	 * @return Tipo de dato
84
	 */
85
	public int getOutRasterDataType();
32
    /**
33
     * Acciones a realizar antes de la ejecuci?n del filtro
34
     *
35
     */
36
    public void pre();
37

  
38
    /**
39
     * Ejecuci?n.
40
     *
41
     */
42
    public void execute();
43

  
44
    /**
45
     * Procesa la posici?n x,y de la imagen
46
     * @param x posici?n X
47
     * @param y posici?n Y
48
     */
49
    public void process(int x, int y);
50

  
51
    /**
52
     * Acciones a realizar despu?s de la ejecuci?n del filtro
53
     *
54
     */
55
    public void post();
56

  
57
    /**
58
     * Par?metros obligatorios:
59
     *         inRaster (IRaster)
60
     * par?metros obligatorios (si se da el caso)
61
     *         previousFilter (IRasterFilter)
62
     *
63
     * @param name
64
     * @param value
65
     */
66
    public void addParam(String name, Object value);
67

  
68
    /**
69
     * Devuelve los resultados despues de la ejecuci?n del filtro.
70
     * @param name
71
     * @return
72
     */
73
    public Object getResult(String name);
74

  
75
    /**
76
     * Obtiene el tipo de datos de entrada al filtro
77
     * @return Tipo de dato
78
     */
79
    public int getInRasterDataType();
80

  
81
    /**
82
     * Obtiene el tipo de datos de salida del filtro
83
     * @return Tipo de dato
84
     */
85
    public int getOutRasterDataType();
86 86
}

Also available in: Unified diff