|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvIndexedSet
ilog.views.IlvManagerLayer
ilog.views.tiling.IlvTiledLayer
ilog.views.maps.format.cadrg.IlvCADRGLayer
public class IlvCADRGLayer
This class implements a CADRG layer that displays a CADRG coverage using the load-on-demand mechanism. This layer reads a CADRG coverage and loads automatically the frames that are visible in the views associated with its manager. It unloads the frames that are not visible.
IlvCADRGLayer works only with a geographic coordinate system.
IlvGeographicCoordinateSystem,
Serialized Form| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
IlvFeatureRenderer |
getImageRenderer()
Returns the feature renderer used for creating graphic objects representing the CADRG subframes. |
float |
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. |
| Methods inherited from class ilog.views.tiling.IlvTiledLayer |
|---|
computeBBox, disconnect, draw, fitTransformerToTile, fitTransformerToTile, getDebugView, getSize, getTileController, getTileLoader, ignoreView, initTileOrigin, isIgnoringView, isVisible, setDebugView, setDebugView, setManager, setSize, setTileLoader |
| Methods inherited from class ilog.views.IlvManagerLayer |
|---|
addVisibilityFilter, drawImpl, getAlpha, getIndex, getManager, getName, getNamedProperty, getProperty, getVisibilityFilters, isSelectable, isTemporarilyHidden, isVisible, print, removeNamedProperty, removeVisibilityFilter, setAlpha, setName, setNamedProperty, setProperty, writeIt |
| Methods inherited from class ilog.views.IlvIndexedSet |
|---|
addObject, afterUpdate, beforeUpdate, collectObjects, deleteAll, getCardinal, getElements, getIndex, getManagers, getManagersCount, getObject, getObject, getSubsequentRemoveThreshold, isQuadtreeEnabled, map, mapInside, mapInside, mapIntersects, mapIntersects, removeObject, setIndex, setQuadtreeEnabled, setSubsequentRemoveThreshold |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 layer
public 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 stream
IlvReadFileException - if an error occurs while reading the data.| Method Detail |
|---|
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 float getPreferredScale()
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvTiledLayerstream - the output stream
IOException - if an errors occurs while writing the data.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||