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
FieldsFields 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
ConstructorsConstructorDescriptionTLcdS52ConditionalSymbology(TLcdS52DisplaySettings aDisplaySettings) Creates a newTLcdS52ConditionalSymbology, configured with the specified S-52 display settings. -
Method Summary
Modifier and TypeMethodDescriptionclone()doubleReturns the deep contour.Returns the S-52 display settings object, defining how the S-57 data will be rendered.getS52Style(ILcdS57Object aShape) Returns theILcdS52Stylethat should be using for vizualising the givenILcdS57Object.Returns the symbology.Returns the attribute class map.Returns the object class map.doubleReturns the safety contour.doubleReturns the safety depth.doubleReturns the shallow contour.booleanReturns true if the option 'shallow pattern' is enabled.booleanReturns true if the option 'show isolated dangers in shallow water' is enabled.booleanReturns true if the option 'two shades' is enabled.voidsetDeepContour(double aDeepContour) Sets the deep contour.voidsetS52Symbology(ILcdS52Symbology aS52Symbology) Sets the unconditional symbology on which this conditional symbology is based.voidsetS57AttributeClassMap(ILcdS57AttributeClassMap aS57AttributeClassMap) Sets the attribute class map.voidsetS57ObjectClassMap(ILcdS57ObjectClassMap aS57ObjectClassMap) Sets the object class map.voidsetSafetyContour(double aSafetyContour) Sets the safety contour.voidsetSafetyDepth(double aSafetyDepth) Sets the safety depth.voidsetShallowContour(double aShallowContour) Sets the shallow contour.voidsetShallowPattern(boolean aShallowPattern) Enables/disables the option 'shallow pattern'.voidsetShowIsolatedDangersInShallowWater(boolean aShowIsolatedDangersInShallowWater) Enables/disables the option 'show isolated dangers in shallow water'.voidsetTwoShades(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:ILcdS52ConditionalSymbologySets the object class map.- Specified by:
setS57ObjectClassMapin interfaceILcdS52ConditionalSymbology
-
getS57ObjectClassMap
Description copied from interface:ILcdS52ConditionalSymbologyReturns the object class map.- Specified by:
getS57ObjectClassMapin interfaceILcdS52ConditionalSymbology
-
setS57AttributeClassMap
Description copied from interface:ILcdS52ConditionalSymbologySets the attribute class map.- Specified by:
setS57AttributeClassMapin interfaceILcdS52ConditionalSymbology
-
getS57AttributeClassMap
Description copied from interface:ILcdS52ConditionalSymbologyReturns the attribute class map.- Specified by:
getS57AttributeClassMapin interfaceILcdS52ConditionalSymbology
-
getS52Symbology
Description copied from interface:ILcdS52ConditionalSymbologyReturns the symbology.- Specified by:
getS52Symbologyin interfaceILcdS52ConditionalSymbology
-
setS52Symbology
Description copied from interface:ILcdS52ConditionalSymbologySets the unconditional symbology on which this conditional symbology is based.- Specified by:
setS52Symbologyin interfaceILcdS52ConditionalSymbology
-
getSafetyDepth
public double getSafetyDepth()Description copied from interface:ILcdS52ConditionalSymbologyReturns the safety depth.- Specified by:
getSafetyDepthin interfaceILcdS52ConditionalSymbology
-
setSafetyDepth
public void setSafetyDepth(double aSafetyDepth) Description copied from interface:ILcdS52ConditionalSymbologySets the safety depth.- Specified by:
setSafetyDepthin interfaceILcdS52ConditionalSymbology
-
getSafetyContour
public double getSafetyContour()Description copied from interface:ILcdS52ConditionalSymbologyReturns the safety contour.- Specified by:
getSafetyContourin interfaceILcdS52ConditionalSymbology
-
setSafetyContour
public void setSafetyContour(double aSafetyContour) Description copied from interface:ILcdS52ConditionalSymbologySets the safety contour.- Specified by:
setSafetyContourin interfaceILcdS52ConditionalSymbology
-
getShallowContour
public double getShallowContour()Description copied from interface:ILcdS52ConditionalSymbologyReturns the shallow contour.- Specified by:
getShallowContourin interfaceILcdS52ConditionalSymbology
-
setShallowContour
public void setShallowContour(double aShallowContour) Description copied from interface:ILcdS52ConditionalSymbologySets the shallow contour.- Specified by:
setShallowContourin interfaceILcdS52ConditionalSymbology
-
getDeepContour
public double getDeepContour()Description copied from interface:ILcdS52ConditionalSymbologyReturns the deep contour.- Specified by:
getDeepContourin interfaceILcdS52ConditionalSymbology
-
setDeepContour
public void setDeepContour(double aDeepContour) Description copied from interface:ILcdS52ConditionalSymbologySets the deep contour.- Specified by:
setDeepContourin interfaceILcdS52ConditionalSymbology
-
isTwoShades
public boolean isTwoShades()Description copied from interface:ILcdS52ConditionalSymbologyReturns true if the option 'two shades' is enabled.- Specified by:
isTwoShadesin interfaceILcdS52ConditionalSymbology
-
setTwoShades
public void setTwoShades(boolean aTwoShades) Description copied from interface:ILcdS52ConditionalSymbologyEnables/disables the option 'two shades'.- Specified by:
setTwoShadesin interfaceILcdS52ConditionalSymbology
-
isShallowPattern
public boolean isShallowPattern()Description copied from interface:ILcdS52ConditionalSymbologyReturns true if the option 'shallow pattern' is enabled.- Specified by:
isShallowPatternin interfaceILcdS52ConditionalSymbology
-
setShallowPattern
public void setShallowPattern(boolean aShallowPattern) Description copied from interface:ILcdS52ConditionalSymbologyEnables/disables the option 'shallow pattern'.- Specified by:
setShallowPatternin interfaceILcdS52ConditionalSymbology
-
isShowIsolatedDangersInShallowWater
public boolean isShowIsolatedDangersInShallowWater()Description copied from interface:ILcdS52ConditionalSymbologyReturns true if the option 'show isolated dangers in shallow water' is enabled.- Specified by:
isShowIsolatedDangersInShallowWaterin interfaceILcdS52ConditionalSymbology
-
setShowIsolatedDangersInShallowWater
public void setShowIsolatedDangersInShallowWater(boolean aShowIsolatedDangersInShallowWater) Description copied from interface:ILcdS52ConditionalSymbologyEnables/disables the option 'show isolated dangers in shallow water'.- Specified by:
setShowIsolatedDangersInShallowWaterin interfaceILcdS52ConditionalSymbology
-
getS52Style
Description copied from interface:ILcdS52StyleProviderReturns theILcdS52Stylethat should be using for vizualising the givenILcdS57Object.- Specified by:
getS52Stylein interfaceILcdS52StyleProvider
-
clone
-