Package com.luciad.view.lightspeed.style
Class TLspEyeDomeLightingSettings.Builder
java.lang.Object
com.luciad.view.lightspeed.style.TLspEyeDomeLightingSettings.Builder
- Enclosing class:
TLspEyeDomeLightingSettings
Builder used to create eye-dome lighting settings.
Default values:
enabled(boolean)
: truewindow(int)
: 1strength(double)
: 1.0color(Color)
:black
- Since:
- 2019.1
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct a new settings object with the properties that are set on this builder.Sets the value for thecolor
property that is used for shading the EDL.enabled
(boolean aEnabled) Sets the value for theenabled
property that defines whether the EDL model has to be applied.strength
(double aEdlStrength) Sets the value for thestrength
property that is multiplied with the shading that is applied to the image.window
(int aEdlWindow) Sets the value for thewindow
property that defines how many surrounding pixels must be taken into account for the EDL model.
-
Method Details
-
enabled
Sets the value for theenabled
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 aTLspPointCloudStyle
:
Default value:true
.- Parameters:
aEnabled
- a value for the EDL enabled property- Returns:
- this
-
window
Sets the value for thewindow
property that defines how many surrounding pixels must be taken into account for the EDL model.- a value of 1 to 10 will take into account a square area around a given pixel with a width and height of
2 * aEdlWindow + 1
for calculating the shade of that pixel; - any other value will result in an
IllegalArgumentException
to be thrown.
TLspPointCloudStyle
:
Default value:1
.- Parameters:
aEdlWindow
- a value for the EDL window, between 1 and 10 (inclusive)- Returns:
- this
- a value of 1 to 10 will take into account a square area around a given pixel with a width and height of
-
strength
Sets the value for thestrength
property that is multiplied with the shading that is applied to the image.- a value between
0.0
and1.0
will soften the shade; - a value between
1.0
and4.0
will harden the shade; - any other value will result in an
IllegalArgumentException
to be thrown
TLspPointCloudStyle
:
Default value:1.0
.- Parameters:
aEdlStrength
- a value for the EDL strength, between 0.0 and 4.0 (inclusive)- Returns:
- this
- a value between
-
color
Sets the value for thecolor
property that is used for shading the EDL. The effect can be seen in these screenshots of a layer displaying point cloud data using aTLspPointCloudStyle
:
Default value:black
.- Parameters:
aEdlColor
- a value for the EDL color- Returns:
- this
-
build
Construct a new settings object with the properties that are set on this builder.- Returns:
- a new settings object
-