Package org.esa.snap.core.image
Class TiledFileMultiLevelSource
java.lang.Object
com.bc.ceres.multilevel.support.AbstractMultiLevelSource
org.esa.snap.core.image.TiledFileMultiLevelSource
- All Implemented Interfaces:
MultiLevelSource
-
Field Summary
Fields inherited from interface com.bc.ceres.multilevel.MultiLevelSource
NULL -
Constructor Summary
ConstructorsConstructorDescriptionTiledFileMultiLevelSource(MultiLevelModel model, Path imageDir, Properties imageProperties) -
Method Summary
Modifier and TypeMethodDescriptionstatic TiledFileMultiLevelSourcestatic TiledFileMultiLevelSourcecreateImage(int level) Called byAbstractMultiLevelSource.getImage(int)if a level image is requested for the first time.Methods inherited from class com.bc.ceres.multilevel.support.AbstractMultiLevelSource
checkLevel, getImage, getImageShape, getModel, reset
-
Constructor Details
-
TiledFileMultiLevelSource
-
-
Method Details
-
create
- Throws:
IOException
-
create
- Throws:
IOException
-
createImage
Description copied from class:AbstractMultiLevelSourceCalled byAbstractMultiLevelSource.getImage(int)if a level image is requested for the first time. Note that images created via this method will bedisposedwhenAbstractMultiLevelSource.reset()is called on this multi-level image source. SeeAbstractMultiLevelSource.getImage(int).The dimension of the level image created must be the same as that obtained from {DefaultMultiLevelSource.getLevelImageBounds(Rectangle sourceBounds, double scale)} for the scale associated with the given resolution level.
- Specified by:
createImagein classAbstractMultiLevelSource- Parameters:
level- The resolution level.- Returns:
- An instance of a
RenderedImagefor the given resolution level.
-