org.geotools.styling
Class ShadedReliefImpl

java.lang.Object
  extended byorg.geotools.event.AbstractGTComponent
      extended byorg.geotools.styling.ShadedReliefImpl
All Implemented Interfaces:
GTComponent, ShadedRelief

public class ShadedReliefImpl
extends AbstractGTComponent
implements ShadedRelief

DOCUMENT ME!

Author:
iant

Field Summary
 
Fields inherited from class org.geotools.event.AbstractGTComponent
notification
 
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 org.geotools.event.AbstractGTComponent
changed, clone, fireChanged, fireChildChanged, getNote, getParent, removed, setNote
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

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.