org.geotools.styling
Class ShadedReliefImpl

java.lang.Object
  extended by org.geotools.styling.ShadedReliefImpl
All Implemented Interfaces:
org.opengis.style.ShadedRelief

public class ShadedReliefImpl
extends java.lang.Object
implements ShadedRelief

Default implementation of ShadedRelief.

Author:
iant

Constructor Summary
ShadedReliefImpl()
           
ShadedReliefImpl(org.opengis.filter.FilterFactory factory)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
           
 boolean equals(java.lang.Object obj)
           
 org.opengis.filter.expression.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.
 int hashCode()
           
 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(org.opengis.filter.expression.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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadedReliefImpl

public ShadedReliefImpl()

ShadedReliefImpl

public ShadedReliefImpl(org.opengis.filter.FilterFactory factory)
Method Detail

getReliefFactor

public org.opengis.filter.expression.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 org.opengis.style.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 org.opengis.style.ShadedRelief
Returns:
boolean brightnessOn.

setBrightnessOnly

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

Parameters:
flag - boolean

setReliefFactor

public void setReliefFactor(org.opengis.filter.expression.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.

Parameters:
reliefFactor - an expression which evaluates to a double.

accept

public java.lang.Object accept(org.opengis.style.StyleVisitor visitor,
                               java.lang.Object data)
Specified by:
accept in interface org.opengis.style.ShadedRelief

accept

public void accept(StyleVisitor visitor)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.