Package org.esa.snap.core.image
Class LevelImageSupport
- java.lang.Object
-
- org.esa.snap.core.image.LevelImageSupport
-
- Direct Known Subclasses:
ImageReadBoundsSupport
public class LevelImageSupport extends Object
Supports the development of images, which are returned by implementations of theMultiLevelSource
interface.
-
-
Constructor Summary
Constructors Constructor Description LevelImageSupport(int sourceWidth, int sourceHeight, int level, double scale)
LevelImageSupport(int sourceWidth, int sourceHeight, ResolutionLevel level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLevel()
double
getScale()
int
getSourceCoord(double destCoord, int min, int max)
int
getSourceHeight()
int
getSourceHeight(int destHeight)
Rectangle
getSourceRectangle(Rectangle destRect)
int
getSourceWidth()
int
getSourceWidth(int destWidth)
int
getSourceX(int tx)
int
getSourceY(int ty)
-
-
-
Constructor Detail
-
LevelImageSupport
public LevelImageSupport(int sourceWidth, int sourceHeight, ResolutionLevel level)
-
LevelImageSupport
public LevelImageSupport(int sourceWidth, int sourceHeight, int level, double scale)
-
-
Method Detail
-
getSourceWidth
public int getSourceWidth()
-
getSourceHeight
public int getSourceHeight()
-
getLevel
public int getLevel()
-
getScale
public double getScale()
-
getSourceX
public final int getSourceX(int tx)
-
getSourceY
public final int getSourceY(int ty)
-
getSourceWidth
public final int getSourceWidth(int destWidth)
-
getSourceHeight
public final int getSourceHeight(int destHeight)
-
getSourceCoord
public final int getSourceCoord(double destCoord, int min, int max)
-
-