MathTransformProvider
instead.@Deprecated public interface MapTransformDescriptor
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.
|
double[] |
getParameterDefaultValues()
Deprecated.
Gets a copy of the default parameter values for this map transform.
|
Parameter[] |
getParameters()
Deprecated.
Gets the parameters for this map transform.
|
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. |
void registerProjections()
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))); ... }
MapTransform createTransform(double[] parameterValues)
getParameters()
method.
Important: Implementors of this method shall ensure that an element-wise copy of the given parameter array is created and set.
parameterValues
- the parameter values. If null, a map transform with default parameter values is createdString getTypeID()
String getName()
String getMapUnit()
double[] getParameterDefaultValues()
Parameter[] getParameters()
Important: Changing elements in the returned array may change this object's state.
boolean hasTransformUI()
true
if a user interface is available, in this case the getTransformUI(org.esa.beam.framework.dataop.maptransf.MapTransform)
method never
returns null.MapTransformUI getTransformUI(MapTransform transform)
transform
- the transformation which provides the default properties for the UI.hasTransformUI()
method shall return
false
in this case.Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.