public class TLcyContourBackEnd extends ALcyTEABackEnd
ALcyTEABackEnd
Modifier and Type | Field and Description |
---|---|
static String |
DOMAIN_OBJECT_CONTEXT_KEY
Property name for the domain object context associated with a shape to calculate a contour for.
|
ALTITUDE_PROVIDER_KEY, DISPLAY_NAME_KEY, MODEL_DISPLAY_NAME_KEY, MODEL_REFERENCE_KEY, QUALITY_KEY, SHAPE_KEY, SHAPE_REFERENCE_KEY, SOURCE_NAME_KEY, TARGET_REFERENCE_KEY, VIEW_KEY
Constructor and Description |
---|
TLcyContourBackEnd(ILcyLucyEnv aLucyEnv)
Default constructor for the contour back-end.
|
Modifier and Type | Method and Description |
---|---|
TLcdAltitudeDescriptor |
createAltitudeDescriptor(ALcyProperties aProperties)
Returns an altitude descriptor suitable for the add-on's purposes.
|
TLcdContourFinder |
createContourFinder(ALcyProperties aProperties)
Creates a new contour finder to generate contour lines with.
|
ILcdModelDescriptor |
createModelDescriptor(ALcyProperties aProperties)
Returns a model descriptor suitable for the add-on's used models.
|
createAltitudeMatrixViewFactory, createAltitudeProvider, getLucyEnv
public static final String DOMAIN_OBJECT_CONTEXT_KEY
public TLcyContourBackEnd(ILcyLucyEnv aLucyEnv)
aLucyEnv
- the Lucy environment for which the back-end will be usedpublic ILcdModelDescriptor createModelDescriptor(ALcyProperties aProperties)
createModelDescriptor
in class ALcyTEABackEnd
aProperties
- a properties object with the following parameters:
ALcyTEABackEnd.SOURCE_NAME_KEY
: The source name that was used to retrieve the data
from, use null
to indicate that it was
created from scratch.
ALcyTEABackEnd.DISPLAY_NAME_KEY
: the display name that the model descriptor should
use @return a suitable model descriptor
public TLcdAltitudeDescriptor createAltitudeDescriptor(ALcyProperties aProperties)
Note that this descriptor can be used by the back-end's contour finder; it does not include Double.NaN values.
createAltitudeDescriptor
in class ALcyTEABackEnd
aProperties
- this implementation does not use any propertiespublic TLcdContourFinder createContourFinder(ALcyProperties aProperties)
aProperties
- this implementation does not need any properties