Class TLspHypsometricCreaseShader
java.lang.Object
com.luciad.tea.lightspeed.hypsometry.ALspHypsometricShader
com.luciad.tea.lightspeed.hypsometry.TLspHypsometricCreaseShader
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for orientation angle shaders.static enum
Defines what should be painted in the hypsometric crease shader -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this shader.boolean
int
The radius used during computations.double
Returns the maximum hypsometric value that this provider may return.double
Returns the minimum hypsometric value that this provider may return.getType()
Determines whether ridges and/or valleys are visualized.int
hashCode()
static TLspHypsometricCreaseShader.Builder
<?> Creates a new builder with the default values.
-
Method Details
-
equals
-
hashCode
public int hashCode() -
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
-
asBuilder
Creates a new builder initialized with all the properties of this shader.- Specified by:
asBuilder
in classALspHypsometricShader
- 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 classALspHypsometricShader
- 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 classALspHypsometricShader
- 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 radiusr
results in a footprint of2r+1 x 2r+1
.- Returns:
- the radius used during computations
-