Class TLspRasterBasedScaleLevelProvider

java.lang.Object
com.luciad.view.lightspeed.controller.navigation.TLspRasterBasedScaleLevelProvider
All Implemented Interfaces:
ILspScaleLevelProvider

public class TLspRasterBasedScaleLevelProvider extends Object implements ILspScaleLevelProvider
This ILspScaleLevelProvider, provides the scale levels for the first raster under the mouse cursor. This raster can be
  • an ILcdRaster
  • an ILcdMultilevelRaster
  • an ILcdEarthTileSet
Since:
2012.0
  • Constructor Details

    • TLspRasterBasedScaleLevelProvider

      public TLspRasterBasedScaleLevelProvider()
  • Method Details

    • getScaleLevels

      public ILspScaleLevelProvider.ScaleLevel[] getScaleLevels(int aX, int aY, ILspView aView)
      Description copied from interface: ILspScaleLevelProvider

      Returns the scale levels for the given view point. The scales should be in order, from smallest to largest. The scale levels can be based on the given view coordinate, for example the ideal scales for a raster under this view position.

      Specified by:
      getScaleLevels in interface ILspScaleLevelProvider
      Parameters:
      aX - an x view coordinate
      aY - an y view coordinate
      aView - the view
      Returns:
      the scale levels for the given view point, in toolkit pixels/world unit