public class TLcdEarthGXYLayerHeightProviderFactory extends Object implements ILcdLayerHeightProviderFactory
ILcdEarthTileSet
s
in ILcdGXYView
s. Additionally the ILcdGXYLayer
must have a TLcdEarthGXYElevationRasterPainter
as painter.
TLcdEarthHeightProviderFactory
KEY_GEO_REFERENCE
Constructor and Description |
---|
TLcdEarthGXYLayerHeightProviderFactory() |
public TLcdEarthGXYLayerHeightProviderFactory()
public ILcdHeightProvider createHeightProvider(ILcdLayer aLayer, ILcdView aView, Map<String,Object> aRequiredProperties, Map<String,Object> aOptionalProperties) throws TLcdMissingPropertyException, TLcdUnsupportedPropertyException
createTileSetHeightProvider(com.luciad.earth.tileset.ILcdEarthTileSet, com.luciad.view.gxy.ILcdGXYLayer, com.luciad.view.gxy.ILcdGXYView, com.luciad.reference.ILcdGeoReference, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)
method.createHeightProvider
in interface ILcdLayerHeightProviderFactory
aLayer
- an ILcdLayer
for which a height provider is
created.aView
- an ILcdView
in which aLayer
is
contained.aRequiredProperties
- the required properties. The properties can be retrieved using a
String
key describing the property type. When not
all required properties are used, an exception is thrown.
aRequiredProperties
may be empty but should not be
null. When a required property as used, it should always be
removed from the list of required properties. When an
ILcdHeightProvider
is actually made, the list of
required properties should be verified.aOptionalProperties
- the optional properties. The properties can be retrieved using a
String
key describing the property type. The
optional properties may or may not be used by the
implementation. aOptionalProperties
may be empty
but should not be null.null
when elevation is not
supported or when no valid height provider can be created.TLcdMissingPropertyException
- when the implementation misses a necessary property.TLcdUnsupportedPropertyException
- when a required property is not used by the
implementation.ILcdModelHeightProviderFactory
protected ILcdHeightProvider createTileSetHeightProvider(ILcdEarthTileSet aTileSet, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView, ILcdGeoReference aReference, Map<String,Object> aRequiredPropertiesSFCT, Map<String,Object> aOptionalProperties)
getGXYElevationPainter(com.luciad.earth.tileset.ILcdEarthTileSet, com.luciad.view.gxy.ILcdGXYLayer, com.luciad.view.gxy.ILcdGXYView, com.luciad.reference.ILcdGeoReference, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)
method.aTileSet
- the ILcdEarthTileSet
for which a height provider is
created.aGXYLayer
- an ILcdGXYLayer
for which a height provider is
created.aGXYView
- an ILcdGXYView
in which aLayer
is
contained.aReference
- the geographic reference of the height provider.aRequiredPropertiesSFCT
- the required properties. The properties can be retrieved using a
String
key describing the property type. When not
all required properties are used, an exception is thrown.
aRequiredProperties
may be empty but should not be
null. When a required property as used, it should always be
removed from the list of required properties. When an
ILcdHeightProvider
is actually made, the list of
required properties should be verified.aOptionalProperties
- the optional properties. The properties can be retrieved using a
String
key describing the property type. The
optional properties may or may not be used by the
implementation. aOptionalProperties
may be empty
but should not be null.null
when elevation is not
supported or when no valid height provider can be created.getGXYElevationPainter(com.luciad.earth.tileset.ILcdEarthTileSet, com.luciad.view.gxy.ILcdGXYLayer, com.luciad.view.gxy.ILcdGXYView, com.luciad.reference.ILcdGeoReference, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)
protected TLcdEarthGXYElevationRasterPainter getGXYElevationPainter(ILcdEarthTileSet aTileSet, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView, ILcdGeoReference aReference, Map<String,Object> aRequiredPropertiesSFCT, Map<String,Object> aOptionalProperties)
TLcdGXYLayer
with
a TLcdEarthGXYElevationRasterPainter
as one of its painter providers or null
otherwise.
This method can be overridden to retrieve the elevation painter from a layer that is not supported
by the default implementation.aTileSet
- the ILcdEarthTileSet
for which a height provider is
created.aGXYLayer
- an ILcdGXYLayer
for which a height provider is
created.aGXYView
- an ILcdGXYView
in which aLayer
is
contained.aReference
- the geographic reference of the height provider.aRequiredPropertiesSFCT
- the required properties. The properties can be retrieved using a
String
key describing the property type. When not
all required properties are used, an exception is thrown.
aRequiredProperties
may be empty but should not be
null. When a required property as used, it should always be
removed from the list of required properties. When an
ILcdHeightProvider
is actually made, the list of
required properties should be verified.aOptionalProperties
- the optional properties. The properties can be retrieved using a
String
key describing the property type. The
optional properties may or may not be used by the
implementation. aOptionalProperties
may be empty
but should not be null.null
when none is available.TLcdGXYLayer.getGXYPainterProviderArray()