Package com.luciad.util.height
package com.luciad.util.height
General interfaces and implementations to retrieve heights from data, for
instance, elevation rasters.
ILcdHeightProvider
This package definesILcdHeightProvider
, an interface used to retrieve height from
data, and its main implementations :
TLcdRasterHeightProvider
, a height provider retrieving its height from a raster.TLcdTransformedHeightProvider
, a height provider that retrieves its heights from another height provider with a different reference.TLcdCompositeHeightProvider
, a height provider that combines multiple height providers.TLcdFixedHeightProvider
, a height provider that returns a fixed height for each point.
ILcdModelHeightProviderFactory
This package also definesILcdModelHeightProviderFactory
, an interface used to create
an ILcdHeightProvider
from an ILcdModel
. This interface has 2 standard
implementations :
ALcdModelHeightProviderFactory
, a height provider factory that returns anILcdHeightProvider
from a model, using an abstract method that returns anILcdHeightProvider
from a model element.TLcdRasterModelHeightProviderFactory
, anALcdModelHeightProviderFactory
that implements the abstract method for raster model elements.
ILcdLayerHeightProviderFactory
This package also definesILcdLayerHeightProviderFactory
, an interface used to create
an ILcdHeightProvider
from an ILdLayer
.
Properties
When using anILcdModelHeightProviderFactory
or ILcdLayerHeightProviderFactory
to create an ILcdHeightProvider
, a set of properties is used.
When using these properties to create an ILcdHeightProvider
using an
ILcdModelHeightProviderFactory
or ILcdLayerHeightProviderFactory
,
properties can be classified as required or optional.
- Required : A property should be required when the user wants to make sure that this
property is actually used. When this property is not used during the creation of an
ILcdHeightProvider
, aTLcdUnsupportedPropertyException
must be thrown. When implementing anILcdModelHeightProviderFactory
orILcdLayerHeightProviderFactory
, one should always make sure that required properties are removed when they are used, and that the list of required properties is verified when a height provider gets created. - Optional : A property should be optional when the user doesn't need this property to be used.
ILcdModelHeightProviderFactory
or ILcdLayerHeightProviderFactory
,
properties can also be classified as follows :
- Necessary : This means that the implementation needs this property to work correctly. When
the user fails to provide a necessary property, a
TLcdMissingPropertyException
must be thrown. - Not necessary : This means that the implementation does not need this property to work correctly.
- Since:
- 9.1
-
ClassDescriptionThis abstract class provides a method to create an
ILcdHeightProvider
when anILcdModel
is given.This class provides the common interface and methods of both the legacyTLcdRasterModelHeightProviderFactory
and the newTLcdImageModelHeightProviderFactory
This interface provides height values for 2D points inside known bounds.This interface provides a method to create a height provider from a layer and a view.This interface provides a method to create a height provider from a model.This height provider combines a list of height providers.ThisILcdModelHeightProviderFactory
tries to create anILcdHeightProvider
using a given list of otherILcdModelHeightProviderFactory
instances.Default implementation of theILcdHeightProvider
interface that returns a constant given height for any given point.A height provider which can read values out of an ALcdBasicImage.This class provides a method to create anILcdHeightProvider
when anILcdModel
is given that contains elements of the typeALcdBasicImage
,ALcdImageMosaic
orALcdMultilevelImageMosaic
.This height provider retrieves its heights from a given raster using interpolation between height values to gain a smoother result.Thrown to indicate that a property is missing.Utility class containing convenience methods for implementingILcdModelHeightProviderFactory
.This height provider retrieves its heights from a given raster.Important notice: the packagecom.luciad.imaging
presents a new API for the modeling of raster data.This height provider retrieves its heights from another height provider with a different reference.Thrown to indicate that a required property is not supported.ThisILcdHeightProvider
retrieves height based on a view.