Class ShadedReliefImpl

  • All Implemented Interfaces:
    ShadedRelief

    public class ShadedReliefImpl
    extends Object
    implements ShadedRelief
    Default implementation of ShadedRelief.
    Author:
    iant
    • Constructor Detail

      • ShadedReliefImpl

        public ShadedReliefImpl()
      • ShadedReliefImpl

        public ShadedReliefImpl​(FilterFactory factory)
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object