Class TLspImageLayerMeasureProviderFactory
java.lang.Object
com.luciad.view.lightspeed.measure.TLspImageLayerMeasureProviderFactory
- All Implemented Interfaces:
ILcdLayerMeasureProviderFactory
@LcdService(service=ILcdLayerMeasureProviderFactory.class,
priority=20000)
public class TLspImageLayerMeasureProviderFactory
extends Object
implements ILcdLayerMeasureProviderFactory
This layer measure provider factory makes it possible to create an ALcdMeasureProvider
for layers containing elements of the ALcdImage
type. The
image also needs a measurement band semantics. The following ALcdImage
sub-types are supported:
The created measure provider will return measurements that correspond with what is shown on the screen. It will for example use the same level for multilevel images.
Note that this factory only supports layers containing ALcdImage
instances. So it will ignore
model elements of other types like ILcdRaster
or ILcdMultilevelRaster
. This factory will only
handle layers that contain models with an ILcdImageModelDescriptor
.
- Since:
- 2015.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMeasureProvider
(ILcdLayer aLayer, ILcdView aView) Creates a new measure provider, based on the given layer and view, ornull
if no measure provider can be created.
-
Constructor Details
-
TLspImageLayerMeasureProviderFactory
public TLspImageLayerMeasureProviderFactory()
-
-
Method Details
-
createMeasureProvider
Description copied from interface:ILcdLayerMeasureProviderFactory
Creates a new measure provider, based on the given layer and view, ornull
if no measure provider can be created.- Specified by:
createMeasureProvider
in interfaceILcdLayerMeasureProviderFactory
- Parameters:
aLayer
- the layer for which to create a measure provideraView
- the view for which to create a measure provider- Returns:
- a measure provider, or
null
if no measure provider can be created for the given layer and view.
-