LuciadCPillar 2026.1.02
Loading...
Searching...
No Matches
luciad::EyeDomeLightingModel Class Referencefinal

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>

Classes

class  Builder
 Builder for an luciad::EyeDomeLightingModel. More...

Public Member Functions

 EyeDomeLightingModel (const EyeDomeLightingModel &)=delete
 ~EyeDomeLightingModel ()
Builder asBuilder () const
 Creates a builder pre-filled with this model's parameters.
Color getColor () const
 Returns the color of the shade.
double getStrength () const
 Returns the shading multiplication factor.
uint32_t getWindow () const
 Returns the number of surrounding pixels taken into account by the EDL model.
EyeDomeLightingModel & operator= (const EyeDomeLightingModel &)=delete
bool operator== (const EyeDomeLightingModel &other) const
 Returns whether this model is equal to another.

Static Public Member Functions

static Builder newBuilder ()
 Creates a new builder with the default eye-dome lighting parameters.

Detailed Description

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

Constructor & Destructor Documentation

◆ ~EyeDomeLightingModel()

luciad::EyeDomeLightingModel::~EyeDomeLightingModel ( )

◆ EyeDomeLightingModel()

luciad::EyeDomeLightingModel::EyeDomeLightingModel ( const EyeDomeLightingModel & )
delete

Member Function Documentation

◆ 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=()

EyeDomeLightingModel & luciad::EyeDomeLightingModel::operator= ( const EyeDomeLightingModel & )
delete

◆ operator==()

bool luciad::EyeDomeLightingModel::operator== ( const EyeDomeLightingModel & other) const

Returns whether this model is equal to another.

Parameters
otherthe model to compare with.
Returns
whether this model is equal to another.