public static interface TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory
A factory that can create an ILspLayer
equivalent of a given ILcdGXYLayer
.
It is up to the implementor of this factory to keep the style of the ILspLayer
in
sync with the provided ILcdGXYLayer
.
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateLayer(ILcdGXYLayer aLayer)
Determines whether or not this layer factory is capable of creating an
ILspLayer
equivalent of the given ILcdGXYLayer . |
ILspLayer |
createLayer(ILcdGXYLayer aLayer)
Creates an
ILspLayer equivalent of the given ILcdGXYLayer . |
boolean canCreateLayer(ILcdGXYLayer aLayer)
ILspLayer
equivalent of the given ILcdGXYLayer
. If this method returns false, the result of
calling createLayer(ILcdGXYLayer)
with the same argument is undefined.aLayer
- the ILcdGXYLayer
for which an ILspLayer
equivalent should be createdILspLayer createLayer(ILcdGXYLayer aLayer)
Creates an ILspLayer
equivalent of the given ILcdGXYLayer
. The layer must
have a valid ILcdModelXYZWorldTransformation
to be usable by the view. Note that this
method should not be called if canCreateLayer(ILcdGXYLayer)
returns false; the
results are undefined in this case.
Additionally, the style of the created Lightspeed layer should be kept in sync with the
style of aLayer
: if the style of aLayer
changes, the style of the returned
Lightspeed layer should be updated as well. Note that aLayer
should not be updated if
the style of the returned Lightspeed layer has changed.
aLayer
- the ILcdGXYLayer
for which an ILspLayer
equivalent should be createdILcdGXYLayer