public class TLcdImageMosaicBuilder extends Object
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
.Modifier and Type | Method and Description |
---|---|
TLcdImageMosaicBuilder |
bounds(ILcdBounds aBounds)
Set the mosaic bounds.
|
ALcdImageMosaic |
buildImageMosaic()
Create a new
ALcdImageMosaic with the currently defined properties. |
ALcdMultilevelImageMosaic |
buildMultiLevelMosaic()
Create a new
ALcdImageMosaic with the currently defined properties. |
TLcdImageMosaicBuilder |
columnCount(int aLevel,
int aColumnCount)
Sets the column count for a level.
|
TLcdImageMosaicBuilder |
imageReference(ILcdModelReference aImageReference)
Set the mosaic reference.
|
TLcdImageMosaicBuilder |
levelCount(int aCount)
Sets the level count.
|
TLcdImageMosaicBuilder |
levelRelationship(ELcdLevelRelationship aLevelRelationship)
Set the level relationship.
|
static TLcdImageMosaicBuilder |
newBuilder()
Create a new mosaic builder.
|
TLcdImageMosaicBuilder |
rowCount(int aLevel,
int aRowCount)
Sets the row count for a level.
|
TLcdImageMosaicBuilder |
samplingMode(ELcdImageSamplingMode aSamplingMode)
Set the mosaic sampling mode.
|
TLcdImageMosaicBuilder |
semantics(List<ALcdBandSemantics> aSemantics)
Set the mosaic band semantics.
|
TLcdImageMosaicBuilder |
tile(ALcdBasicImage aImage,
int aTileX,
int aTileY)
Add a tile to be used in the mosaic.
|
TLcdImageMosaicBuilder |
tile(ALcdBasicImage aImage,
int aLevel,
int aTileX,
int aTileY)
Add a tile to be used in the mosaic.
|
TLcdImageMosaicBuilder |
tileGridBounds(int aLevel,
ILcdBounds aTileGridBounds)
Sets the bounds for the tile grid of this mosaic.
|
public static TLcdImageMosaicBuilder newBuilder()
public ALcdMultilevelImageMosaic buildMultiLevelMosaic()
ALcdImageMosaic
with the currently defined properties.
To create a new multilevel mosaic, a number of conditions must be met:
ALcdBasicImage
for each level must be set.
Intermediate levels with no tiles are not allowed.
public ALcdImageMosaic buildImageMosaic()
ALcdImageMosaic
with the currently defined properties.
To create a new mosaic, a number of conditions must be met:
ALcdBasicImage
must be set.public TLcdImageMosaicBuilder tile(ALcdBasicImage aImage, int aTileX, int aTileY)
aImage
- the tile to be added to the mosaicaTileX
- the X coordinate of the tileaTileY
- the Y coordinate of the tilepublic TLcdImageMosaicBuilder tile(ALcdBasicImage aImage, int aLevel, int aTileX, int aTileY)
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 tilepublic TLcdImageMosaicBuilder levelCount(int aCount)
aCount
- the level countpublic TLcdImageMosaicBuilder rowCount(int aLevel, int aRowCount)
aLevel
- the levelaRowCount
- the row countpublic TLcdImageMosaicBuilder columnCount(int aLevel, int aColumnCount)
aLevel
- the levelaColumnCount
- the column countpublic TLcdImageMosaicBuilder bounds(ILcdBounds aBounds)
aBounds
- the boundspublic TLcdImageMosaicBuilder imageReference(ILcdModelReference aImageReference)
aImageReference
- the mosaic referencepublic TLcdImageMosaicBuilder semantics(List<ALcdBandSemantics> aSemantics)
aSemantics
- the band semanticspublic TLcdImageMosaicBuilder samplingMode(ELcdImageSamplingMode aSamplingMode)
ELcdImageSamplingMode.AREA
.aSamplingMode
- the sampling modepublic TLcdImageMosaicBuilder tileGridBounds(int aLevel, ILcdBounds aTileGridBounds)
aLevel
- the level to which these bounds apply.aTileGridBounds
- the boundsALcdImageMosaic.Configuration.getTileGridBounds()
public TLcdImageMosaicBuilder levelRelationship(ELcdLevelRelationship aLevelRelationship)
aLevelRelationship
- the level relationship