Class TLcdSLDShadedRelief
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.TLcdSLDShadedRelief(boolean aIsBrightnessOnly, double aReliefFactor) Constructor for given parameters.TLcdSLDShadedRelief(TLcdDataType aDataType) Empty constructor. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of the property that maps to theReliefFactorelement.booleanReturns the value of the property that maps to theBrightnessOnlyelement.voidsetBrightnessOnly(boolean aValue) Sets the value of the property that maps to theBrightnessOnlyelement.voidsetReliefFactor(double aValue) Sets the value of the property that maps to theReliefFactorelement.
-
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 theBrightnessOnlyelement.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_PROPERTYproperty.
-
setBrightnessOnly
public void setBrightnessOnly(boolean aValue) Sets the value of the property that maps to theBrightnessOnlyelement.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_PROPERTYproperty.
-
getReliefFactor
public double getReliefFactor()Returns the value of the property that maps to theReliefFactorelement.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_PROPERTYproperty.
-
setReliefFactor
public void setReliefFactor(double aValue) Sets the value of the property that maps to theReliefFactorelement.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_PROPERTYproperty.
-