Package org.geotools.styling
Class ShadedReliefImpl
Object
ShadedReliefImpl
- All Implemented Interfaces:
ShadedRelief
Default implementation of ShadedRelief.
- Author:
- iant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(StyleVisitor visitor) accept(TraversingStyleVisitor visitor, Object data) calls the visit method of a StyleVisitorbooleanThe ReliefFactor gives the amount of exaggeration to use for the height of the ?inthashCode()booleanindicates if brightnessOnly is true or false.voidsetBrightnessOnly(boolean flag) turns brightnessOnly on or off depending on value of flag.voidsetReliefFactor(Expression reliefFactor) The ReliefFactor gives the amount of exaggeration to use for the height of the ?
-
Constructor Details
-
ShadedReliefImpl
public ShadedReliefImpl() -
ShadedReliefImpl
-
-
Method Details
-
getReliefFactor
The ReliefFactor gives the amount of exaggeration to use for the height of the ?hills.? A value of around 55 (times) gives reasonable results for Earth-based DEMs. The default value is system-dependent.- Specified by:
getReliefFactorin interfaceShadedRelief- Returns:
- an expression which evaluates to a double.
-
isBrightnessOnly
public boolean isBrightnessOnly()indicates if brightnessOnly is true or false. Default is false.- Specified by:
isBrightnessOnlyin interfaceShadedRelief- Returns:
- boolean brightnessOn.
-
setBrightnessOnly
public void setBrightnessOnly(boolean flag) turns brightnessOnly on or off depending on value of flag.- Specified by:
setBrightnessOnlyin interfaceShadedRelief- Parameters:
flag- boolean
-
setReliefFactor
The ReliefFactor gives the amount of exaggeration to use for the height of the ?hills.? A value of around 55 (times) gives reasonable results for Earth-based DEMs. The default value is system-dependent.- Specified by:
setReliefFactorin interfaceShadedRelief- Parameters:
reliefFactor- an expression which evaluates to a double.
-
accept
Description copied from interface:ShadedReliefcalls the visit method of a StyleVisitor- Specified by:
acceptin interfaceShadedRelief- Parameters:
visitor- the style visitor
-
accept
- Specified by:
acceptin interfaceShadedRelief
-
hashCode
public int hashCode() -
equals
-