|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.dataop.maptransf.IdentityTransformDescriptor
PlateCarree.Provider instead.
@Deprecated public class IdentityTransformDescriptor
The descriptor for a map transformation which represents the identity transformation.
| Field Summary | |
|---|---|
static String |
MAP_UNIT
Deprecated. |
static String |
NAME
Deprecated. |
static double[] |
PARAMETER_DEFAULT_VALUES
Deprecated. |
static Parameter[] |
PARAMETERS
Deprecated. |
static String |
TYPE_ID
Deprecated. |
| Constructor Summary | |
|---|---|
IdentityTransformDescriptor()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
double[] |
getParameterDefaultValues()
Deprecated. Gets 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_ID
public static final String NAME
public static final String MAP_UNIT
public static final Parameter[] PARAMETERS
public static final double[] PARAMETER_DEFAULT_VALUES
| Constructor Detail |
|---|
public IdentityTransformDescriptor()
| Method Detail |
|---|
public void registerProjections()
MapTransformDescriptorMapProjectionRegistry.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 MapTransformDescriptorpublic String getName()
getName in interface MapTransformDescriptorpublic String getTypeID()
getTypeID in interface MapTransformDescriptorpublic String getMapUnit()
getMapUnit in interface MapTransformDescriptorpublic Parameter[] getParameters()
MapTransformDescriptorImportant: Changing elements in the returned array may change this object's state.
getParameters in interface MapTransformDescriptorpublic double[] getParameterDefaultValues()
getParameterDefaultValues in interface MapTransformDescriptorpublic boolean hasTransformUI()
false because a user interface is not available for
this descriptor.
hasTransformUI in interface MapTransformDescriptorfalsepublic MapTransformUI getTransformUI(MapTransform transform)
null
because a user interface is not available for this descriptor.
getTransformUI in interface MapTransformDescriptortransform - ignored
nullpublic MapTransform createTransform(double[] parameterValues)
MapTransformDescriptorMapTransformDescriptor.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 MapTransformDescriptorparameterValues - the parameter values. If null, a map transform with default parameter values is created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||