Class TLspRasterBasedScaleLevelProvider
java.lang.Object
com.luciad.view.lightspeed.controller.navigation.TLspRasterBasedScaleLevelProvider
- All Implemented Interfaces:
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.luciad.view.lightspeed.controller.navigation.ILspScaleLevelProvider
ILspScaleLevelProvider.ScaleLevel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetScaleLevels
(int aX, int aY, ILspView aView) Returns the scale levels for the given view point.
-
Constructor Details
-
TLspRasterBasedScaleLevelProvider
public TLspRasterBasedScaleLevelProvider()
-
-
Method Details
-
getScaleLevels
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 interfaceILspScaleLevelProvider
- Parameters:
aX
- an x view coordinateaY
- an y view coordinateaView
- the view- Returns:
- the scale levels for the given view point, in toolkit pixels/world unit
-