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 like ILcdRaster or ILcdMultilevelRaster.
  • 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 Details

    • TLcdGXYImageLayerMeasureProviderFactory

      public TLcdGXYImageLayerMeasureProviderFactory()
  • 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.