org.deegree.tools.crs.georeferencing.application.transformation
Class AbstractTransformation

java.lang.Object
  extended by org.deegree.cs.CRSIdentifiable
      extended by org.deegree.cs.transformations.Transformation
          extended by org.deegree.tools.crs.georeferencing.application.transformation.AbstractTransformation
All Implemented Interfaces:
Object, TypedObjectNode, CRSResource
Direct Known Subclasses:
AffineTransformation, Helmert4Transform, Polynomial

public abstract class AbstractTransformation
extends Transformation

Abstract base class for all transformation methods.

Version:
$Revision: 29642 $, $Date: 2011-02-11 13:59:33 +0100 (Fri, 11 Feb 2011) $
Author:
Steffen Thomas, last edited by: $Author: lbuesching $

Nested Class Summary
static class AbstractTransformation.TransformationType
           
 
Field Summary
protected  Footprint footPrint
           
protected  List<Triple<Point4Values,Point4Values,PointResidual>> mappedPoints
           
protected  int order
           
protected  Scene2DValues sceneValues
           
protected  ICRS sourceCRS
           
protected  ICRS targetCRS
           
 
Constructor Summary
AbstractTransformation(List<Triple<Point4Values,Point4Values,PointResidual>> mappedPoints, Footprint footPrint, Scene2DValues sceneValues, ICRS sourceCRS, ICRS targetCRS, int order)
           
 
Method Summary
abstract  PointResidual[] calculateResiduals()
          Calculates the Residuals for the mappedPoints
abstract  List<Ring> computeRingList()
          Calculates the Polygons for the transformation.
 int getArraySize()
           
 CRSCodeType[] getCRSCodeType()
           
 CRSIdentifiable getIdentifiable()
           
 PointResidual[] getResiduals()
           
abstract  AbstractTransformation.TransformationType getType()
           
 
Methods inherited from class org.deegree.cs.transformations.Transformation
areInverse, canTransform, contains, copyTransformation, createFromTo, doTransform, doTransform, doTransform, equalOnCRS, equals, getImplementationName, getSourceCRS, getSourceDimension, getTargetCRS, getTargetDimension, getTransformationName, getTransformationPath, inverse, isIdentity, isInverseTransform, setSourceCRS
 
Methods inherited from class org.deegree.cs.CRSIdentifiable
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getId, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hashCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mappedPoints

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

footPrint

protected Footprint footPrint

sceneValues

protected Scene2DValues sceneValues

sourceCRS

protected ICRS sourceCRS

targetCRS

protected ICRS targetCRS

order

protected final int order
Constructor Detail

AbstractTransformation

public AbstractTransformation(List<Triple<Point4Values,Point4Values,PointResidual>> mappedPoints,
                              Footprint footPrint,
                              Scene2DValues sceneValues,
                              ICRS sourceCRS,
                              ICRS targetCRS,
                              int order)
                       throws UnknownCRSException
Throws:
UnknownCRSException
Method Detail

getResiduals

public PointResidual[] getResiduals()

getArraySize

public int getArraySize()

getIdentifiable

public CRSIdentifiable getIdentifiable()

getCRSCodeType

public CRSCodeType[] getCRSCodeType()

getType

public abstract AbstractTransformation.TransformationType getType()
Returns:
the TransformationType for this transformationmethod.

computeRingList

public abstract List<Ring> computeRingList()
Calculates the Polygons for the transformation.

Returns:
a list of RingPolygons, can be null.

calculateResiduals

public abstract PointResidual[] calculateResiduals()
Calculates the Residuals for the mappedPoints

Returns:
a PointResidual object array, can be null.


Copyright © 2011. All Rights Reserved.