Enum BandMerge.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 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 name
        NullPointerException - 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