public static final class TLfnRasterAssetMetadata.TileSetStructure extends Object
ILcdEarthTileSet
.
It has:
null
, tiles will be loaded as BufferedImage
.
If not null
, it should indicate a MIME type.
If this MIME type matches the coverage's tile format, fusion will copy the raw tile data.
0
.
The same values apply to the whole tile set.
0
.
Ideally, also the tile format of the coverage matches that of its asset, in which case the raw tile data can be copied without ever having to make images. If this is not the case, tile set fusion still loads tiles directly from the asset's tile set, but the image data of a tile is decoded and re-encoded in the coverage's tile format.
ILcdEarthTileSet
Constructor and Description |
---|
TileSetStructure(String aTileFormat,
int aTileWidth,
int aTileHeight,
int aLevelCount,
long aLevel0RowCount,
long aLevel0ColumnCount)
Constructs a new tile set structure.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject) |
long |
getLevel0ColumnCount()
Gets the number of columns at level 0.
|
long |
getLevel0RowCount()
Gets the number of rows at level 0.
|
int |
getLevelCount()
Gets the level count of the tile pyramid.
|
String |
getTileFormat()
Gets the tile format, possible
null . |
int |
getTileHeight()
Gets the tile height.
|
int |
getTileWidth()
Gets the tile width.
|
int |
hashCode() |
public TileSetStructure(String aTileFormat, int aTileWidth, int aTileHeight, int aLevelCount, long aLevel0RowCount, long aLevel0ColumnCount)
aTileFormat
- the raw tile format as a MIME type, or null
if the tile set does not support raw tilesaTileWidth
- a tile width, which must be >= 0
aTileHeight
- a tile height, which must be >= 0
aLevelCount
- a level count, which must be >= {code 0}aLevel0RowCount
- the # rows at level 0, which must be >= 0
aLevel0ColumnCount
- the # columns at level 0, which must be >= 0
public int getLevelCount()
There is no corresponding coverage parameter.
public long getLevel0RowCount()
The corresponding coverage parameter is ALfnCoverageMetadata.getLevel0RowCount()
.
public long getLevel0ColumnCount()
The corresponding coverage parameter is ALfnCoverageMetadata.getLevel0ColumnCount()
.
public int getTileWidth()
The corresponding coverage parameter is TLfnRasterCoverageMetadata.getTileWidth()
.
public int getTileHeight()
The corresponding coverage parameter is TLfnRasterCoverageMetadata.getTileHeight()
.
public String getTileFormat()
null
.
The tile format the MIME type of the raw tile data.
When it is null
, it means that the tile set does not support retrieval of the raw tile data;
in that case, tile data is assumed to be retrieved as TLcdEarthTileFormat(BufferedImage.class)
.
The corresponding coverage parameter is ALfnCoverageMetadata.getFormat()
.
null
to indicate that the tile set does not
support retrieval of the raw tile data