LuciadCPillar C# 2023.1.03
Luciad.Maps.Effects.EyeDomeLightingEffect Class Reference

This class implements the Eye-dome lighting (EDL) effect, a non-photorealistic lighting model which helps accentuate the shapes of different objects to improve depth perception, by shading their outlines. More...

Inheritance diagram for Luciad.Maps.Effects.EyeDomeLightingEffect:

Public Member Functions

void Dispose ()
 
void Set (int window, double strength, System.Drawing.Color color)
 Sets multiple properties in one go. More...
 

Properties

System.Drawing.Color Color [get, set]
 
bool IsEnabled [get, set]
 
double Strength [get, set]
 
int Window [get, set]
 

Detailed Description

This class implements the Eye-dome lighting (EDL) effect, a non-photorealistic lighting model which helps accentuate the shapes of different objects to improve depth perception, by shading their outlines.

Left: eye-dome lighting disabled, Right: eye-dome lighting enabled

The lighting model applies a shade to each pixel, based on the depth difference between that pixel and its surrounding pixels. The EDL technique uses 3 properties: the window property defines how many surrounding pixels must be taken into account. the strength property is a factor to multiply with the shading that is applied to the image. the color property defines what color the shade will have.

Note that Eye-dome lighting is only applied in 3D views. You cannot create an EyeDomeLightingEffect. Instead, you can retrieve it from luciad::GraphicsEffects::getEyeDomeLighting. 2022.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::EyeDomeLightingEffect.

Member Function Documentation

◆ Dispose()

void Luciad.Maps.Effects.EyeDomeLightingEffect.Dispose ( )
inline

◆ Set()

void Luciad.Maps.Effects.EyeDomeLightingEffect.Set ( int  window,
double  strength,
System.Drawing.Color  color 
)
inline

Sets multiple properties in one go.

window

number of surrounding pixels taken into account by EDL model.

strength

color of the shade.

color

shading multiplication factor.

setWindow

setStrength

setColor

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::EyeDomeLightingEffect::set.

Property Documentation

◆ Color

System.Drawing.Color Luciad.Maps.Effects.EyeDomeLightingEffect.Color
getset

◆ IsEnabled

bool Luciad.Maps.Effects.EyeDomeLightingEffect.IsEnabled
getset

◆ Strength

double Luciad.Maps.Effects.EyeDomeLightingEffect.Strength
getset

◆ Window

int Luciad.Maps.Effects.EyeDomeLightingEffect.Window
getset