Package com.bc.ceres.glevel.support
Class FileMultiLevelSource
java.lang.Object
com.bc.ceres.glevel.support.AbstractMultiLevelSource
com.bc.ceres.glevel.support.FileMultiLevelSource
- All Implemented Interfaces:
MultiLevelSource
Deprecated.
A file based image pyramid. For each level an image file named
<basename>.<level>.<extension> is ecpected to exist in
the directory given by location.- Since:
- BEAM 4.6
- Version:
- $Revision$ $Date$
-
Field Summary
Fields inherited from interface com.bc.ceres.glevel.MultiLevelSource
NULL -
Constructor Summary
ConstructorsConstructorDescriptionFileMultiLevelSource(File location, String basename, String extension, MultiLevelModel multiLevelModel) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileMultiLevelSourcecreate(File location, String extension, AffineTransform imageToModelTransform, int levelCount) Deprecated.createImage(int level) Deprecated.Called byAbstractMultiLevelSource.getImage(int)if a level image is requested for the first time.Deprecated.Deprecated.Deprecated.Methods inherited from class com.bc.ceres.glevel.support.AbstractMultiLevelSource
checkLevel, getImage, getImageShape, getModel, reset
-
Constructor Details
-
FileMultiLevelSource
public FileMultiLevelSource(File location, String basename, String extension, MultiLevelModel multiLevelModel) Deprecated.
-
-
Method Details
-
getLocation
Deprecated. -
getBasename
Deprecated. -
getExtension
Deprecated. -
createImage
Deprecated.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.
-
create
public static FileMultiLevelSource create(File location, String extension, AffineTransform imageToModelTransform, int levelCount) Deprecated.
-