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 Details

    • TLspImageLayerMeasureProviderFactory

      public TLspImageLayerMeasureProviderFactory()
  • Method Details

    • createMeasureProvider

      public ALcdMeasureProvider createMeasureProvider(ILcdLayer aLayer, ILcdView aView)
      Description copied from interface: ILcdLayerMeasureProviderFactory
      Creates a new measure provider, based on the given layer and view, or null if no measure provider can be created.
      Specified by:
      createMeasureProvider in interface ILcdLayerMeasureProviderFactory
      Parameters:
      aLayer - the layer for which to create a measure provider
      aView - 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.