org.deegree.tools.crs.georeferencing.application
Class ApplicationState

java.lang.Object
  extended by org.deegree.tools.crs.georeferencing.application.ApplicationState

public class ApplicationState
extends Object

Version:
$Revision: 31215 $, $Date: 2011-07-05 14:46:01 +0200 (Tue, 05 Jul 2011) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Field Summary
 javax.vecmath.Point2d changePoint
           
 CheckboxListTransformation checkBoxListTransform
           
 String chosenFile
           
 ControllerModel conModel
           
 Footprint footPrint
           
 OpenGLEventHandler glHandler
           
 boolean isControlDown
           
 boolean isInitFoot
           
 boolean isInitGeoref
           
 MapController mapController
           
 List<Triple<Point4Values,Point4Values,PointResidual>> mappedPoints
           
 CheckBoxListModel modelTransformation
           
 FootprintMouseModel mouseFootprint
           
 GeoReferencedMouseModel mouseGeoRef
           
 OptionDialog optionDialog
           
 NavigationPanel optionNavPanel
           
 GenericSettingsPanel optionSettingPanel
           
 SettingsPanel optionSettPanel
           
 boolean pan
           
 boolean previewing
           
 RowColumn rc
           
 boolean referencing
           
 boolean referencingLeft
           
 Scene2DValues sceneValues
           
 MapService service
           
 ICRS sourceCRS
           
 boolean start
           
 ParameterStore store
           
 PointTableFrame tablePanel
           
 ICRS targetCRS
           
 WMSParameterChooser wmsParameter
           
 OpenWMS wmsStartDialog
           
 boolean zoomIn
           
 boolean zoomOut
           
 
Constructor Summary
ApplicationState()
           
 
Method Summary
 AbstractTransformation determineTransformationType(AbstractTransformation.TransformationType type)
          Determines the transformationMethod by means of the type.
 void initFootprintScene(String filePath)
          Initializes the footprint scene.
 void initGeoReferencingScene()
          Initializes the georeferenced scene.
 void removeAllFromMappedPoints()
          Removes everything after a complete deletion of the points.
 void removeFromMappedPoints(int[] tableRows)
          Removes sample points in panels and the table.
 void reset()
          Resets the focus of the panels and the startPanel.
 void setValues()
          Sets values to the JTableModel.
 void updateDrawingPanels()
          Updates the panels that are responsible for drawing the georeferenced points so that the once clicked points are drawn into the right position.
 void updateResiduals(AbstractTransformation.TransformationType type)
          Updates the model of the table to show the residuals of the already stored mappedPoints.
 void updateResidualsWithLastAbstractPoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

public boolean start

isControlDown

public boolean isControlDown

isInitGeoref

public boolean isInitGeoref

isInitFoot

public boolean isInitFoot

referencing

public boolean referencing

previewing

public boolean previewing

referencingLeft

public boolean referencingLeft

zoomIn

public boolean zoomIn

zoomOut

public boolean zoomOut

pan

public boolean pan

sceneValues

public Scene2DValues sceneValues

tablePanel

public PointTableFrame tablePanel

store

public ParameterStore store

mouseGeoRef

public GeoReferencedMouseModel mouseGeoRef

mouseFootprint

public FootprintMouseModel mouseFootprint

changePoint

public javax.vecmath.Point2d changePoint

mappedPoints

public List<Triple<Point4Values,Point4Values,PointResidual>> mappedPoints

conModel

public ControllerModel conModel

optionNavPanel

public NavigationPanel optionNavPanel

optionSettPanel

public SettingsPanel optionSettPanel

optionDialog

public OptionDialog optionDialog

wmsStartDialog

public OpenWMS wmsStartDialog

wmsParameter

public WMSParameterChooser wmsParameter

optionSettingPanel

public GenericSettingsPanel optionSettingPanel

checkBoxListTransform

public CheckboxListTransformation checkBoxListTransform

modelTransformation

public CheckBoxListModel modelTransformation

rc

public RowColumn rc

chosenFile

public String chosenFile

sourceCRS

public ICRS sourceCRS

targetCRS

public ICRS targetCRS

footPrint

public Footprint footPrint

glHandler

public OpenGLEventHandler glHandler

mapController

public MapController mapController

service

public MapService service
Constructor Detail

ApplicationState

public ApplicationState()
Method Detail

removeFromMappedPoints

public void removeFromMappedPoints(int[] tableRows)
Removes sample points in panels and the table.

Parameters:
tableRows - that should be removed, could be null

initGeoReferencingScene

public void initGeoReferencingScene()
Initializes the georeferenced scene.


initFootprintScene

public void initFootprintScene(String filePath)
Initializes the footprint scene.


updateResidualsWithLastAbstractPoint

public void updateResidualsWithLastAbstractPoint()

updateResiduals

public void updateResiduals(AbstractTransformation.TransformationType type)
Updates the model of the table to show the residuals of the already stored mappedPoints. It is based on the Helmert transformation.

Parameters:
type -

removeAllFromMappedPoints

public void removeAllFromMappedPoints()
Removes everything after a complete deletion of the points.


reset

public void reset()
Resets the focus of the panels and the startPanel.


determineTransformationType

public AbstractTransformation determineTransformationType(AbstractTransformation.TransformationType type)
                                                   throws UnknownCRSException
Determines the transformationMethod by means of the type.

Parameters:
type - of the transformationMethod, not null.
Returns:
the transformationMethod to be used.
Throws:
UnknownCRSException

updateDrawingPanels

public void updateDrawingPanels()
Updates the panels that are responsible for drawing the georeferenced points so that the once clicked points are drawn into the right position.


setValues

public void setValues()
Sets values to the JTableModel.



Copyright © 2011. All Rights Reserved.