Package com.bc.ceres.glevel.support
Class DefaultMultiLevelRenderer
- java.lang.Object
-
- com.bc.ceres.glevel.support.DefaultMultiLevelRenderer
-
- All Implemented Interfaces:
MultiLevelRenderer
public class DefaultMultiLevelRenderer extends Object implements MultiLevelRenderer
-
-
Constructor Summary
Constructors Constructor Description DefaultMultiLevelRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderImage(Rendering rendering, MultiLevelSource multiLevelSource, int level)
Renders the image provided by the givenMultiLevelSource
at the specified resolution level onto aRendering
.void
reset()
Releases any allocated resources hold by thisMultiLevelRenderer
, e.g.
-
-
-
Method Detail
-
renderImage
public void renderImage(Rendering rendering, MultiLevelSource multiLevelSource, int level)
Description copied from interface:MultiLevelRenderer
Renders the image provided by the givenMultiLevelSource
at the specified resolution level onto aRendering
.- Specified by:
renderImage
in interfaceMultiLevelRenderer
- Parameters:
rendering
- The rendering.multiLevelSource
- The multi-resolution image source.level
- The resolution level.
-
reset
public void reset()
Description copied from interface:MultiLevelRenderer
Releases any allocated resources hold by thisMultiLevelRenderer
, e.g. releases images or image tiles cached over multiple calls toMultiLevelRenderer.renderImage(com.bc.ceres.grender.Rendering, com.bc.ceres.glevel.MultiLevelSource, int)
.- Specified by:
reset
in interfaceMultiLevelRenderer
-
-