Class TLcdSLDShadedRelief
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
-
Constructor Summary
ConstructorDescriptionEmpty constructor.TLcdSLDShadedRelief
(boolean aIsBrightnessOnly, double aReliefFactor) Constructor for given parameters.TLcdSLDShadedRelief
(TLcdDataType aDataType) Empty constructor. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the property that maps to theReliefFactor
element.boolean
Returns the value of the property that maps to theBrightnessOnly
element.void
setBrightnessOnly
(boolean aValue) Sets the value of the property that maps to theBrightnessOnly
element.void
setReliefFactor
(double aValue) Sets the value of the property that maps to theReliefFactor
element.
-
Constructor Details
-
TLcdSLDShadedRelief
public TLcdSLDShadedRelief()Empty constructor. -
TLcdSLDShadedRelief
public TLcdSLDShadedRelief(boolean aIsBrightnessOnly, double aReliefFactor) Constructor for given parameters.- Parameters:
aIsBrightnessOnly
- the given brightness only flag.aReliefFactor
- the given relief factor.
-
TLcdSLDShadedRelief
Empty constructor.
-
-
Method Details
-
isBrightnessOnly
public boolean isBrightnessOnly()Returns the value of the property that maps to theBrightnessOnly
element.If the BrightnessOnly flag is false, the shading is applied to the layer being rendered as the current RasterSymbol. If BrightnessOnly is true, the shading is applied to the brightness of the colors in the rendering canvas generated so far by other layers, with the effect of relief-shading these other layers. The default for BrightnessOnly is false.
- Returns:
- the value of the
BRIGHTNESS_ONLY_PROPERTY
property.
-
setBrightnessOnly
public void setBrightnessOnly(boolean aValue) Sets the value of the property that maps to theBrightnessOnly
element.If the BrightnessOnly flag is false, the shading is applied to the layer being rendered as the current RasterSymbol. If BrightnessOnly is true, the shading is applied to the brightness of the colors in the rendering canvas generated so far by other layers, with the effect of relief-shading these other layers. The default for BrightnessOnly is false.
- Parameters:
aValue
- the value to set for theBRIGHTNESS_ONLY_PROPERTY
property.
-
getReliefFactor
public double getReliefFactor()Returns the value of the property that maps to theReliefFactor
element.The ReliefFactor gives the amount of exaggeration to use for the height of the "hills". Default value is 55 (as stated in the standard).
- Returns:
- the value of the
RELIEF_FACTOR_PROPERTY
property.
-
setReliefFactor
public void setReliefFactor(double aValue) Sets the value of the property that maps to theReliefFactor
element.The ReliefFactor gives the amount of exaggeration to use for the height of the "hills". Default value is 55 (as stated in the standard).
- Parameters:
aValue
- the value to set for theRELIEF_FACTOR_PROPERTY
property.
-