Package com.luciad.lucy.addons.tea
Class ALcyTEABackEnd
java.lang.Object
com.luciad.lucy.addons.tea.ALcyTEABackEnd
- Direct Known Subclasses:
TLcyContourBackEnd
,TLcyExtremePointBackEnd
,TLcyHypsometryBackEnd
,TLcyLOSCoverageBackEnd
,TLcyTEAControllerBackEnd
,TLcyViewshedBackEnd
,TLcyVisibilityBackEnd
Provides back-end functionality for a TEA add-on.
Its methods can be called to programmatically perform the same operations as the GUI does, or
to create a custom TEA GUI.
Also, a back-end can be extended to overwrite various methods in order to fine-tune its behavior.
To allow easy extension of a back-end, the method parameters are passed via ALcyProperties objects.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Altitude provider property name for the back-end methods properties arguments.static final String
Display name property name for the back-end properties arguments.static final String
Model display property name for the back-end properties arguments.static final String
Model reference property name for the back-end properties arguments.static final String
Quality property name for the back-end properties arguments, expressed in meters per discretization step.static final String
Shape property name for the back-end properties arguments.static final String
Shape model reference property name for the back-end properties arguments, describing the georeference of theSHAPE_KEY
property.static final String
Source name property name for the back-end properties arguments.static final String
Target reference property name for the back-end properties arguments.static final String
View property name for the back-end properties arguments. -
Constructor Summary
ConstructorDescriptionALcyTEABackEnd
(ILcyLucyEnv aLucyEnv) Default constructor for a TEA back-end. -
Method Summary
Modifier and TypeMethodDescriptioncreateAltitudeDescriptor
(ALcyProperties aProperties) Returns an altitude descriptor suitable for the add-on's purposes.createAltitudeMatrixViewFactory
(ALcyProperties aProperties) Returns a factory forILcdAltitudeMatrixView
shape discretization objects.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.Returns the Lucy environment into which the back-end was plugged.
-
Field Details
-
SOURCE_NAME_KEY
Source name property name for the back-end properties arguments. The corresponding value is of type String.- See Also:
-
DISPLAY_NAME_KEY
Display name property name for the back-end properties arguments. The corresponding value is of type String.- See Also:
-
VIEW_KEY
View property name for the back-end properties arguments. The corresponding value is of typeILcdGXYView
.- See Also:
-
QUALITY_KEY
Quality property name for the back-end properties arguments, expressed in meters per discretization step. The corresponding property value is of type double.- See Also:
-
SHAPE_KEY
Shape property name for the back-end properties arguments. The corresponding property value is of typeILcdShape
.- See Also:
-
SHAPE_REFERENCE_KEY
Shape model reference property name for the back-end properties arguments, describing the georeference of theSHAPE_KEY
property. The corresponding property value is of typeILcdGeoReference
.- See Also:
-
ALTITUDE_PROVIDER_KEY
Altitude provider property name for the back-end methods properties arguments. The corresponding property value is of typeILcdAltitudeProvider
.- See Also:
-
MODEL_DISPLAY_NAME_KEY
Model display property name for the back-end properties arguments. The corresponding property value is of type String.- See Also:
-
MODEL_REFERENCE_KEY
Model reference property name for the back-end properties arguments. The corresponding property value is of type ILcdModelReference.- See Also:
-
TARGET_REFERENCE_KEY
Target reference property name for the back-end properties arguments. The corresponding property value is of type ILcdModelReference.- See Also:
-
-
Constructor Details
-
ALcyTEABackEnd
Default constructor for a TEA back-end.- Parameters:
aLucyEnv
- the Lucy environment to plug the back-end into.
-
-
Method Details
-
getLucyEnv
Returns the Lucy environment into which the back-end was plugged.- Returns:
- the Lucy environment into which the back-end was plugged
-
createModelDescriptor
Returns a model descriptor suitable for the add-on's used models.- Parameters:
aProperties
- a properties object with the following parameters:SOURCE_NAME_KEY
: The source name that was used to retrieve the data from, usenull
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
- Returns:
- the created
ILcdModelDescriptor
.
-
createAltitudeProvider
Returns a view-based altitude provider.- Parameters:
aProperties
- a properties object with the following parameters:VIEW_KEY
the view for which to provide altitude valuesQUALITY_KEY
the quality value to base the provider's pixel density on
- Returns:
- a view-based altitude provider
-
createAltitudeDescriptor
Returns an altitude descriptor suitable for the add-on's purposes.- Parameters:
aProperties
- this implementation does not use any properties- Returns:
- an altitude descriptor suitable for the add-on's purposes
-
createAltitudeMatrixViewFactory
Returns a factory forILcdAltitudeMatrixView
shape discretization objects.- Parameters:
aProperties
- this implementation does not use any properties- Returns:
- a factory for
ILcdAltitudeMatrixView
objects
-