Package org.mapsforge.map.layer.hills
Class AbsShadingAlgorithmDefaults
- java.lang.Object
-
- org.mapsforge.map.layer.hills.AbsShadingAlgorithmDefaults
-
- All Implemented Interfaces:
ShadingAlgorithm
- Direct Known Subclasses:
DiffuseLightShadingAlgorithm
,SimpleShadingAlgorithm
public abstract class AbsShadingAlgorithmDefaults extends java.lang.Object implements ShadingAlgorithm
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.mapsforge.map.layer.hills.ShadingAlgorithm
ShadingAlgorithm.RawHillTileSource, ShadingAlgorithm.RawShadingResult
-
-
Constructor Summary
Constructors Constructor Description AbsShadingAlgorithmDefaults()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract byte[]
convert(java.nio.ByteBuffer map, int axisLength, int rowLen, int padding, org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo source)
ShadingAlgorithm.RawShadingResult
transformToByteBuffer(org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo source, int padding)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mapsforge.map.layer.hills.ShadingAlgorithm
getAxisLenght
-
-
-
-
Method Detail
-
convert
protected abstract byte[] convert(java.nio.ByteBuffer map, int axisLength, int rowLen, int padding, org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo source) throws java.io.IOException
- Throws:
java.io.IOException
-
transformToByteBuffer
public ShadingAlgorithm.RawShadingResult transformToByteBuffer(org.mapsforge.map.layer.hills.HgtCache.HgtFileInfo source, int padding)
- Specified by:
transformToByteBuffer
in interfaceShadingAlgorithm
-
-