Class IdentityTransformDescriptor
java.lang.Object
org.esa.snap.core.dataop.maptransf.IdentityTransformDescriptor
- All Implemented Interfaces:
MapTransformDescriptor
@Deprecated
public class IdentityTransformDescriptor
extends Object
implements MapTransformDescriptor
Deprecated.
The descriptor for a map transformation which represents the identity transformation.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTransform(double[] parameterValues) Deprecated.Creates an instance of the map transform for the given parameter values.Deprecated.getName()Deprecated.Gets a descriptive name for this map transformation descriptor.double[]Deprecated.Gets the default parameter values for this map transform.Deprecated.Gets the parameters for this map transform.getTransformUI(MapTransform transform) Deprecated.Gets a user interface for editing the transformation properties of a map projection.Deprecated.booleanDeprecated.Tests if a user interface is available.voidDeprecated.This method is called within themethod after an instance of thisMapProjectionRegistry.registerDescriptor(org.esa.snap.core.dataop.maptransf.MapTransformDescriptor)MapTransformDescriptorhas been successfully registered.
-
Field Details
-
TYPE_ID
Deprecated.- See Also:
-
NAME
Deprecated.- See Also:
-
MAP_UNIT
Deprecated.- See Also:
-
PARAMETERS
Deprecated. -
PARAMETER_DEFAULT_VALUES
public static final double[] PARAMETER_DEFAULT_VALUESDeprecated.
-
-
Constructor Details
-
IdentityTransformDescriptor
public IdentityTransformDescriptor()Deprecated.
-
-
Method Details
-
registerProjections
public void registerProjections()Deprecated.Description copied from interface:MapTransformDescriptorThis method is called within themethod after an instance of thisMapProjectionRegistry.registerDescriptor(org.esa.snap.core.dataop.maptransf.MapTransformDescriptor)MapTransformDescriptorhas been successfully registered. The method can and should be used to register projections that are based on the type ofdescribed by thisMapTransformMapTransformDescriptor. Registering projection instances is done using the using themethod.MapProjectionRegistry.registerProjection(org.esa.snap.core.dataop.maptransf.MapProjection)A typical implementation of this method would be:
public void registerProjections() { MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-1", new MyMapTransform(param_1))); MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-2", new MyMapTransform(param_2))); MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-3", new MyMapTransform(param_3))); ... }- Specified by:
registerProjectionsin interfaceMapTransformDescriptor
-
getName
Deprecated.Gets a descriptive name for this map transformation descriptor.- Specified by:
getNamein interfaceMapTransformDescriptor- Returns:
- A descriptive name for this map transformation descriptor, e.g. "Transverse Mercator".
-
getTypeID
Deprecated.- Specified by:
getTypeIDin interfaceMapTransformDescriptor- Returns:
- The unique type identifier for the map transformation, e.g. "Transverse_Mercator".
-
getMapUnit
Deprecated.- Specified by:
getMapUnitin interfaceMapTransformDescriptor- Returns:
- The unit of the map, e.g. "degree" or "meter".
-
getParameters
Deprecated.Description copied from interface:MapTransformDescriptorGets the parameters for this map transform.Important: Changing elements in the returned array may change this object's state.
- Specified by:
getParametersin interfaceMapTransformDescriptor- Returns:
- The list of parameters required to create a new instance of the map transform.
-
getParameterDefaultValues
public double[] getParameterDefaultValues()Deprecated.Gets the default parameter values for this map transform.- Specified by:
getParameterDefaultValuesin interfaceMapTransformDescriptor- Returns:
- The default parameter values for this map transform.
-
hasTransformUI
public boolean hasTransformUI()Deprecated.Tests if a user interface is available. Returnsfalsebecause a user interface is not available for this descriptor.- Specified by:
hasTransformUIin interfaceMapTransformDescriptor- Returns:
- always
false
-
getTransformUI
Deprecated.Gets a user interface for editing the transformation properties of a map projection. Returnsnullbecause a user interface is not available for this descriptor.- Specified by:
getTransformUIin interfaceMapTransformDescriptor- Parameters:
transform- ignored- Returns:
- always
null
-
createTransform
Deprecated.Description copied from interface:MapTransformDescriptorCreates an instance of the map transform for the given parameter values. The parameter value array must exactly match the size and semantics of the parameters returned by theMapTransformDescriptor.getParameters()method.Important: Implementors of this method shall ensure that an element-wise copy of the given parameter array is created and set.
- Specified by:
createTransformin interfaceMapTransformDescriptor- Parameters:
parameterValues- the parameter values. If null, a map transform with default parameter values is created- Returns:
- a new instance of a map transform with the array of parameters being copied, never null
-
PlateCarree.Providerinstead.