Package org.geotools.styling
Class ShadedReliefImpl
- Object
- 
- ShadedReliefImpl
 
- 
- All Implemented Interfaces:
- ShadedRelief
 
 public class ShadedReliefImpl extends Object implements ShadedRelief Default implementation of ShadedRelief.- Author:
- iant
 
- 
- 
Constructor SummaryConstructors Constructor Description ShadedReliefImpl()ShadedReliefImpl(FilterFactory factory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(StyleVisitor visitor)Objectaccept(TraversingStyleVisitor visitor, Object data)calls the visit method of a StyleVisitorbooleanequals(Object obj)ExpressiongetReliefFactor()The ReliefFactor gives the amount of exaggeration to use for the height of the ?inthashCode()booleanisBrightnessOnly()indicates 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 Detail- 
ShadedReliefImplpublic ShadedReliefImpl() 
 - 
ShadedReliefImplpublic ShadedReliefImpl(FilterFactory factory) 
 
- 
 - 
Method Detail- 
getReliefFactorpublic Expression 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 interface- ShadedRelief
- Returns:
- an expression which evaluates to a double.
 
 - 
isBrightnessOnlypublic boolean isBrightnessOnly() indicates if brightnessOnly is true or false. Default is false.- Specified by:
- isBrightnessOnlyin interface- ShadedRelief
- Returns:
- boolean brightnessOn.
 
 - 
setBrightnessOnlypublic void setBrightnessOnly(boolean flag) turns brightnessOnly on or off depending on value of flag.- Specified by:
- setBrightnessOnlyin interface- ShadedRelief
- Parameters:
- flag- boolean
 
 - 
setReliefFactorpublic void setReliefFactor(Expression reliefFactor) 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 interface- ShadedRelief
- Parameters:
- reliefFactor- an expression which evaluates to a double.
 
 - 
acceptpublic Object accept(TraversingStyleVisitor visitor, Object data) Description copied from interface:ShadedReliefcalls the visit method of a StyleVisitor- Specified by:
- acceptin interface- ShadedRelief
- Parameters:
- visitor- the style visitor
 
 - 
acceptpublic void accept(StyleVisitor visitor) - Specified by:
- acceptin interface- ShadedRelief
 
 
- 
 
-