Package com.luciad.format.s52
Class TLcdS52ConditionalSymbology
java.lang.Object
com.luciad.format.s52.TLcdS52ConditionalSymbology
- All Implemented Interfaces:
ILcdS52ConditionalSymbology
,ILcdS52StyleProvider
This ILcdS52ConditionalSymbology implements the S-52 conditional symbology
procedures. Procedures that are not yet supported are skipped.
In such cases, default values are used.
Before the conditional symbology can be used, an object class map, an
attribute class map, and a symbology have to be set.
The following mariner's settings can be specified:
- Safety contour (default = 30m),
- Shallow contour (default = 2m),
- Deep contour (default = 30m),
- Two shades (default = true),
- Shallow pattern (default = false),
- See Also:
-
Field Summary
Fields inherited from interface com.luciad.format.s52.ILcdS52ConditionalSymbology
BRIDGE, CLRLIN, CLRLIN01, DATCVR, DATCVR01, DAYMAR, DEPARE, DEPARE01, DEPCNT, DEPCNT02, DEPVAL, DEPVAL01, LEGLIN, LEGLIN02, LIGHTS, LIGHTS05, NOTMRK, OBSTRN, OBSTRN04, OWNSHP, OWNSHP02, PASTRK, PASTRK01, QUAPOS, QUAPOS01, RESARE, RESARE02, RESTRN, RESTRN01, SLCONS, SLCONS03, SOUNDG, SOUNDG02, SYMINS, TOPMAR, TOPMAR01, VESSEL, VESSEL01, VRMEBL, VRMEBL01, WRECKS, WRECKS02
-
Constructor Summary
ConstructorDescriptionTLcdS52ConditionalSymbology
(TLcdS52DisplaySettings aDisplaySettings) Creates a newTLcdS52ConditionalSymbology
, configured with the specified S-52 display settings. -
Method Summary
Modifier and TypeMethodDescriptionclone()
double
Returns the deep contour.Returns the S-52 display settings object, defining how the S-57 data will be rendered.getS52Style
(ILcdS57Object aShape) Returns theILcdS52Style
that should be using for vizualising the givenILcdS57Object
.Returns the symbology.Returns the attribute class map.Returns the object class map.double
Returns the safety contour.double
Returns the safety depth.double
Returns the shallow contour.boolean
Returns true if the option 'shallow pattern' is enabled.boolean
Returns true if the option 'show isolated dangers in shallow water' is enabled.boolean
Returns true if the option 'two shades' is enabled.void
setDeepContour
(double aDeepContour) Sets the deep contour.void
setS52Symbology
(ILcdS52Symbology aS52Symbology) Sets the unconditional symbology on which this conditional symbology is based.void
setS57AttributeClassMap
(ILcdS57AttributeClassMap aS57AttributeClassMap) Sets the attribute class map.void
setS57ObjectClassMap
(ILcdS57ObjectClassMap aS57ObjectClassMap) Sets the object class map.void
setSafetyContour
(double aSafetyContour) Sets the safety contour.void
setSafetyDepth
(double aSafetyDepth) Sets the safety depth.void
setShallowContour
(double aShallowContour) Sets the shallow contour.void
setShallowPattern
(boolean aShallowPattern) Enables/disables the option 'shallow pattern'.void
setShowIsolatedDangersInShallowWater
(boolean aShowIsolatedDangersInShallowWater) Enables/disables the option 'show isolated dangers in shallow water'.void
setTwoShades
(boolean aTwoShades) Enables/disables the option 'two shades'.
-
Field Details
-
DEBUG
public static final boolean DEBUG- See Also:
-
-
Constructor Details
-
TLcdS52ConditionalSymbology
public TLcdS52ConditionalSymbology() -
TLcdS52ConditionalSymbology
Creates a newTLcdS52ConditionalSymbology
, configured with the specified S-52 display settings.- Parameters:
aDisplaySettings
- the S-52 display settings to be used by this symbology.
-
-
Method Details
-
getDisplaySettings
Returns the S-52 display settings object, defining how the S-57 data will be rendered.- Returns:
- the S-52 display settings object, defining how the S-57 data will be rendered.
-
setS57ObjectClassMap
Description copied from interface:ILcdS52ConditionalSymbology
Sets the object class map.- Specified by:
setS57ObjectClassMap
in interfaceILcdS52ConditionalSymbology
-
getS57ObjectClassMap
Description copied from interface:ILcdS52ConditionalSymbology
Returns the object class map.- Specified by:
getS57ObjectClassMap
in interfaceILcdS52ConditionalSymbology
-
setS57AttributeClassMap
Description copied from interface:ILcdS52ConditionalSymbology
Sets the attribute class map.- Specified by:
setS57AttributeClassMap
in interfaceILcdS52ConditionalSymbology
-
getS57AttributeClassMap
Description copied from interface:ILcdS52ConditionalSymbology
Returns the attribute class map.- Specified by:
getS57AttributeClassMap
in interfaceILcdS52ConditionalSymbology
-
getS52Symbology
Description copied from interface:ILcdS52ConditionalSymbology
Returns the symbology.- Specified by:
getS52Symbology
in interfaceILcdS52ConditionalSymbology
-
setS52Symbology
Description copied from interface:ILcdS52ConditionalSymbology
Sets the unconditional symbology on which this conditional symbology is based.- Specified by:
setS52Symbology
in interfaceILcdS52ConditionalSymbology
-
getSafetyDepth
public double getSafetyDepth()Description copied from interface:ILcdS52ConditionalSymbology
Returns the safety depth.- Specified by:
getSafetyDepth
in interfaceILcdS52ConditionalSymbology
-
setSafetyDepth
public void setSafetyDepth(double aSafetyDepth) Description copied from interface:ILcdS52ConditionalSymbology
Sets the safety depth.- Specified by:
setSafetyDepth
in interfaceILcdS52ConditionalSymbology
-
getSafetyContour
public double getSafetyContour()Description copied from interface:ILcdS52ConditionalSymbology
Returns the safety contour.- Specified by:
getSafetyContour
in interfaceILcdS52ConditionalSymbology
-
setSafetyContour
public void setSafetyContour(double aSafetyContour) Description copied from interface:ILcdS52ConditionalSymbology
Sets the safety contour.- Specified by:
setSafetyContour
in interfaceILcdS52ConditionalSymbology
-
getShallowContour
public double getShallowContour()Description copied from interface:ILcdS52ConditionalSymbology
Returns the shallow contour.- Specified by:
getShallowContour
in interfaceILcdS52ConditionalSymbology
-
setShallowContour
public void setShallowContour(double aShallowContour) Description copied from interface:ILcdS52ConditionalSymbology
Sets the shallow contour.- Specified by:
setShallowContour
in interfaceILcdS52ConditionalSymbology
-
getDeepContour
public double getDeepContour()Description copied from interface:ILcdS52ConditionalSymbology
Returns the deep contour.- Specified by:
getDeepContour
in interfaceILcdS52ConditionalSymbology
-
setDeepContour
public void setDeepContour(double aDeepContour) Description copied from interface:ILcdS52ConditionalSymbology
Sets the deep contour.- Specified by:
setDeepContour
in interfaceILcdS52ConditionalSymbology
-
isTwoShades
public boolean isTwoShades()Description copied from interface:ILcdS52ConditionalSymbology
Returns true if the option 'two shades' is enabled.- Specified by:
isTwoShades
in interfaceILcdS52ConditionalSymbology
-
setTwoShades
public void setTwoShades(boolean aTwoShades) Description copied from interface:ILcdS52ConditionalSymbology
Enables/disables the option 'two shades'.- Specified by:
setTwoShades
in interfaceILcdS52ConditionalSymbology
-
isShallowPattern
public boolean isShallowPattern()Description copied from interface:ILcdS52ConditionalSymbology
Returns true if the option 'shallow pattern' is enabled.- Specified by:
isShallowPattern
in interfaceILcdS52ConditionalSymbology
-
setShallowPattern
public void setShallowPattern(boolean aShallowPattern) Description copied from interface:ILcdS52ConditionalSymbology
Enables/disables the option 'shallow pattern'.- Specified by:
setShallowPattern
in interfaceILcdS52ConditionalSymbology
-
isShowIsolatedDangersInShallowWater
public boolean isShowIsolatedDangersInShallowWater()Description copied from interface:ILcdS52ConditionalSymbology
Returns true if the option 'show isolated dangers in shallow water' is enabled.- Specified by:
isShowIsolatedDangersInShallowWater
in interfaceILcdS52ConditionalSymbology
-
setShowIsolatedDangersInShallowWater
public void setShowIsolatedDangersInShallowWater(boolean aShowIsolatedDangersInShallowWater) Description copied from interface:ILcdS52ConditionalSymbology
Enables/disables the option 'show isolated dangers in shallow water'.- Specified by:
setShowIsolatedDangersInShallowWater
in interfaceILcdS52ConditionalSymbology
-
getS52Style
Description copied from interface:ILcdS52StyleProvider
Returns theILcdS52Style
that should be using for vizualising the givenILcdS57Object
.- Specified by:
getS52Style
in interfaceILcdS52StyleProvider
-
clone
-