public final class TLspEyeDomeLightingSettings extends Object
TLspPointCloudStyle
:
enabled
property defines whether the EDL has to be applied.window
property defines how many surrounding pixels must be taken into account.strength
property is a factor to multiply with the shading that is applied to
the image. A value between 0 and 1 will soften the shade, a value between 1 and 4 will harden the shade.color
property defines what color the shade will have.TLspEyeDomeLightingSettings.Builder
class, of which an instance can
be acquired via newBuilder()
.
See TLspEyeDomeLightingSettings.Builder
for default values.
Example:
TLspEyeDomeLightingSettings settings = TLspEyeDomeLightingSettings.newBuilder()
.enabled(true)
.window(2)
.strength(0.85)
.color(Color.RED)
.build();
Modifier and Type | Class and Description |
---|---|
static class |
TLspEyeDomeLightingSettings.Builder
Builder used to create eye-dome lighting settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aO) |
Color |
getColor()
Returns the value for the EDL color, which defines what color the shade will have.
|
double |
getStrength()
Returns the value for the EDL strength, which is a factor to multiply with the shading that is applied to
the image.
|
int |
getWindow()
Returns the value for the EDL window, which defines how many surrounding pixels must be taken into account.
|
int |
hashCode() |
boolean |
isEnabled()
Returns whether EDL is enabled.
|
static TLspEyeDomeLightingSettings.Builder |
newBuilder()
Creates a new builder with the default values.
|
String |
toString() |
public static TLspEyeDomeLightingSettings.Builder newBuilder()
Builder for default values
public boolean isEnabled()
TLspEyeDomeLightingSettings.Builder.enabled(boolean)
public int getWindow()
TLspEyeDomeLightingSettings.Builder.window(int)
public double getStrength()
TLspEyeDomeLightingSettings.Builder.strength(double)
public Color getColor()
TLspEyeDomeLightingSettings.Builder.color(Color)