Class TLcyContourBackEnd
java.lang.Object
com.luciad.lucy.addons.tea.ALcyTEABackEnd
com.luciad.lucy.addons.tea.contour.TLcyContourBackEnd
Back-end functionality for a TEA contour add-on.
It provides the following functionality to calculate contour lines:
- an altitude descriptor to create a referenced matrix view with;
- a referenced matrix view factory;
- a contour finder to apply on a referenced matrix view.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property name for the domain object context associated with a shape to calculate a contour for.Fields inherited from class com.luciad.lucy.addons.tea.ALcyTEABackEnd
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 Summary
ConstructorDescriptionTLcyContourBackEnd
(ILcyLucyEnv aLucyEnv) Default constructor for the contour back-end. -
Method Summary
Modifier and TypeMethodDescriptioncreateAltitudeDescriptor
(ALcyProperties aProperties) Returns an altitude descriptor suitable for the add-on's purposes.createContourFinder
(ALcyProperties aProperties) Creates a new contour finder to generate contour lines with.createModelDescriptor
(ALcyProperties aProperties) Returns a model descriptor suitable for the add-on's used models.Methods inherited from class com.luciad.lucy.addons.tea.ALcyTEABackEnd
createAltitudeMatrixViewFactory, createAltitudeProvider, getLucyEnv
-
Field Details
-
DOMAIN_OBJECT_CONTEXT_KEY
Property name for the domain object context associated with a shape to calculate a contour for.- See Also:
-
-
Constructor Details
-
TLcyContourBackEnd
Default constructor for the contour back-end.- Parameters:
aLucyEnv
- the Lucy environment for which the back-end will be used
-
-
Method Details
-
createModelDescriptor
Returns a model descriptor suitable for the add-on's used models.- Specified by:
createModelDescriptor
in classALcyTEABackEnd
- Parameters:
aProperties
- a properties object with the following parameters:ALcyTEABackEnd.SOURCE_NAME_KEY
: The source name that was used to retrieve the data from, usenull
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
- Returns:
- a contour model descriptor
-
createAltitudeDescriptor
Returns an altitude descriptor suitable for the add-on's purposes.Note that this descriptor can be used by the back-end's contour finder; it does not include Double.NaN values.
- Overrides:
createAltitudeDescriptor
in classALcyTEABackEnd
- Parameters:
aProperties
- this implementation does not use any properties- Returns:
- an altitude descriptor suitable for the add-on's purposes
-
createContourFinder
Creates a new contour finder to generate contour lines with.- Parameters:
aProperties
- this implementation does not need any properties- Returns:
- a new contour finder
-