Class ALspHypsometric3DDirectionShader.Builder<B extends ALspHypsometric3DDirectionShader.Builder<B>>
java.lang.Object
com.luciad.tea.lightspeed.hypsometry.ALspHypsometricShader.Builder<B>
com.luciad.tea.lightspeed.hypsometry.ALspHypsometric3DDirectionShader.Builder<B>
- Direct Known Subclasses:
TLspHypsometricHillShadingShader.Builder
,TLspHypsometricSlopeAngleShader.Builder
- Enclosing class:
ALspHypsometric3DDirectionShader
public abstract static class ALspHypsometric3DDirectionShader.Builder<B extends ALspHypsometric3DDirectionShader.Builder<B>>
extends ALspHypsometricShader.Builder<B>
Builder for hypsometric shaders based on a 3D reference direction.
- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptionall
(ALspHypsometricShader aShader) Sets all parameters on the builder based on the given shader.abstract ALspHypsometric3DDirectionShader
build()
Builds the shader with the set parameters.referenceDirection
(double aX, double aY, double aZ) Set the reference direction.
-
Method Details
-
referenceDirection
Set the reference direction. This direction is not necessarily normalized.- Parameters:
aX
- the x-coordinate of the directionaY
- the y-coordinate of the directionaZ
- the z-coordinate of the direction- Returns:
this
-
all
Description copied from class:ALspHypsometricShader.Builder
Sets 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:
all
in classALspHypsometricShader.Builder<B extends ALspHypsometric3DDirectionShader.Builder<B>>
- Parameters:
aShader
- the shader to copy- Returns:
this
-
build
Description copied from class:ALspHypsometricShader.Builder
Builds the shader with the set parameters.- Specified by:
build
in classALspHypsometricShader.Builder<B extends ALspHypsometric3DDirectionShader.Builder<B>>
- Returns:
- the resulting shader
-