|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.dataop.maptransf.AffineTransformDescriptor
ProjectiveTransform.ProviderAffine instead.
@Deprecated public class AffineTransformDescriptor
A map transform which implements an affine transformation.
| Field Summary | |
|---|---|
static String |
MAP_UNIT
Deprecated. |
static String |
NAME
Deprecated. |
static String |
TYPE_ID
Deprecated. |
| Constructor Summary | |
|---|---|
AffineTransformDescriptor()
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, 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. |
| 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
| Constructor Detail |
|---|
public AffineTransformDescriptor()
| 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 getTypeID()
getTypeID in interface MapTransformDescriptorpublic String getName()
getName in interface MapTransformDescriptorpublic String getMapUnit()
getMapUnit in interface MapTransformDescriptorpublic double[] getParameterDefaultValues()
getParameterDefaultValues in interface MapTransformDescriptorpublic Parameter[] getParameters()
getParameters 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 | |||||||||