ProjectiveTransform.ProviderAffine
instead.@Deprecated public class AffineTransformDescriptor extends Object implements MapTransformDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
MAP_UNIT
Deprecated.
|
static String |
NAME
Deprecated.
|
static String |
TYPE_ID
Deprecated.
|
Constructor and Description |
---|
AffineTransformDescriptor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MapTransform |
createTransform(double[] parameterValues)
Deprecated.
Creates an instance of the map transform for the given parameter values.
|
String |
getMapUnit()
Deprecated.
|
String |
getName()
Deprecated.
Gets a descriptive name for this map transformation descriptor, e.g.
|
double[] |
getParameterDefaultValues()
Deprecated.
Gets the default parameter values for this map transform.
|
Parameter[] |
getParameters()
Deprecated.
Gets the list of parameters required to create an
instance of the map transformation.
|
MapTransformUI |
getTransformUI(MapTransform transform)
Deprecated.
Gets a user interface for editing the transformation properties of a map projection.
|
String |
getTypeID()
Deprecated.
|
boolean |
hasTransformUI()
Deprecated.
Tests if a user interface is available.
|
void |
registerProjections()
Deprecated.
This method is called within the
method after an instance of this MapTransformDescriptor has been successfully registered. |
public static final String TYPE_ID
public static final String NAME
public static final String MAP_UNIT
public void registerProjections()
MapTransformDescriptor
MapProjectionRegistry.registerDescriptor(org.esa.beam.framework.dataop.maptransf.MapTransformDescriptor)
method after an instance of this MapTransformDescriptor
has been successfully registered. The method
can and should be used to register projections that are based on the type of MapTransform
described by this MapTransformDescriptor
. Registering projection instances is done using the using
the MapProjectionRegistry.registerProjection(org.esa.beam.framework.dataop.maptransf.MapProjection)
method.
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))); ... }
registerProjections
in interface MapTransformDescriptor
public String getTypeID()
getTypeID
in interface MapTransformDescriptor
public String getName()
getName
in interface MapTransformDescriptor
public String getMapUnit()
getMapUnit
in interface MapTransformDescriptor
public double[] getParameterDefaultValues()
getParameterDefaultValues
in interface MapTransformDescriptor
public Parameter[] getParameters()
getParameters
in interface MapTransformDescriptor
public boolean hasTransformUI()
false
because a user interface is not available for
this descriptor.hasTransformUI
in interface MapTransformDescriptor
false
public MapTransformUI getTransformUI(MapTransform transform)
null
because a user interface is not available for this descriptor.getTransformUI
in interface MapTransformDescriptor
transform
- ignorednull
public MapTransform createTransform(double[] parameterValues)
MapTransformDescriptor
MapTransformDescriptor.getParameters()
method.
Important: Implementors of this method shall ensure that an element-wise copy of the given parameter array is created and set.
createTransform
in interface MapTransformDescriptor
parameterValues
- the parameter values. If null, a map transform with default parameter values is createdCopyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.