public class ClipProcess
extends RasterProcess
ClippingProcess
es un proceso que usa un Thread
para aplicar un recorte a una capa y guardarlo en disco. Muestra una barra
de incremento informativa.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AT |
static java.lang.String |
COLOR_INTERP |
static java.lang.String |
DRAW_BANDS |
static java.lang.String |
DRIVER_PARAMS |
static java.lang.String |
FILENAME |
static java.lang.String |
INTERP_METHOD |
static java.lang.String |
LAYER |
static java.lang.String |
ONE_BY_BAND |
static java.lang.String |
PATH |
static java.lang.String |
PX_COORDS |
static java.lang.String |
RESOLUTION |
static java.lang.String |
SELECTED_ROIS |
static java.lang.String |
SUFFIX |
static java.lang.String |
TIME |
static java.lang.String |
WORLD_COORDS |
Constructor and Description |
---|
ClipProcess() |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
int |
getPercent() |
java.lang.String |
getTitle() |
void |
init()
Parámetros obligatorios al proceso:
filename: Nombre del fichero de salida
datawriter: Escritor de datos
viewname: Nombre de la vista sobre la que se carga la capa al acabar el proceso
pixelcoordinates: Coordenadas pixel del recorte (ulx, uly, lrx, lry)
layer: Capa de entrada para el recorte
drawablebands: Bandas de entrada
onelayerperband: booleano que informa de si escribimos una banda por fichero de salida o todas en un fichero
interpolationmethod: Método de interpolación.
|
void |
process()
Tarea de recorte
|
static void |
registerParameters() |
public static java.lang.String LAYER
public static java.lang.String PATH
public static java.lang.String FILENAME
public static java.lang.String TIME
public static java.lang.String SUFFIX
public static java.lang.String PX_COORDS
public static java.lang.String WORLD_COORDS
public static java.lang.String DRAW_BANDS
public static java.lang.String ONE_BY_BAND
public static java.lang.String INTERP_METHOD
public static java.lang.String AT
public static java.lang.String COLOR_INTERP
public static java.lang.String SELECTED_ROIS
public static java.lang.String RESOLUTION
public static java.lang.String DRIVER_PARAMS
public void init()
public static void registerParameters()
public void process() throws ProcessInterruptedException, ClipException
public int getPercent()
public java.lang.String getTitle()
protected void finalize() throws java.lang.Throwable
java.lang.Throwable