org.gvsig.raster.georeferencing.app.georeferencingclient
Class GeorefOptions

java.lang.Object
  extended by org.gvsig.raster.georeferencing.app.georeferencingclient.GeorefOptions

public class GeorefOptions
extends java.lang.Object

Data model for georeferencing options.

Author:
Nacho Brodin (nachobrodin@gmail.com)

Constructor Summary
GeorefOptions()
           
 
Method Summary
 int getAlgorithm()
          Gets the algorithm to use (affine transform or polynomial)
 java.awt.Color getBackgroundColor()
          Gets the background color of the views
 int getDegree()
          Gets the degree of the polynomial
 int getInterpolationMethod()
          Obtiene el método de interpolación del método polinomial
 java.lang.String getOutFile()
          Obtiene el fichero de salida
 java.awt.Color getTextColor()
          Gets the graphic color
 double getThreshold()
          Obtiene el umbral de error a partir del cual se iluminan en rojo en la tabla
 int getType()
          Obtiene el tipo de georreferenciación especificado en las constantes de la clase georreferencing.
 double getXCellSize()
          Obtiene el tamaño de celda en X para la georreferenciación con remuestreo asignada por el usuario.
 double getYCellSize()
          Obtiene el tamaño de celda en Y para la georreferenciación con remuestreo asignada por el usuario.
 boolean isAddErrorsCSV()
          Returns true if the errors are written in CSV file
 boolean isCenterView()
          Consulta si está activo el flag de centrar las vistas automáticamente sobre el punto que está seleccionado en la tabla.
 boolean isShowNumber()
          Consulta el flag que informa si se muestra el número del punto en la vista
 void setAddErrorsCSV(boolean addErrorsCSV)
          Sets the flag to report if the errors are written in the CSV file
 void setAlgorithm(int optionAlgorithm)
          Sets the algorithm to use (affine transform or polynomial)
 void setBackgroundColor(java.awt.Color optionBackgroundColor)
          Sets the background color of the views
 void setCenterView(boolean centerView)
          Asigna el flag que dice si se centran las vistas automáticamente sobre el punto que está seleccionado en la tabla.
 void setDegree(int optiondegree)
          Sets the degree to the polynomial
 void setInterpolationMethod(int interpolationMethod)
          Asigna el método de interpolación del método polinomial
 void setOutFile(java.lang.String outFile)
          Asigna el fichero de salida
 void setShowNumber(boolean showNumber)
          Asigna el flag que dice si se muestra el número del punto en la vista
 void setTextColor(java.awt.Color optionTextColor)
          Sets the text color
 void setThreshold(double threshold)
          Asigna el umbral de error a partir del cual se iluminan en rojo en la tabla
 void setType(int type)
          Asigna el tipo de georreferenciación especificado en las constantes de la clase georreferencing.
 void setXCellSize(double cellSize)
          Asigna el tamaño de celda en X para la georreferenciación con remuestreo asignada por el usuario.
 void setYCellSize(double cellSize)
          Asigna el tamaño de celda en Y para la georreferenciación con remuestreo asignada por el usuario.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeorefOptions

public GeorefOptions()
Method Detail

getAlgorithm

public int getAlgorithm()
Gets the algorithm to use (affine transform or polynomial)

Returns:

getBackgroundColor

public java.awt.Color getBackgroundColor()
Gets the background color of the views

Returns:
Color

getDegree

public int getDegree()
Gets the degree of the polynomial

Returns:
Integer which represents the degree of the polynomial

getInterpolationMethod

public int getInterpolationMethod()
Obtiene el método de interpolación del método polinomial

Returns:
Entero contenido como constante en la clas GridInterpolation

getOutFile

public java.lang.String getOutFile()
Obtiene el fichero de salida

Returns:

getTextColor

public java.awt.Color getTextColor()
Gets the graphic color

Returns:
Color

getThreshold

public double getThreshold()
Obtiene el umbral de error a partir del cual se iluminan en rojo en la tabla

Returns:
double con el valor del umbral

getType

public int getType()
Obtiene el tipo de georreferenciación especificado en las constantes de la clase georreferencing.

Returns:

getXCellSize

public double getXCellSize()
Obtiene el tamaño de celda en X para la georreferenciación con remuestreo asignada por el usuario.

Returns:

getYCellSize

public double getYCellSize()
Obtiene el tamaño de celda en Y para la georreferenciación con remuestreo asignada por el usuario.

Returns:

isAddErrorsCSV

public boolean isAddErrorsCSV()
Returns true if the errors are written in CSV file


isCenterView

public boolean isCenterView()
Consulta si está activo el flag de centrar las vistas automáticamente sobre el punto que está seleccionado en la tabla.

Returns:
true para centrar automáticamente y false para no hacerlo

isShowNumber

public boolean isShowNumber()
Consulta el flag que informa si se muestra el número del punto en la vista

Returns:
true si se muestra y false si no

setAddErrorsCSV

public void setAddErrorsCSV(boolean addErrorsCSV)
Sets the flag to report if the errors are written in the CSV file


setAlgorithm

public void setAlgorithm(int optionAlgorithm)
Sets the algorithm to use (affine transform or polynomial)

Parameters:
-

setBackgroundColor

public void setBackgroundColor(java.awt.Color optionBackgroundColor)
Sets the background color of the views

Parameters:
optionBackgroundColor -

setCenterView

public void setCenterView(boolean centerView)
Asigna el flag que dice si se centran las vistas automáticamente sobre el punto que está seleccionado en la tabla.


setDegree

public void setDegree(int optiondegree)
Sets the degree to the polynomial

Parameters:
Integer - which represents the degree of the polynomial

setInterpolationMethod

public void setInterpolationMethod(int interpolationMethod)
Asigna el método de interpolación del método polinomial

Parameters:
Entero - contenido como constante en la clas GridInterpolation

setOutFile

public void setOutFile(java.lang.String outFile)
Asigna el fichero de salida

Parameters:
outputFile -

setShowNumber

public void setShowNumber(boolean showNumber)
Asigna el flag que dice si se muestra el número del punto en la vista

Parameters:
true - para mostrarlo y false para no hacerlo

setTextColor

public void setTextColor(java.awt.Color optionTextColor)
Sets the text color

Parameters:
optionTextColor -

setThreshold

public void setThreshold(double threshold)
Asigna el umbral de error a partir del cual se iluminan en rojo en la tabla

Parameters:
double - con el valor del umbral

setType

public void setType(int type)
Asigna el tipo de georreferenciación especificado en las constantes de la clase georreferencing.

Parameters:
-

setXCellSize

public void setXCellSize(double cellSize)
Asigna el tamaño de celda en X para la georreferenciación con remuestreo asignada por el usuario.

Parameters:
-

setYCellSize

public void setYCellSize(double cellSize)
Asigna el tamaño de celda en Y para la georreferenciación con remuestreo asignada por el usuario.

Parameters:
-


Copyright © 2013-2014 gvSIG Association. All Rights Reserved.