public class TLcdS52ProductConfiguration extends Object
Use getInstance(com.luciad.format.s57.ELcdS57ProductType)
to obtain the S-52 product configuration of a product type.
Modifier and Type | Method and Description |
---|---|
ILcdGXYLayerFactory |
createGXYLayerFactory(TLcdS52DisplaySettings aDisplaySettings)
Creates an
ILcdGXYLayerFactory capable of creating S-52 compliant layers for S-57
cells
and catalogues. |
TLcdS52GXYPainterProvider |
createGXYPainterProvider(TLcdS52DisplaySettings aDisplaySettings)
Creates a new S-52 painter provide for this product type, configured with the specified S-52
display settings.
|
TLcdS52ModelListBuilder |
createModelListBuilder(TLcdS52DisplaySettings aDisplaySettings)
Deprecated.
It is no longer needed to order the model elements before visualising them. The
layer factories accept models decoded by the model decoders as well. In GXY you
can
still use the ordered model. Lightspeed
only supports models that come straight from the model decoder.
|
ILcdModelDecoder |
createOrderedModelDecoder(ILcdModelDecoder aS57ModelDecoder,
TLcdS52DisplaySettings aDisplaySettings)
Deprecated.
It is no longer needed to order the model elements before visualising them. The
layer factories accept models decoded by the model decoders as well. In GXY you
can
still use the ordered model. Lightspeed
only supports models that come straight from the model decoder. Consult the
developer guide for more information.
|
ILcdS52Symbology |
createSymbology(TLcdS52DisplaySettings aDisplaySettings)
Creates a new S-52 symbology for this product type, configured with the specified S-52
display settings.
|
static TLcdS52ProductConfiguration |
getInstance(ELcdS57ProductType aProductType)
Get a S-52 product configuration for the specified S-57 product type.
|
static TLcdS52ProductConfiguration |
getInstance(ELcdS57ProductType aProductType,
boolean aAntiAliasing)
Get a S-52 product configuration for the specified S-57 product type and anti-aliasing
setting.
|
static TLcdS52ProductConfiguration |
getInstance(ELcdS57ProductType aProductType,
boolean aAntiAliasing,
double aScaleFactor)
Get a S-52 product configuration for the specified S-57 product type, anti-aliasing setting
and
scale factor.
|
static TLcdS52ProductConfiguration |
newInstance(ELcdS57ProductType aProductType)
Deprecated.
Since the returned instance is immutable, you can use
getInstance(com.luciad.format.s57.ELcdS57ProductType) instead
(since 2013.1) |
static TLcdS52ProductConfiguration |
newInstance(ELcdS57ProductType aProductType,
boolean aAntiAliasing)
Deprecated.
Since the returned instance is immutable, you can use
getInstance(com.luciad.format.s57.ELcdS57ProductType) instead
(since 2013.1) |
public static TLcdS52ProductConfiguration newInstance(ELcdS57ProductType aProductType) throws IOException
getInstance(com.luciad.format.s57.ELcdS57ProductType)
instead
(since 2013.1)aProductType
- an S-57 product type.IOException
- if an I/O exception occurs during loading of the resources for the
specified product type.public static TLcdS52ProductConfiguration newInstance(ELcdS57ProductType aProductType, boolean aAntiAliasing) throws IOException
getInstance(com.luciad.format.s57.ELcdS57ProductType)
instead
(since 2013.1)aProductType
- an S-57 product type.aAntiAliasing
- indicates whether the S-52 symbologies created by this configuration should use
anti-aliasing or not. Anti-aliasing results in smoother icons and lines, but may
be slightly slower in rendering.IOException
- if an I/O exception occurs during loading of the resources for the
specified product type.public static TLcdS52ProductConfiguration getInstance(ELcdS57ProductType aProductType)
Anti-aliasing is enabled, and a default scale factor of 3 will be used.
aProductType
- an S-57 product type.IllegalStateException
- If an error occurred while loading the product type's resources.public static TLcdS52ProductConfiguration getInstance(ELcdS57ProductType aProductType, boolean aAntiAliasing)
A default scale factor of 3 will be used.
aProductType
- an S-57 product type.aAntiAliasing
- anti-aliasing on or offIllegalStateException
- If an error occurred while loading the product type's resources.public static TLcdS52ProductConfiguration getInstance(ELcdS57ProductType aProductType, boolean aAntiAliasing, double aScaleFactor)
aProductType
- an S-57 product type.aAntiAliasing
- anti-aliasing on or offaScaleFactor
- a scale factor in pixels per mm.IllegalStateException
- If an error occurred while loading the product type's resources.public ILcdS52Symbology createSymbology(TLcdS52DisplaySettings aDisplaySettings)
aDisplaySettings
- the S-52 display settings to be used by the created symbology.public TLcdS52ModelListBuilder createModelListBuilder(TLcdS52DisplaySettings aDisplaySettings)
aDisplaySettings
- the S-52 display settings to be used by the created model list
builder.public TLcdS52GXYPainterProvider createGXYPainterProvider(TLcdS52DisplaySettings aDisplaySettings)
aDisplaySettings
- the S-52 display settings to be used by the created symbology.public ILcdGXYLayerFactory createGXYLayerFactory(TLcdS52DisplaySettings aDisplaySettings)
Creates an ILcdGXYLayerFactory
capable of creating S-52 compliant layers for S-57
cells
and catalogues.
aDisplaySettings
- the S-52 display settings to be used by the created layers.public ILcdModelDecoder createOrderedModelDecoder(ILcdModelDecoder aS57ModelDecoder, TLcdS52DisplaySettings aDisplaySettings)
aS57ModelDecoder
- the S-57 model decoder to be wrapped; this can be a cell or a
catalogue decoder.aDisplaySettings
- the S-52 display settings to be used for determining the display
priority of the S-57 domain objects.