org.geotools.styling
Class ShadedReliefImpl

java.lang.Object
  extended byorg.geotools.styling.ShadedReliefImpl
All Implemented Interfaces:
ShadedRelief

public class ShadedReliefImpl
extends java.lang.Object
implements ShadedRelief

Author:
iant

Constructor Summary
ShadedReliefImpl()
          Creates a new instance of ShadedReliefImpl
 
Method Summary
 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.
 boolean isBrightnessOnly()
          indicates if brightnessOnly is true or false.
 void setBrightnessOnly(boolean flag)
          turns brightnessOnly on or off depending on value of flag.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadedReliefImpl

public ShadedReliefImpl()
Creates a new instance of ShadedReliefImpl

Method Detail

getReliefFactor

public 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:
getReliefFactor in interface ShadedRelief
Returns:
an expression which evaluates to a double.

isBrightnessOnly

public boolean isBrightnessOnly()
indicates if brightnessOnly is true or false. Default is false.

Specified by:
isBrightnessOnly in interface ShadedRelief
Returns:
boolean brightnessOn.

setBrightnessOnly

public void setBrightnessOnly(boolean flag)
turns brightnessOnly on or off depending on value of flag.

Specified by:
setBrightnessOnly in interface ShadedRelief
Parameters:
flag - boolean

setReliefFactor

public 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:
setReliefFactor in interface ShadedRelief
Parameters:
reliefFactor - an expression which evaluates to a double.


Copyright © GeoTools. All Rights Reserved.