public class TLcdS52SymbologyDecoder extends Object implements ILcdInputStreamFactoryCapable
Constructor and Description |
---|
TLcdS52SymbologyDecoder()
Constructs a new
TLcdS52SymbologyDecoder . |
Modifier and Type | Method and Description |
---|---|
ILcdS52Symbology |
decodeS52Symbology(String aSourceName)
Decodes an S-52 symbology, which can be applied to render S-57 geometry.
|
ILcdS52Symbology |
decodeS52Symbology(String aSourceName,
TLcdS52DisplaySettings aDisplaySettings)
Decodes an S-52 symbology, which can be applied to render S-57 geometry.
|
ILcdInputStreamFactory |
getInputStreamFactory()
Returns the current input stream factory.
|
ILcdS57AttributeClassMap |
getS57AttributeClassMap()
Returns the attribute class map that is used by this symbology decoder.
|
ILcdS57ObjectClassMap |
getS57ObjectClassMap()
Returns the object class map that is used by this symbology decoder.
|
double |
getScaleFactor()
Returns the scale fafctor that is applied to the decoded symbols.
|
boolean |
isAntiAliasing()
Returns whether to enable anti-aliasing in the decoded S-52 symbologies or not.
|
void |
setAntiAliasing(boolean aAntiAliasing)
Configures whether the decoded S-52 symbologies should use anti-aliasing for their icons.
|
void |
setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
Sets the factory that will create input streams from which data can be
decoded.
|
void |
setS57AttributeClassMap(ILcdS57AttributeClassMap aS57AttributeClassMap)
Sets the attribute class map to be used by this symbology decoder.
|
void |
setS57ObjectClassMap(ILcdS57ObjectClassMap aS57ObjectClassMap)
Sets the object class map to be used by this symbology decoder.
|
void |
setScaleFactor(double aScaleFactor)
Sets the scale factor that is applied to the decoded symbols.
|
public TLcdS52SymbologyDecoder()
TLcdS52SymbologyDecoder
.public void setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
setInputStreamFactory
in interface ILcdInputStreamFactoryCapable
aInputStreamFactory
- the factory that creates an input stream
based on a source name.public ILcdInputStreamFactory getInputStreamFactory()
getInputStreamFactory
in interface ILcdInputStreamFactoryCapable
public void setS57ObjectClassMap(ILcdS57ObjectClassMap aS57ObjectClassMap)
aS57ObjectClassMap
- the object class map to be used by this symbology decoder.public ILcdS57ObjectClassMap getS57ObjectClassMap()
public void setS57AttributeClassMap(ILcdS57AttributeClassMap aS57AttributeClassMap)
aS57AttributeClassMap
- the attribute class map to be used by this symbology decoder.public ILcdS57AttributeClassMap getS57AttributeClassMap()
public void setScaleFactor(double aScaleFactor)
aScaleFactor
- the scale factor, expressed in pixels per mm.public double getScaleFactor()
public boolean isAntiAliasing()
setAntiAliasing(boolean)
public void setAntiAliasing(boolean aAntiAliasing)
aAntiAliasing
- flag indicating whether to enable anti-aliasing or not.isAntiAliasing()
public ILcdS52Symbology decodeS52Symbology(String aSourceName, TLcdS52DisplaySettings aDisplaySettings) throws IOException
LINESTYLES
PATTERNS
SYMBOLS
LOOKUP
DAYBRIGHT
DAYWHITEBACK
DAYBLACKBACK
DUSK
NIGHT
aSourceName
- the source name of the properties file containing the S-52 symbology
configuration.aDisplaySettings
- the S-52 display settings to be used for visualization.IOException
public ILcdS52Symbology decodeS52Symbology(String aSourceName) throws IOException
LINESTYLES
PATTERNS
SYMBOLS
LOOKUP
DAYBRIGHT
DAYWHITEBACK
DAYBLACKBACK
DUSK
NIGHT
aSourceName
- the source name of the properties file containing the S-52 symbology
configuration.IOException