Class TLspViewMeasureProvider

java.lang.Object
com.luciad.util.measure.ALcdMeasureProvider
com.luciad.view.lightspeed.measure.TLspViewMeasureProvider

public class TLspViewMeasureProvider extends ALcdMeasureProvider

This class retrieves measures of the layers in a Lightspeed view. The default behavior retrieves the topmost measures for every type of measure.

It is possible to configure this measure provider with model measure provider factories or layer measure provider factories. Both are optional, so it is possible to create a view measure provider based on model measure provider factories only, layer measure provider factories only, or both. In the latter case, the model measure provider factories are used as a fallback for the layer measure provider factories.

Note that LuciadLightspeed uses a more specific API for height values: TLcdViewHeightProvider.

Since:
2013.0
See Also:
  • Constructor Details

    • TLspViewMeasureProvider

      public TLspViewMeasureProvider(ILspView aView, Iterable<? extends ILcdModelMeasureProviderFactory> aMeasureProviderFactories)
      Creates a new measure provider for the given view, using the given collection of model measure provider factories.
      Parameters:
      aView - the view.
      aMeasureProviderFactories - a collection of model measure provider factories. Can be null.
    • TLspViewMeasureProvider

      public TLspViewMeasureProvider(ILspView aView, Iterable<? extends ILcdModelMeasureProviderFactory> aModelMeasureProviderFactories, Iterable<? extends ILcdLayerMeasureProviderFactory> aLayerMeasureProviderFactories)
      Creates a new measure provider for the given view, using the given collections of model and layer measure provider factories. Both are optional, and can be null. See class doc for more information.
      Parameters:
      aView - the view.
      aModelMeasureProviderFactories - a collection of model measure provider factories. Can be null.
      aLayerMeasureProviderFactories - a collection of layer measure provider factories. Can be null.
  • Method Details