public static final class TLspEyeDomeLightingSettings.Builder extends Object
enabled(boolean)
: truewindow(int)
: 1strength(double)
: 1.0color(Color)
: black
Modifier and Type | Method and Description |
---|---|
TLspEyeDomeLightingSettings |
build()
Construct a new settings object with the properties that are set on this builder.
|
TLspEyeDomeLightingSettings.Builder |
color(Color aEdlColor)
Sets the value for the
color property that is used for shading the EDL. |
TLspEyeDomeLightingSettings.Builder |
enabled(boolean aEnabled)
Sets the value for the
enabled property that defines whether the EDL model has to be applied. |
TLspEyeDomeLightingSettings.Builder |
strength(double aEdlStrength)
Sets the value for the
strength property that is multiplied with the shading that is applied to the
image. |
TLspEyeDomeLightingSettings.Builder |
window(int aEdlWindow)
Sets the value for the
window property that defines how many surrounding pixels must be taken into
account for the EDL model. |
public TLspEyeDomeLightingSettings.Builder enabled(boolean aEnabled)
enabled
property that defines whether the EDL model has to be applied.
The effect can be seen in these screenshots of a layer displaying point cloud data using a
TLspPointCloudStyle
:
true
.aEnabled
- a value for the EDL enabled propertypublic TLspEyeDomeLightingSettings.Builder window(int aEdlWindow)
window
property that defines how many surrounding pixels must be taken into
account for the EDL model.
2 * aEdlWindow + 1
for calculating the shade of that pixel;IllegalArgumentException
to be thrown.TLspPointCloudStyle
:
1
.aEdlWindow
- a value for the EDL window, between 1 and 10 (inclusive)public TLspEyeDomeLightingSettings.Builder strength(double aEdlStrength)
strength
property that is multiplied with the shading that is applied to the
image.
0.0
and 1.0
will soften the shade;1.0
and 4.0
will harden the shade;IllegalArgumentException
to be thrownTLspPointCloudStyle
:
1.0
.aEdlStrength
- a value for the EDL strength, between 0.0 and 4.0 (inclusive)public TLspEyeDomeLightingSettings.Builder color(Color aEdlColor)
color
property that is used for shading the EDL.
The effect can be seen in these screenshots of a layer displaying point cloud data using a
TLspPointCloudStyle
:
black
.aEdlColor
- a value for the EDL colorpublic TLspEyeDomeLightingSettings build()