LuciadCPillar 2026.1
Loading...
Searching...
No Matches
luciad::LightModel Class Reference

Base class for the light that luciad::LightEffect uses to shade a map in 3D. More...

#include <luciad/maps/effects/LightModel.h>

Inheritance diagram for luciad::LightModel:
luciad::DirectionalLightModel luciad::HeadlightModel luciad::SunlightModel

Public Member Functions

 LightModel (const LightModel &)=delete
virtual ~LightModel ()=default
LightModel & operator= (const LightModel &)=delete

Protected Member Functions

 LightModel ()=default
 Default constructor.

Detailed Description

Base class for the light that luciad::LightEffect uses to shade a map in 3D.

This is a closed hierarchy: the concrete lights are luciad::HeadlightModel, luciad::DirectionalLightModel and luciad::SunlightModel. Applications cannot define their own light. Read the active light with LightEffect::getModel and narrow it to its concrete type to inspect its parameters. Disable lighting with LightEffect::setEnabled.

Since
2026.1

Constructor & Destructor Documentation

◆ ~LightModel()

virtual luciad::LightModel::~LightModel ( )
virtualdefault

◆ LightModel() [1/2]

luciad::LightModel::LightModel ( const LightModel & )
delete

◆ LightModel() [2/2]

luciad::LightModel::LightModel ( )
protecteddefault

Default constructor.

It is not the intent to extend from this class or to instantiate it directly, so this constructor must not be used.

Member Function Documentation

◆ operator=()

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