Class TLspHypsometricCreaseShader.Builder<B extends TLspHypsometricCreaseShader.Builder<B>>
java.lang.Object
com.luciad.tea.lightspeed.hypsometry.ALspHypsometricShader.Builder<B>
com.luciad.tea.lightspeed.hypsometry.TLspHypsometricCreaseShader.Builder<B>
- Enclosing class:
TLspHypsometricCreaseShader
public static class TLspHypsometricCreaseShader.Builder<B extends TLspHypsometricCreaseShader.Builder<B>>
extends ALspHypsometricShader.Builder<B>
Builder for orientation angle shaders.
The default shader computes ridges and valleys with the default kernel radius.
- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptionall(ALspHypsometricShader aShader) Sets all parameters on the builder based on the given shader.build()Builds the shader with the set parameters.kernelRadius(int aKernelRadius) Sets the radius used during computations.Determines whether ridges and/or valleys are visualized.
-
Method Details
-
type
Determines whether ridges and/or valleys are visualized.- Parameters:
aType- the type- Returns:
this
-
kernelRadius
Sets the radius used during computations. A radiusrresults in a footprint of2r+1 x 2r+1.- Parameters:
aKernelRadius- the kernel radius in [1,2]- Returns:
this
-
all
Description copied from class:ALspHypsometricShader.BuilderSets all parameters on the builder based on the given shader. This is useful for example to create a new shader that has almost all properties equal to another shader.- Specified by:
allin classALspHypsometricShader.Builder<B extends TLspHypsometricCreaseShader.Builder<B>>- Parameters:
aShader- the shader to copy- Returns:
this
-
build
Description copied from class:ALspHypsometricShader.BuilderBuilds the shader with the set parameters.- Specified by:
buildin classALspHypsometricShader.Builder<B extends TLspHypsometricCreaseShader.Builder<B>>- Returns:
- the resulting shader
-