public abstract class ALcyTEABackEnd extends Object
To allow easy extension of a back-end, the method parameters are passed via ALcyProperties objects.
Modifier and Type | Field and Description |
---|---|
static String |
ALTITUDE_PROVIDER_KEY
Altitude provider property name for the back-end methods properties
arguments.
|
static String |
DISPLAY_NAME_KEY
Display name property name for the back-end properties arguments.
|
static String |
MODEL_DISPLAY_NAME_KEY
Model display property name for the back-end properties arguments.
|
static String |
MODEL_REFERENCE_KEY
Model reference property name for the back-end properties arguments.
|
static String |
QUALITY_KEY
Quality property name for the back-end properties arguments,
expressed in meters per discretization step.
|
static String |
SHAPE_KEY
Shape property name for the back-end properties arguments.
|
static String |
SHAPE_REFERENCE_KEY
Shape model reference property name for the back-end properties
arguments, describing the georeference of the
SHAPE_KEY property. |
static String |
SOURCE_NAME_KEY
Source name property name for the back-end properties arguments.
|
static String |
TARGET_REFERENCE_KEY
Target reference property name for the back-end properties arguments.
|
static String |
VIEW_KEY
View property name for the back-end properties arguments.
|
Constructor and Description |
---|
ALcyTEABackEnd(ILcyLucyEnv aLucyEnv)
Default constructor for a TEA back-end.
|
Modifier and Type | Method and Description |
---|---|
TLcdAltitudeDescriptor |
createAltitudeDescriptor(ALcyProperties aProperties)
Returns an altitude descriptor suitable for the add-on's purposes.
|
TLcdAltitudeMatrixViewFactory |
createAltitudeMatrixViewFactory(ALcyProperties aProperties)
Returns a factory for
ILcdAltitudeMatrixView shape discretization objects. |
ILcdAltitudeProvider |
createAltitudeProvider(ALcyProperties aProperties)
Returns a view-based altitude provider.
|
abstract ILcdModelDescriptor |
createModelDescriptor(ALcyProperties aProperties)
Returns a model descriptor suitable for the add-on's used models.
|
ILcyLucyEnv |
getLucyEnv()
Returns the Lucy environment into which the back-end was plugged.
|
public static final String SOURCE_NAME_KEY
public static final String DISPLAY_NAME_KEY
public static final String VIEW_KEY
ILcdGXYView
.public static final String QUALITY_KEY
public static final String SHAPE_KEY
ILcdShape
.public static final String SHAPE_REFERENCE_KEY
SHAPE_KEY
property.
The corresponding property value is of type ILcdGeoReference
.public static final String ALTITUDE_PROVIDER_KEY
ILcdAltitudeProvider
.public static final String MODEL_DISPLAY_NAME_KEY
public static final String MODEL_REFERENCE_KEY
public static final String TARGET_REFERENCE_KEY
public ALcyTEABackEnd(ILcyLucyEnv aLucyEnv)
aLucyEnv
- the Lucy environment to plug the back-end into.public ILcyLucyEnv getLucyEnv()
public abstract ILcdModelDescriptor createModelDescriptor(ALcyProperties aProperties)
aProperties
- a properties object with the following parameters:
SOURCE_NAME_KEY
: The source name that was used to retrieve the data
from, use null
to indicate that it was
created from scratch.
DISPLAY_NAME_KEY
: the display name that the model descriptor should
use @return a suitable model descriptor
ILcdModelDescriptor
.public ILcdAltitudeProvider createAltitudeProvider(ALcyProperties aProperties)
aProperties
- a properties object with the following parameters:
VIEW_KEY
the view for which to provide altitude values
QUALITY_KEY
the quality value to base the provider's pixel density on
public TLcdAltitudeDescriptor createAltitudeDescriptor(ALcyProperties aProperties)
aProperties
- this implementation does not use any propertiespublic TLcdAltitudeMatrixViewFactory createAltitudeMatrixViewFactory(ALcyProperties aProperties)
ILcdAltitudeMatrixView
shape discretization objects.aProperties
- this implementation does not use any propertiesILcdAltitudeMatrixView
objects