public class GeorefOptionsDataModelImpl extends Object implements GeoreferencingOptionsDataModel
Constructor and Description |
---|
GeorefOptionsDataModelImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getAlgorithm()
Obtiene al algoritmo a utilizar (Transformación afín, polinómico, ...)
|
Color |
getBackgroundColor()
Obtiene el color de fondo de las vistas
|
RasterDataStore |
getDataStore()
Obtiene la capa que ha sido abierta por el usuario
|
int |
getDegree()
Obtiene el grado del polinómio
|
GCPList |
getGCPList()
Gets the list of points.
|
int |
getInterpolationMethod()
Obtiene el método de interpolación del método polinomial
|
String |
getOutFile()
Obtiene el fichero de salida
|
Extent |
getRasterExtent()
Gets the extent in pixel coordinates, that means (0, 0, width, height)
|
String |
getSelectedView()
Obtiene la vista seleccionada
|
Color |
getTextColor()
Obtiene el color de los gráficos
|
double |
getThreshold()
Obtiene el umbral de error a partir del cual se iluminan en rojo en la tabla
|
double |
getThresholdError()
Obtiene el control para selección de umbral de error
|
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()
Consulta si los errores se escriben en el fichero CSV
|
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 |
reset() |
void |
setAddErrorsCSV(boolean addErrorsCSV)
Asigna el flag que dice si los errores se escriben en el fichero CSV
|
void |
setAlgorithm(int optionAlgorithm)
Asigna el algoritmo a utilizar (Transformación afín, polinómico, ...)
|
void |
setBackgroundColor(Color optionBackgroundColor)
Asigna el color de fondo de las vistas
|
void |
setBackGroundColor(Color c)
Asigna el color de fonfo
|
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 |
setDataStore(RasterDataStore store)
Sets the data store
|
void |
setDegree(int optiondegree)
Asigna el grado del polinómio
|
void |
setInterpolationMethod(int interpolationMethod)
Asigna el método de interpolación del método polinomial
|
void |
setOutFile(String outFile)
Asigna el fichero de salida
|
void |
setSelectedView(String v)
Sets the selected view
|
void |
setShowNumber(boolean showNumber)
Asigna el flag que dice si se muestra el número del punto en la vista
|
void |
setTextColor(Color optionTextColor)
Asigna el color de los gráficos
|
void |
setThreshold(double threshold)
Asigna el umbral de error a partir del cual se iluminan en rojo en la tabla
|
void |
setThresholdError(double threshold)
Asigna el control para selección de umbral de error
|
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.
|
public void reset()
reset
in interface GeoreferencingOptionsDataModel
public int getDegree()
getDegree
in interface GeoreferencingOptionsDataModel
public void setDegree(int optiondegree)
setDegree
in interface GeoreferencingOptionsDataModel
entero
- con el valor que representa el grado del polinómiopublic Color getTextColor()
getTextColor
in interface GeoreferencingOptionsDataModel
public void setTextColor(Color optionTextColor)
setTextColor
in interface GeoreferencingOptionsDataModel
optionTextColor
- public int getAlgorithm()
getAlgorithm
in interface GeoreferencingOptionsDataModel
public void setAlgorithm(int optionAlgorithm)
setAlgorithm
in interface GeoreferencingOptionsDataModel
- public Color getBackgroundColor()
getBackgroundColor
in interface GeoreferencingOptionsDataModel
public void setBackgroundColor(Color optionBackgroundColor)
optionBackgroundColor
- public boolean isAddErrorsCSV()
isAddErrorsCSV
in interface GeoreferencingOptionsDataModel
public void setAddErrorsCSV(boolean addErrorsCSV)
setAddErrorsCSV
in interface GeoreferencingOptionsDataModel
true
- para escribirlos en el fichero y false para no hacerlopublic boolean isCenterView()
isCenterView
in interface GeoreferencingOptionsDataModel
public void setCenterView(boolean centerView)
setCenterView
in interface GeoreferencingOptionsDataModel
public boolean isShowNumber()
isShowNumber
in interface GeoreferencingOptionsDataModel
public void setShowNumber(boolean showNumber)
setShowNumber
in interface GeoreferencingOptionsDataModel
true
- para mostrarlo y false para no hacerlopublic double getThreshold()
getThreshold
in interface GeoreferencingOptionsDataModel
public void setThreshold(double threshold)
setThreshold
in interface GeoreferencingOptionsDataModel
double
- con el valor del umbralpublic int getInterpolationMethod()
getInterpolationMethod
in interface GeoreferencingOptionsDataModel
public void setInterpolationMethod(int interpolationMethod)
setInterpolationMethod
in interface GeoreferencingOptionsDataModel
Entero
- contenido como constante en la clas GridInterpolationpublic String getOutFile()
getOutFile
in interface GeoreferencingOptionsDataModel
public void setOutFile(String outFile)
setOutFile
in interface GeoreferencingOptionsDataModel
outputFile
- public int getType()
getType
in interface GeoreferencingOptionsDataModel
public void setType(int type)
setType
in interface GeoreferencingOptionsDataModel
- public double getXCellSize()
getXCellSize
in interface GeoreferencingOptionsDataModel
public void setXCellSize(double cellSize)
setXCellSize
in interface GeoreferencingOptionsDataModel
- public double getYCellSize()
getYCellSize
in interface GeoreferencingOptionsDataModel
public void setYCellSize(double cellSize)
setYCellSize
in interface GeoreferencingOptionsDataModel
- public double getThresholdError()
GeoreferencingOptionsDataModel
getThresholdError
in interface GeoreferencingOptionsDataModel
public void setBackGroundColor(Color c)
GeoreferencingOptionsDataModel
setBackGroundColor
in interface GeoreferencingOptionsDataModel
public void setThresholdError(double threshold)
GeoreferencingOptionsDataModel
setThresholdError
in interface GeoreferencingOptionsDataModel
public RasterDataStore getDataStore()
GeoreferencingOptionsDataModel
getDataStore
in interface GeoreferencingOptionsDataModel
public Extent getRasterExtent()
GeoreferencingOptionsDataModel
getRasterExtent
in interface GeoreferencingOptionsDataModel
public String getSelectedView()
GeoreferencingOptionsDataModel
getSelectedView
in interface GeoreferencingOptionsDataModel
public void setSelectedView(String v)
GeoreferencingOptionsDataModel
setSelectedView
in interface GeoreferencingOptionsDataModel
public void setDataStore(RasterDataStore store)
GeoreferencingOptionsDataModel
setDataStore
in interface GeoreferencingOptionsDataModel
public GCPList getGCPList()
GeoreferencingOptionsDataModel
getGCPList
in interface GeoreferencingOptionsDataModel