Package com.bc.ceres.glevel.support
Class ConcurrentMultiLevelRenderer
- java.lang.Object
-
- com.bc.ceres.glevel.support.ConcurrentMultiLevelRenderer
-
- All Implemented Interfaces:
MultiLevelRenderer
public class ConcurrentMultiLevelRenderer extends Object implements MultiLevelRenderer
-
-
Constructor Summary
Constructors Constructor Description ConcurrentMultiLevelRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderImage(Rendering rendering, MultiLevelSource multiLevelSource, int currentLevel)
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
-
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
-
renderImage
public void renderImage(Rendering rendering, MultiLevelSource multiLevelSource, int currentLevel)
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.currentLevel
- The resolution level.
-
-