Immutable set of parameters that describe the luciad::EyeDomeLightingEffect, a non-photorealistic lighting model which accentuates the shapes of objects by shading their outlines.
More...
#include <luciad/maps/effects/EyeDomeLightingModel.h>
|
| static Builder | newBuilder () |
| | Creates a new builder with the default eye-dome lighting parameters.
|
Immutable set of parameters that describe the luciad::EyeDomeLightingEffect, a non-photorealistic lighting model which accentuates the shapes of objects by shading their outlines.
This eye-dome lighting (EDL) model uses 3 parameters:
- the window parameter defines how many surrounding pixels must be taken into account.
- the strength parameter is a factor to multiply with the shading that is applied to the image.
- the color parameter defines what color the shade will have.
Create one with EyeDomeLightingModel::newBuilder, or start from an existing model with asBuilder, and apply it with EyeDomeLightingEffect::setModel.
- Since
- 2026.1
◆ ~EyeDomeLightingModel()
| luciad::EyeDomeLightingModel::~EyeDomeLightingModel |
( |
| ) |
|
◆ EyeDomeLightingModel()
◆ asBuilder()
| Builder luciad::EyeDomeLightingModel::asBuilder |
( |
| ) |
const |
Creates a builder pre-filled with this model's parameters.
- Returns
- a builder pre-filled with this model's parameters.
◆ getColor()
| Color luciad::EyeDomeLightingModel::getColor |
( |
| ) |
const |
Returns the color of the shade.
- Returns
- the color of the shade.
◆ getStrength()
| double luciad::EyeDomeLightingModel::getStrength |
( |
| ) |
const |
Returns the shading multiplication factor.
- Returns
- the shading multiplication factor.
◆ getWindow()
| uint32_t luciad::EyeDomeLightingModel::getWindow |
( |
| ) |
const |
Returns the number of surrounding pixels taken into account by the EDL model.
- Returns
- the number of surrounding pixels taken into account by the EDL model.
◆ newBuilder()
| Builder luciad::EyeDomeLightingModel::newBuilder |
( |
| ) |
|
|
static |
Creates a new builder with the default eye-dome lighting parameters.
- Returns
- a new builder.
◆ operator=()
◆ operator==()
Returns whether this model is equal to another.
- Parameters
-
| other | the model to compare with. |
- Returns
- whether this model is equal to another.