Package org.mapsforge.map.layer.hills
Interface ShadingAlgorithm
-
- All Known Implementing Classes:
AbsShadingAlgorithmDefaults,DiffuseLightShadingAlgorithm,SimpleShadingAlgorithm
public interface ShadingAlgorithm
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceShadingAlgorithm.RawHillTileSourceAbstracts the file handling and access so that ShadingAlgorithm implementations could run on any height model source (e.g.static classShadingAlgorithm.RawShadingResult
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAxisLenght(org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo source)ShadingAlgorithm.RawShadingResulttransformToByteBuffer(org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo hgtFileInfo, int padding)
-
-
-
Method Detail
-
getAxisLenght
int getAxisLenght(org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo source)
-
transformToByteBuffer
ShadingAlgorithm.RawShadingResult transformToByteBuffer(org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo hgtFileInfo, int padding)
-
-