Class TLcyHypsometryBackEnd
java.lang.Object
com.luciad.lucy.addons.tea.ALcyTEABackEnd
com.luciad.lucy.addons.tea.hypsometry.TLcyHypsometryBackEnd
Provides back-end functionality for a TEA hypsometry add-on.
Its main purpose is to create hypsometric value providers.
It can also create snapshots of the combined visible elevation layers in a view. These snapshots can be used as
input for hypsometric operations.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property name for the azimuth that the hypsometric value provider will use.static final String
Property name for the model display name to use for newly created elevation snapshots.static final String
Property name for the footprint that the hypsometric value provider will use.static final String
Property name for the hypsometric normal provider that the hypsometric value provider should use.static final String
The property name for a line-of-sight coverage's propagation function.static final String
Constant denoting a hypsometric value provider for slope orientations.static final String
Constant denoting a hypsometric value provider for slope orientations.static final String
Constant denoting the hypsometric value provider for ridges and valleys.static final String
Constant denoting the hypsometric value provider for ridges.static final String
Constant denoting a hypsometric value provider for slope angles.static final String
Constant denoting a hypsometric value provider for slope angles.static final String
Constant denoting the hypsometric value provider for valleys.static final String
Property name for the inclination that the hypsometric value provider will use.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
ConstructorDescriptionTLcyHypsometryBackEnd
(ILcyLucyEnv aLucyEnv) Default constructor for the hypsometry back-end. -
Method Summary
Modifier and TypeMethodDescriptioncreateHypsometricGeoTIFFModel
(ALcyProperties aProperties) Creates a new model containing a raster snapshot of the visible elevation layers in a view.createHypsometricValueProvider
(ALcyProperties aProperties) Creates and returns a hypsometric value provider based on the given properties.createModelDescriptor
(ALcyProperties aProperties) Returns a model descriptor suitable for the add-on's used models.retrieveHypsometricValueProviderLabel
(String aHypsometricValueProviderKey) Returns a displayable label for the given hypsometric value provider.Methods inherited from class com.luciad.lucy.addons.tea.ALcyTEABackEnd
createAltitudeDescriptor, createAltitudeMatrixViewFactory, createAltitudeProvider, getLucyEnv
-
Field Details
-
GEOTIFF_MODEL_DISPLAY_NAME_KEY
Property name for the model display name to use for newly created elevation snapshots. The associated property value is of type String.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_SLOPE_ID
Constant denoting a hypsometric value provider for slope angles.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_SLOPE_ANGLE_ID
Constant denoting a hypsometric value provider for slope angles.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_ORIENTATION_ID
Constant denoting a hypsometric value provider for slope orientations.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_ORIENTATION_ANGLE_ID
Constant denoting a hypsometric value provider for slope orientations.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_RIDGE_ID
Constant denoting the hypsometric value provider for ridges.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_VALLEY_ID
Constant denoting the hypsometric value provider for valleys.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_RIDGE_AND_VALLEY_ID
Constant denoting the hypsometric value provider for ridges and valleys.- See Also:
-
HYPSOMETRIC_VALUE_PROVIDER_KEY
The property name for a line-of-sight coverage's propagation function. The associated property value is one of PROPAGATION_FUNCTION_VALUE_FIXED_HEIGHT, PROPAGATION_FUNCTION_VALUE_NORMAL and PROPAGATION_FUNCTION_VALUE_SKY_BACKGROUND.- See Also:
-
HYPSOMETRIC_NORMAL_PROVIDER_KEY
Property name for the hypsometric normal provider that the hypsometric value provider should use. The associated property value is of typeILcdHypsometricNormalProvider
- See Also:
-
AZIMUTH_KEY
Property name for the azimuth that the hypsometric value provider will use. The associated property should be of type double, expressed in degrees.- See Also:
-
INCLINATION_KEY
Property name for the inclination that the hypsometric value provider will use. The associated property should be of type double, expressed in degrees.- See Also:
-
HYPSOMETRIC_FOOT_PRINT_KEY
Property name for the footprint that the hypsometric value provider will use. The associated property should be of typeRectangle
.- See Also:
-
-
Constructor Details
-
TLcyHypsometryBackEnd
Default constructor for the hypsometry 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. This implementation does not support this method and will throw an UnsupportedOperationException.- Specified by:
createModelDescriptor
in classALcyTEABackEnd
- Parameters:
aProperties
-- Returns:
- the created
ILcdModelDescriptor
. - Throws:
UnsupportedOperationException
-
createHypsometricValueProvider
Creates and returns a hypsometric value provider based on the given properties.- Parameters:
aProperties
- the properties containing the method's parameters.-
TLcyHypsometryAddon.SELECTED_VALUE_PROVIDER_KEY
determines what value provider to create - For HYPSOMETRIC_VALUE_PROVIDER_SLOPE_ID and HYPSOMETRIC_VALUE_PROVIDER_SLOPE_ANGLE_ID:
HYPSOMETRIC_NORMAL_PROVIDER_KEY
the normal provider that the value provider should useAZIMUTH_KEY
the reference direction's azimuthINCLINATION_KEY
the reference inclination's inclination
- For HYPSOMETRIC_VALUE_PROVIDER_ORIENTATION_ID and HYPSOMETRIC_VALUE_PROVIDER_SLOPE_ANGLE_ID:
HYPSOMETRIC_NORMAL_PROVIDER_KEY
the normal provider that the value provider should useAZIMUTH_KEY
the reference direction's azimuth
- For HYPSOMETRIC_VALUE_PROVIDER_RIDGE_ID, HYPSOMETRIC_VALUE_PROVIDER_VALLEY_ID and
HYPSOMETRIC_VALUE_PROVIDER_RIDGE_AND_VALLEY_ID
HYPSOMETRIC_FOOT_PRINT_KEY
the value provider's footprint
-
- Returns:
- a hypsometric value provider configured according to the given properties
-
retrieveHypsometricValueProviderLabel
Returns a displayable label for the given hypsometric value provider.- Parameters:
aHypsometricValueProviderKey
- the hypsometric value provider key to return the label for- Returns:
- a displayable label
-
createHypsometricGeoTIFFModel
Creates a new model containing a raster snapshot of the visible elevation layers in a view.- Parameters:
aProperties
- the properties containing the method's parameters.-
ALcyTEABackEnd.VIEW_KEY
the view to take the snapshot of -
ALcyTEABackEnd.SHAPE_KEY
the shape to constrain to -
ALcyTEABackEnd.SHAPE_REFERENCE_KEY
the model reference of the shape to constrain to
-
- Returns:
- a model containing a single raster
-