public class IlvCADRGLayer extends IlvTiledLayer
IlvCADRGLayer
works only with a geographic coordinate system.
IlvGeographicCoordinateSystem
,
Serialized FormConstructor and Description |
---|
IlvCADRGLayer(IlvCADRGCoverage coverage)
Creates an instance of
IlvCADRGLayer . |
IlvCADRGLayer(IlvCADRGCoverage coverage,
IlvTileCache cache)
Creates an instance of
IlvCADRGLayer . |
IlvCADRGLayer(IlvInputStream stream)
Reads the layer from the specified input stream.
|
Modifier and Type | Method and Description |
---|---|
IlvFeatureRenderer |
getImageRenderer()
Returns the feature renderer used for creating graphic objects representing
the CADRG subframes.
|
double |
getPreferredScale()
Returns the scale at which a pixel on the screen corresponds to
a pixel on a CADRG image.
|
boolean |
isTransparencyEnabled()
Returns
true if the frame reader creates transparent pixels. |
void |
setImageRenderer(IlvFeatureRenderer renderer)
Sets the feature renderer used for creating graphic objects
representing the CADRG subframes.
|
void |
setTransparencyEnabled(boolean transparency)
If
true , the CADRG frame reader creates transparent pixels. |
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
computeBBox, disconnect, draw, fitTransformerToTile, fitTransformerToTile, getDebugView, getSize, getTileController, getTileLoader, ignoreView, initTileOrigin, isIgnoringView, isVisible, setDebugView, setDebugView, setManager, setSize, setTileLoader
addVisibilityFilter, drawImpl, getAlpha, getIndex, getManager, getName, getNamedProperty, getProperty, getVisibilityFilters, isSelectable, isTemporarilyHidden, isVisible, print, removeNamedProperty, removeVisibilityFilter, setAlpha, setName, setNamedProperty, setProperty, writeIt
addObject, afterUpdate, beforeUpdate, collectObjects, collectSelectableObjects, deleteAll, getCardinal, getElements, getIndex, getManagers, getManagersCount, getObject, getObject, getSelectableObject, getSubsequentRemoveThreshold, isQuadtreeEnabled, isZOrdering, map, mapInside, mapInside, mapIntersects, mapIntersects, removeObject, setIndex, SetInitialNumberOfNonZoomablesCapacity, SetInitialNumberOfObjectsCapacity, setQuadtreeEnabled, setSubsequentRemoveThreshold, setZOrdering
public IlvCADRGLayer(IlvCADRGCoverage coverage)
IlvCADRGLayer
. This constructor uses a cache
that will be shared by all the IlvCADRGLayer
instances initialized
by means of this default constructor.coverage
- The coverage of the layerpublic IlvCADRGLayer(IlvCADRGCoverage coverage, IlvTileCache cache)
IlvCADRGLayer
.coverage
- The coverage of the layercache
- The cache managing the release operations for the
unused frames.public IlvCADRGLayer(IlvInputStream stream) throws IlvReadFileException
stream
- The input streamIlvReadFileException
- if an error occurs while reading the data.public void setTransparencyEnabled(boolean transparency)
true
, the CADRG frame reader creates transparent pixels.public boolean isTransparencyEnabled()
true
if the frame reader creates transparent pixels.public void setImageRenderer(IlvFeatureRenderer renderer)
IlvMapImage
geometry.renderer
- The feature renderer to be usedpublic IlvFeatureRenderer getImageRenderer()
IlvDefaultImageRenderer
.public double getPreferredScale()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
write
in class IlvTiledLayer
stream
- the output streamIOException
- if an errors occurs while writing the data.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.