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
FieldsModifier and TypeFieldDescriptionstatic final StringAltitude provider property name for the back-end methods properties arguments.static final StringDisplay name property name for the back-end properties arguments.static final StringModel display property name for the back-end properties arguments.static final StringModel reference property name for the back-end properties arguments.static final StringQuality property name for the back-end properties arguments, expressed in meters per discretization step.static final StringShape property name for the back-end properties arguments.static final StringShape model reference property name for the back-end properties arguments, describing the georeference of theSHAPE_KEYproperty.static final StringSource name property name for the back-end properties arguments.static final StringTarget reference property name for the back-end properties arguments.static final StringView property name for the back-end properties arguments. -
Constructor Summary
ConstructorsConstructorDescriptionALcyTEABackEnd(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 forILcdAltitudeMatrixViewshape discretization objects.createAltitudeProvider(ALcyProperties aProperties) Returns a view-based altitude provider.abstract ILcdModelDescriptorcreateModelDescriptor(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_KEYproperty. 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, usenullto 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_KEYthe view for which to provide altitude valuesQUALITY_KEYthe 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 forILcdAltitudeMatrixViewshape discretization objects.- Parameters:
aProperties- this implementation does not use any properties- Returns:
- a factory for
ILcdAltitudeMatrixViewobjects
-