org.geotools.referencing.operation.transform
Class WarpTransform2D.Provider

java.lang.Object
  extended by org.geotools.referencing.wkt.Formattable
      extended by org.geotools.referencing.AbstractIdentifiedObject
          extended by org.geotools.referencing.operation.DefaultOperationMethod
              extended by org.geotools.referencing.operation.MathTransformProvider
                  extended by org.geotools.referencing.operation.transform.WarpTransform2D.Provider
All Implemented Interfaces:
java.io.Serializable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.OperationMethod
Enclosing class:
WarpTransform2D

public static class WarpTransform2D.Provider
extends MathTransformProvider

The provider for the WarpTransform2D. This provider constructs a JAI image warp from a set of polynomial coefficients, and wrap it in a WarpTransform2D object.

Version:
$Id: WarpTransform2D.java 34939 2010-02-23 09:17:28Z simonegiannecchini $
Author:
Martin Desruisseaux
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.geotools.referencing.operation.MathTransformProvider
MathTransformProvider.Delegate
 
Field Summary
static org.opengis.parameter.ParameterDescriptor<java.lang.Integer> DEGREE
          Descriptor for the "degree" parameter value.
static org.opengis.parameter.ParameterDescriptor POST_SCALE_X
          Descriptor for the "postScaleX" parameter value.
static org.opengis.parameter.ParameterDescriptor<java.lang.Float> POST_SCALE_Y
          Descriptor for the "postScaleY" parameter value.
static org.opengis.parameter.ParameterDescriptor PRE_SCALE_X
          Descriptor for the "preScaleX" parameter value.
static org.opengis.parameter.ParameterDescriptor PRE_SCALE_Y
          Descriptor for the "preScaleY" parameter value.
static org.opengis.parameter.ParameterDescriptor X_COEFFS
          Descriptor for the "xCoeffs" parameter value.
static org.opengis.parameter.ParameterDescriptor Y_COEFFS
          Descriptor for the "yCoeffs" parameter value.
 
Fields inherited from class org.geotools.referencing.operation.DefaultOperationMethod
sourceDimensions, targetDimensions
 
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
 
Fields inherited from class org.geotools.referencing.wkt.Formattable
SINGLE_LINE
 
Fields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY
 
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
WarpTransform2D.Provider()
          Create a provider for warp transforms.
 
Method Summary
protected  org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.parameter.ParameterValueGroup values)
          Creates a warp transform from the specified group of parameter values.
 java.lang.Class<org.opengis.referencing.operation.Transformation> getOperationType()
          Returns the operation type.
 
Methods inherited from class org.geotools.referencing.operation.MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, value
 
Methods inherited from class org.geotools.referencing.operation.DefaultOperationMethod
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
 
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
 
Methods inherited from class org.geotools.referencing.wkt.Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Field Detail

DEGREE

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Integer> DEGREE
Descriptor for the "degree" parameter value.


X_COEFFS

public static final org.opengis.parameter.ParameterDescriptor X_COEFFS
Descriptor for the "xCoeffs" parameter value.


Y_COEFFS

public static final org.opengis.parameter.ParameterDescriptor Y_COEFFS
Descriptor for the "yCoeffs" parameter value.


PRE_SCALE_X

public static final org.opengis.parameter.ParameterDescriptor PRE_SCALE_X
Descriptor for the "preScaleX" parameter value.


PRE_SCALE_Y

public static final org.opengis.parameter.ParameterDescriptor PRE_SCALE_Y
Descriptor for the "preScaleY" parameter value.


POST_SCALE_X

public static final org.opengis.parameter.ParameterDescriptor POST_SCALE_X
Descriptor for the "postScaleX" parameter value.


POST_SCALE_Y

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Float> POST_SCALE_Y
Descriptor for the "postScaleY" parameter value.

Constructor Detail

WarpTransform2D.Provider

public WarpTransform2D.Provider()
Create a provider for warp transforms.

Method Detail

getOperationType

public java.lang.Class<org.opengis.referencing.operation.Transformation> getOperationType()
Returns the operation type.

Overrides:
getOperationType in class MathTransformProvider
Returns:
The GeoAPI interface implemented by this operation.

createMathTransform

protected org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.parameter.ParameterValueGroup values)
                                                                       throws org.opengis.parameter.ParameterNotFoundException
Creates a warp transform from the specified group of parameter values.

Specified by:
createMathTransform in class MathTransformProvider
Parameters:
values - The group of parameter values.
Returns:
The created math transform.
Throws:
org.opengis.parameter.ParameterNotFoundException - if a required parameter was not found.
See Also:
MathTransformProvider.Delegate


Copyright © 1996-2010 Geotools. All Rights Reserved.