Package com.luciad.view.gxy.measure
Class TLcdGXYImageLayerMeasureProviderFactory
java.lang.Object
com.luciad.view.gxy.measure.TLcdGXYImageLayerMeasureProviderFactory
- All Implemented Interfaces:
ILcdLayerMeasureProviderFactory
@LcdService(service=ILcdLayerMeasureProviderFactory.class,
priority=20000)
public class TLcdGXYImageLayerMeasureProviderFactory
extends Object
implements ILcdLayerMeasureProviderFactory
This layer measure provider factory makes it possible to create an ALcdMeasureProvider
for GXY 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:
- This factory only supports layers containing
ALcdImage
instances. So it will ignore model elements of other types likeILcdRaster
orILcdMultilevelRaster
. - This factory will only handle layers that contain models with an
ILcdImageModelDescriptor
. - This factory only supports layers that implement
ILcdGXYEditableLabelsLayer
. Layer instances that do not implement this interface are ignored.
- 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
-
TLcdGXYImageLayerMeasureProviderFactory
public TLcdGXYImageLayerMeasureProviderFactory()
-
-
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.
-