Enum BandMerge.TransformList
- Object
-
- Enum<BandMerge.TransformList>
-
- TransformList
-
- All Implemented Interfaces:
Serializable
,Comparable<BandMerge.TransformList>
- Enclosing class:
- BandMerge
public static enum BandMerge.TransformList extends Enum<BandMerge.TransformList>
Enum used for selecting an Affine Transformation to use for backward mapping the final coverage pixel to the Model Space. The method "getTransformationList" returns a List of the AffineTransformations to use for backward mapping the destination pixels into each source coverage pixel.- Author:
- Nicola Lagomarsini, GeoSolutions S.A.S.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AffineTransform
getCRStoGrid2D(List<GridGeometry2D> list, int index)
Returns the World To Grid transformation from the following GridGeometry list.abstract AffineTransform
getGridToCRS2D(List<GridGeometry2D> list, int index)
Returns the Grid To World transformation from the following GridGeometry list.List<AffineTransform>
getTransformationList(List<GridGeometry2D> list, int index)
Returns a List of AffineTransformations objects to use for backward mapping the destination image pixels into each source imagestatic BandMerge.TransformList
getTransformList(String choice)
Static method for choosing the TransformList Object associated to the input stringstatic BandMerge.TransformList
valueOf(String name)
Returns the enum constant of this type with the specified name.static BandMerge.TransformList[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST
public static final BandMerge.TransformList FIRST
-
LAST
public static final BandMerge.TransformList LAST
-
INDEX
public static final BandMerge.TransformList INDEX
-
-
Method Detail
-
values
public static BandMerge.TransformList[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BandMerge.TransformList c : BandMerge.TransformList.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BandMerge.TransformList valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTransformationList
public List<AffineTransform> getTransformationList(List<GridGeometry2D> list, int index)
Returns a List of AffineTransformations objects to use for backward mapping the destination image pixels into each source image
-
getGridToCRS2D
public abstract AffineTransform getGridToCRS2D(List<GridGeometry2D> list, int index)
Returns the Grid To World transformation from the following GridGeometry list. The result depends on the implementation
-
getCRStoGrid2D
public abstract AffineTransform getCRStoGrid2D(List<GridGeometry2D> list, int index)
Returns the World To Grid transformation from the following GridGeometry list. The result depends on the implementation
-
getTransformList
public static BandMerge.TransformList getTransformList(String choice)
Static method for choosing the TransformList Object associated to the input string
-
-