public interface RasterFilter
Modifier and Type | Field and Description |
---|---|
static String |
RESULT_BUFFER |
static String |
RESULT_TRANSPARENCY |
Modifier and Type | Method and Description |
---|---|
void |
addParam(String name,
Object value)
Parámetros pasados al filtro en forma de nombre de parámetro y objeto que
representa al parámetro.
|
void |
execute()
Ejecución de la función process de todo el filtro.
|
TreeMap<String,Object> |
getEnv()
Obtiene el TreeMap con los parámetros del entorno
|
String |
getGroup()
Obtiene el grupo del filtro
|
int |
getInRasterDataType()
Obtiene el tipo de datos de entrada al filtro
|
String |
getManagerName()
Gets the manager name
|
String |
getName()
Devuelve el nombre interno del filtro
|
String[] |
getNames()
Gets the list of specific filter names.
|
int |
getOutRasterDataType()
Obtiene el tipo de datos de salida del filtro
|
Object |
getParam(String name)
Obtiene un parámetro a partir de la clave
|
Hashtable<String,Object> |
getParams()
Gets the param list
|
Object |
getResult(String name)
Devuelve los resultados despues de la ejecución del filtro.
|
Params |
getUIParams(String nameFilter)
Obtener que datos puede tratar una interfaz con sus valores
|
boolean |
isToConvertToRGB()
Returns true if this filter is to conver the input buffer to RGB.
|
boolean |
isVisible()
Devolverá un booleano indicando si es visible o no en el panel de filtros.
|
void |
post()
Acciones a realizar después de la ejecución del filtro
|
void |
pre()
Acciones a realizar antes de la ejecución del filtro
|
void |
process(int x,
int y)
Procesa la posición x,y del raster
|
void |
setEnv(TreeMap<String,Object> env)
Asigna el TreeMap con los parámetros del entorno
|
void |
setName(String name) |
void |
setParams(Hashtable<String,Object> params)
Gets the param list
|
static final String RESULT_BUFFER
static final String RESULT_TRANSPARENCY
void pre() throws FilterAddException
FilterAddException
void execute() throws ProcessInterruptedException, FilterAddException
void process(int x, int y)
x
- posición Xy
- posición Yvoid post()
boolean isToConvertToRGB()
void addParam(String name, Object value)
name
- value
- Object getResult(String name)
name
- int getInRasterDataType()
int getOutRasterDataType()
String getGroup()
String getName()
void setName(String name)
name
- the fName to setTreeMap<String,Object> getEnv()
void setEnv(TreeMap<String,Object> env)
env
- Object getParam(String name)
name
- Parámetroboolean isVisible()
Params getUIParams(String nameFilter)
nameFilter.
- Cada tipo de filtro puede tener parametros distintosString[] getNames()
String getManagerName()