Class WarpTransform2DProvider
Object
Formattable
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
WarpTransform2DProvider
- All Implemented Interfaces:
Serializable,IdentifiedObject,OperationMethod,PROJFormattable
The provider for the
WarpTransform2D. This provider constructs a ImageN image
warp from a set of polynomial coefficients, and wrap it in a WarpTransform2D object.- Author:
- Martin Desruisseaux
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class MathTransformProvider
MathTransformProvider.Delegate -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterDescriptor<Integer>Descriptor for the "degree" parameter value.static final ParameterDescriptor<Float>Descriptor for the "postScaleX" parameter value.static final ParameterDescriptor<Float>Descriptor for the "postScaleY" parameter value.static final ParameterDescriptor<Float>Descriptor for the "preScaleX" parameter value.static final ParameterDescriptor<Float>Descriptor for the "preScaleY" parameter value.static final ParameterDescriptor<?>Descriptor for the "xCoeffs" parameter value.static final ParameterDescriptor<?>Descriptor for the "yCoeffs" parameter value.Fields inherited from class DefaultOperationMethod
sourceDimensions, targetDimensionsFields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORFields inherited from class Formattable
SINGLE_LINEFields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields inherited from interface OperationMethod
FORMULA_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MathTransformCreates a warp transform from the specified group of parameter values.Returns the operation type.Methods inherited from class MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, valueMethods inherited from class DefaultOperationMethod
checkDimensions, equals, formatPROJ, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCodeMethods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchesMethods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTMethods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
DEGREE
Descriptor for the "degree" parameter value. -
X_COEFFS
Descriptor for the "xCoeffs" parameter value. -
Y_COEFFS
Descriptor for the "yCoeffs" parameter value. -
PRE_SCALE_X
Descriptor for the "preScaleX" parameter value. -
PRE_SCALE_Y
Descriptor for the "preScaleY" parameter value. -
POST_SCALE_X
Descriptor for the "postScaleX" parameter value. -
POST_SCALE_Y
Descriptor for the "postScaleY" parameter value.
-
-
Constructor Details
-
WarpTransform2DProvider
public WarpTransform2DProvider()Create a provider for warp transforms.
-
-
Method Details
-
getOperationType
Returns the operation type.- Overrides:
getOperationTypein classMathTransformProvider- Returns:
- The GeoAPI interface implemented by this operation.
-
createMathTransform
protected MathTransform createMathTransform(ParameterValueGroup values) throws ParameterNotFoundException Creates a warp transform from the specified group of parameter values.- Specified by:
createMathTransformin classMathTransformProvider- Parameters:
values- The group of parameter values.- Returns:
- The created math transform.
- Throws:
ParameterNotFoundException- if a required parameter was not found.- See Also:
-