public class TLspHypsometricHillShadingShader extends ALspHypsometric3DDirectionShader
[0, 1]
.
This shader is typically useful for computing hill shading, by selecting a
reference direction that specifies the direction of the sun
(in the local coordinate system of the raster). The computed values then correspond
to diffuse shading resulting from the sunlight, ranging for 0 for unlit areas to 1 for brightly
lit areas.
This shader provides similar results to the TLcdHypsometricSlope
.Modifier and Type | Class and Description |
---|---|
static class |
TLspHypsometricHillShadingShader.Builder<B extends TLspHypsometricHillShadingShader.Builder<B>>
Builder for hill shading shaders.
|
Modifier and Type | Method and Description |
---|---|
TLspHypsometricHillShadingShader.Builder<?> |
asBuilder()
Creates a new builder initialized with all the properties of this shader.
|
double |
getMaxValue()
Returns the maximum hypsometric value that this provider may return.
|
double |
getMinValue()
Returns the minimum hypsometric value that this provider may return.
|
static TLspHypsometricHillShadingShader.Builder<?> |
newBuilder()
Creates a new builder with the default values.
|
equals, getReferenceDirectionX, getReferenceDirectionY, getReferenceDirectionZ, hashCode
public static TLspHypsometricHillShadingShader.Builder<?> newBuilder()
public TLspHypsometricHillShadingShader.Builder<?> asBuilder()
asBuilder
in class ALspHypsometric3DDirectionShader
public double getMinValue()
ALspHypsometricShader
getMinValue
in class ALspHypsometricShader
public double getMaxValue()
ALspHypsometricShader
getMaxValue
in class ALspHypsometricShader