Package com.luciad.imaging
Class TLcdImageMosaicBuilder
java.lang.Object
com.luciad.imaging.TLcdImageMosaicBuilder
Builder for creating
ALcdImageMosaic
or
ALcdMultilevelImageMosaic
instances.
Mosaics can only be created from one or more ALcdBasicImage
.
You can find the other available builders on com.luciad.imaging
.- Since:
- 2015.0
-
Method Summary
Modifier and TypeMethodDescriptionbounds
(ILcdBounds aBounds) Set the mosaic bounds.Create a newALcdImageMosaic
with the currently defined properties.Create a newALcdImageMosaic
with the currently defined properties.columnCount
(int aLevel, int aColumnCount) Sets the column count for a level.imageReference
(ILcdModelReference aImageReference) Set the mosaic reference.levelCount
(int aCount) Sets the level count.levelRelationship
(ELcdLevelRelationship aLevelRelationship) Set the level relationship.static TLcdImageMosaicBuilder
Create a new mosaic builder.rowCount
(int aLevel, int aRowCount) Sets the row count for a level.samplingMode
(ELcdImageSamplingMode aSamplingMode) Set the mosaic sampling mode.semantics
(List<ALcdBandSemantics> aSemantics) Set the mosaic band semantics.tile
(ALcdBasicImage aImage, int aTileX, int aTileY) Add a tile to be used in the mosaic.tile
(ALcdBasicImage aImage, int aLevel, int aTileX, int aTileY) Add a tile to be used in the mosaic.tileGridBounds
(int aLevel, ILcdBounds aTileGridBounds) Sets the bounds for the tile grid of this mosaic.
-
Method Details
-
newBuilder
Create a new mosaic builder.- Returns:
- a new builder instance
-
buildMultiLevelMosaic
Create a newALcdImageMosaic
with the currently defined properties. To create a new multilevel mosaic, a number of conditions must be met:- At least one
ALcdBasicImage
for each level must be set. Intermediate levels with no tiles are not allowed. - The level relationship must be set.
- The semantics need to be set.
- Returns:
- a new multilevel mosaic
- At least one
-
buildImageMosaic
Create a newALcdImageMosaic
with the currently defined properties. To create a new mosaic, a number of conditions must be met:- At least one
ALcdBasicImage
must be set. - The semantics need to be set.
- Returns:
- a new mosaic
- At least one
-
tile
Add a tile to be used in the mosaic. The tile will always be added at level 0.- Parameters:
aImage
- the tile to be added to the mosaicaTileX
- the X coordinate of the tileaTileY
- the Y coordinate of the tile- Returns:
- this builder
-
tile
Add a tile to be used in the mosaic.- Parameters:
aImage
- the tile to be added to the mosaicaLevel
- the level on which this tile is to be usedaTileX
- the X coordinate of the tileaTileY
- the Y coordinate of the tile- Returns:
- this builder
-
levelCount
Sets the level count.- Parameters:
aCount
- the level count- Returns:
- this builder
-
rowCount
Sets the row count for a level.- Parameters:
aLevel
- the levelaRowCount
- the row count- Returns:
- this builder
-
columnCount
Sets the column count for a level.- Parameters:
aLevel
- the levelaColumnCount
- the column count- Returns:
- this builder
-
bounds
Set the mosaic bounds.- Parameters:
aBounds
- the bounds- Returns:
- this builder
-
imageReference
Set the mosaic reference.- Parameters:
aImageReference
- the mosaic reference- Returns:
- this builder
-
semantics
Set the mosaic band semantics.- Parameters:
aSemantics
- the band semantics- Returns:
- this builder
-
samplingMode
Set the mosaic sampling mode. The default value isELcdImageSamplingMode.AREA
.- Parameters:
aSamplingMode
- the sampling mode- Returns:
- this builder
-
tileGridBounds
Sets the bounds for the tile grid of this mosaic. By default these are equal to the mosaic bounds.- Parameters:
aLevel
- the level to which these bounds apply.aTileGridBounds
- the bounds- Returns:
- this builder
- See Also:
-
levelRelationship
Set the level relationship.- Parameters:
aLevelRelationship
- the level relationship- Returns:
- this builder
-