Class TLspHypsometricCreaseShader

java.lang.Object
com.luciad.tea.lightspeed.hypsometry.ALspHypsometricShader
com.luciad.tea.lightspeed.hypsometry.TLspHypsometricCreaseShader

public class TLspHypsometricCreaseShader extends ALspHypsometricShader
A shader that computes ridges and valleys. The computed hypsometric value is a measure for how strongly the terrain deviates from a locally fitted plane. When computing ridges and valleys, it can range from -pi/2 for sharp valleys to pi/2 for sharp ridges. When only computing either ridges or valleys, it can range from 0 for no ridges resp. valleys, to pi/2 for sharp ridges resp. valleys.

This shader provides similar results to the TLcdHypsometricCrease value provider.

Since:
2012.0
  • Method Details

    • equals

      public boolean equals(Object aO)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • newBuilder

      public static TLspHypsometricCreaseShader.Builder<?> newBuilder()
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • asBuilder

      public TLspHypsometricCreaseShader.Builder<?> asBuilder()
      Creates a new builder initialized with all the properties of this shader.
      Specified by:
      asBuilder in class ALspHypsometricShader
      Returns:
      the new builder.
    • getMinValue

      public double getMinValue()
      Description copied from class: ALspHypsometricShader
      Returns the minimum hypsometric value that this provider may return.
      Specified by:
      getMinValue in class ALspHypsometricShader
      Returns:
      the minimum hypsometric value
    • getMaxValue

      public double getMaxValue()
      Description copied from class: ALspHypsometricShader
      Returns the maximum hypsometric value that this provider may return.
      Specified by:
      getMaxValue in class ALspHypsometricShader
      Returns:
      the maximum hypsometric value
    • getType

      Determines whether ridges and/or valleys are visualized.
      Returns:
      the type of creases that are visualized
      Since:
      2017.1
    • getKernelRadius

      public int getKernelRadius()
      The radius used during computations.

      A radius r results in a footprint of 2r+1 x 2r+1.

      Returns:
      the radius used during computations