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

Atmosphere model that draws a simple sky/horizon color gradient around the globe. More...

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

Inheritance diagram for luciad::GradientAtmosphereModel:
luciad::AtmosphereModel

Classes

class  Builder
 Builder for a luciad::GradientAtmosphereModel. More...

Public Member Functions

 ~GradientAtmosphereModel () override
Builder asBuilder () const
 Creates a builder pre-filled with this model's parameters.
Color getHorizonColor () const
 Returns the horizon color.
Color getSkyColor () const
 Returns the sky color.
bool operator== (const GradientAtmosphereModel &other) const
 Returns whether this model is equal to another.
Public Member Functions inherited from luciad::AtmosphereModel
 AtmosphereModel (const AtmosphereModel &)=delete
virtual ~AtmosphereModel ()=default
AtmosphereModel & operator= (const AtmosphereModel &)=delete

Static Public Member Functions

static Builder newBuilder ()
 Creates a new builder with the default gradient parameters.

Additional Inherited Members

Protected Member Functions inherited from luciad::AtmosphereModel
 AtmosphereModel ()=default
 Default constructor.

Detailed Description

Atmosphere model that draws a simple sky/horizon color gradient around the globe.

In a geocentric view a gradient going from getHorizonColor to getSkyColor is visible on the horizon. This is the default atmosphere model.

Since
2026.1

Constructor & Destructor Documentation

◆ ~GradientAtmosphereModel()

luciad::GradientAtmosphereModel::~GradientAtmosphereModel ( )
override

Member Function Documentation

◆ asBuilder()

Builder luciad::GradientAtmosphereModel::asBuilder ( ) const

Creates a builder pre-filled with this model's parameters.

Returns
a builder pre-filled with this model's parameters.

◆ getHorizonColor()

Color luciad::GradientAtmosphereModel::getHorizonColor ( ) const

Returns the horizon color.

Returns
the horizon color.

◆ getSkyColor()

Color luciad::GradientAtmosphereModel::getSkyColor ( ) const

Returns the sky color.

Returns
the sky color.

◆ newBuilder()

Builder luciad::GradientAtmosphereModel::newBuilder ( )
static

Creates a new builder with the default gradient parameters.

Returns
a new builder.

◆ operator==()

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

Returns whether this model is equal to another.

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