MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::HillshadeLayer Class Referencefinal

#include <hillshade_layer.hpp>

Inheritance diagram for mbgl::style::HillshadeLayer:

Public Member Functions

 HillshadeLayer (const std::string &layerID, const std::string &sourceID)
 
 ~HillshadeLayer () override
 
const PropertyValue< Color > & getHillshadeAccentColor () const
 
void setHillshadeAccentColor (const PropertyValue< Color > &)
 
void setHillshadeAccentColorTransition (const TransitionOptions &)
 
TransitionOptions getHillshadeAccentColorTransition () const
 
const PropertyValue< float > & getHillshadeExaggeration () const
 
void setHillshadeExaggeration (const PropertyValue< float > &)
 
void setHillshadeExaggerationTransition (const TransitionOptions &)
 
TransitionOptions getHillshadeExaggerationTransition () const
 
const PropertyValue< Color > & getHillshadeHighlightColor () const
 
void setHillshadeHighlightColor (const PropertyValue< Color > &)
 
void setHillshadeHighlightColorTransition (const TransitionOptions &)
 
TransitionOptions getHillshadeHighlightColorTransition () const
 
const PropertyValue< HillshadeIlluminationAnchorType > & getHillshadeIlluminationAnchor () const
 
void setHillshadeIlluminationAnchor (const PropertyValue< HillshadeIlluminationAnchorType > &)
 
void setHillshadeIlluminationAnchorTransition (const TransitionOptions &)
 
TransitionOptions getHillshadeIlluminationAnchorTransition () const
 
const PropertyValue< float > & getHillshadeIlluminationDirection () const
 
void setHillshadeIlluminationDirection (const PropertyValue< float > &)
 
void setHillshadeIlluminationDirectionTransition (const TransitionOptions &)
 
TransitionOptions getHillshadeIlluminationDirectionTransition () const
 
const PropertyValue< Color > & getHillshadeShadowColor () const
 
void setHillshadeShadowColor (const PropertyValue< Color > &)
 
void setHillshadeShadowColorTransition (const TransitionOptions &)
 
TransitionOptions getHillshadeShadowColorTransition () const
 
const Impl & impl () const
 
Mutable< Impl > mutableImpl () const
 
 HillshadeLayer (Immutable< Impl >)
 
std::unique_ptr< Layer > cloneRef (const std::string &id) const final
 

Static Public Member Functions

static PropertyValue< ColorgetDefaultHillshadeAccentColor ()
 
static PropertyValue< float > getDefaultHillshadeExaggeration ()
 
static PropertyValue< ColorgetDefaultHillshadeHighlightColor ()
 
static PropertyValue< HillshadeIlluminationAnchorTypegetDefaultHillshadeIlluminationAnchor ()
 
static PropertyValue< float > getDefaultHillshadeIlluminationDirection ()
 
static PropertyValue< ColorgetDefaultHillshadeShadowColor ()
 

Protected Member Functions

std::optional< conversion::ErrorsetPropertyInternal (const std::string &name, const conversion::Convertible &value) final
 
StyleProperty getProperty (const std::string &name) const final
 
Value serialize () const final
 
Mutable< Layer::Impl > mutableBaseImpl () const final
 

Detailed Description

Definition at line 17 of file hillshade_layer.hpp.

Constructor & Destructor Documentation

◆ HillshadeLayer() [1/2]

mbgl::style::HillshadeLayer::HillshadeLayer ( const std::string &  layerID,
const std::string &  sourceID 
)

◆ ~HillshadeLayer()

mbgl::style::HillshadeLayer::~HillshadeLayer ( )
override

◆ HillshadeLayer() [2/2]

mbgl::style::HillshadeLayer::HillshadeLayer ( Immutable< Impl >  )

Member Function Documentation

◆ cloneRef()

std::unique_ptr<Layer> mbgl::style::HillshadeLayer::cloneRef ( const std::string &  id) const
final

◆ getDefaultHillshadeAccentColor()

static PropertyValue<Color> mbgl::style::HillshadeLayer::getDefaultHillshadeAccentColor ( )
static

◆ getDefaultHillshadeExaggeration()

static PropertyValue<float> mbgl::style::HillshadeLayer::getDefaultHillshadeExaggeration ( )
static

◆ getDefaultHillshadeHighlightColor()

static PropertyValue<Color> mbgl::style::HillshadeLayer::getDefaultHillshadeHighlightColor ( )
static

◆ getDefaultHillshadeIlluminationAnchor()

static PropertyValue<HillshadeIlluminationAnchorType> mbgl::style::HillshadeLayer::getDefaultHillshadeIlluminationAnchor ( )
static

◆ getDefaultHillshadeIlluminationDirection()

static PropertyValue<float> mbgl::style::HillshadeLayer::getDefaultHillshadeIlluminationDirection ( )
static

◆ getDefaultHillshadeShadowColor()

static PropertyValue<Color> mbgl::style::HillshadeLayer::getDefaultHillshadeShadowColor ( )
static

◆ getHillshadeAccentColor()

const PropertyValue<Color>& mbgl::style::HillshadeLayer::getHillshadeAccentColor ( ) const

◆ getHillshadeAccentColorTransition()

TransitionOptions mbgl::style::HillshadeLayer::getHillshadeAccentColorTransition ( ) const

◆ getHillshadeExaggeration()

const PropertyValue<float>& mbgl::style::HillshadeLayer::getHillshadeExaggeration ( ) const

◆ getHillshadeExaggerationTransition()

TransitionOptions mbgl::style::HillshadeLayer::getHillshadeExaggerationTransition ( ) const

◆ getHillshadeHighlightColor()

const PropertyValue<Color>& mbgl::style::HillshadeLayer::getHillshadeHighlightColor ( ) const

◆ getHillshadeHighlightColorTransition()

TransitionOptions mbgl::style::HillshadeLayer::getHillshadeHighlightColorTransition ( ) const

◆ getHillshadeIlluminationAnchor()

const PropertyValue<HillshadeIlluminationAnchorType>& mbgl::style::HillshadeLayer::getHillshadeIlluminationAnchor ( ) const

◆ getHillshadeIlluminationAnchorTransition()

TransitionOptions mbgl::style::HillshadeLayer::getHillshadeIlluminationAnchorTransition ( ) const

◆ getHillshadeIlluminationDirection()

const PropertyValue<float>& mbgl::style::HillshadeLayer::getHillshadeIlluminationDirection ( ) const

◆ getHillshadeIlluminationDirectionTransition()

TransitionOptions mbgl::style::HillshadeLayer::getHillshadeIlluminationDirectionTransition ( ) const

◆ getHillshadeShadowColor()

const PropertyValue<Color>& mbgl::style::HillshadeLayer::getHillshadeShadowColor ( ) const

◆ getHillshadeShadowColorTransition()

TransitionOptions mbgl::style::HillshadeLayer::getHillshadeShadowColorTransition ( ) const

◆ getProperty()

StyleProperty mbgl::style::HillshadeLayer::getProperty ( const std::string &  name) const
finalprotected

◆ impl()

const Impl& mbgl::style::HillshadeLayer::impl ( ) const

◆ mutableBaseImpl()

Mutable<Layer::Impl> mbgl::style::HillshadeLayer::mutableBaseImpl ( ) const
finalprotected

◆ mutableImpl()

Mutable<Impl> mbgl::style::HillshadeLayer::mutableImpl ( ) const

◆ serialize()

Value mbgl::style::HillshadeLayer::serialize ( ) const
finalprotected

◆ setHillshadeAccentColor()

void mbgl::style::HillshadeLayer::setHillshadeAccentColor ( const PropertyValue< Color > &  )

◆ setHillshadeAccentColorTransition()

void mbgl::style::HillshadeLayer::setHillshadeAccentColorTransition ( const TransitionOptions )

◆ setHillshadeExaggeration()

void mbgl::style::HillshadeLayer::setHillshadeExaggeration ( const PropertyValue< float > &  )

◆ setHillshadeExaggerationTransition()

void mbgl::style::HillshadeLayer::setHillshadeExaggerationTransition ( const TransitionOptions )

◆ setHillshadeHighlightColor()

void mbgl::style::HillshadeLayer::setHillshadeHighlightColor ( const PropertyValue< Color > &  )

◆ setHillshadeHighlightColorTransition()

void mbgl::style::HillshadeLayer::setHillshadeHighlightColorTransition ( const TransitionOptions )

◆ setHillshadeIlluminationAnchor()

void mbgl::style::HillshadeLayer::setHillshadeIlluminationAnchor ( const PropertyValue< HillshadeIlluminationAnchorType > &  )

◆ setHillshadeIlluminationAnchorTransition()

void mbgl::style::HillshadeLayer::setHillshadeIlluminationAnchorTransition ( const TransitionOptions )

◆ setHillshadeIlluminationDirection()

void mbgl::style::HillshadeLayer::setHillshadeIlluminationDirection ( const PropertyValue< float > &  )

◆ setHillshadeIlluminationDirectionTransition()

void mbgl::style::HillshadeLayer::setHillshadeIlluminationDirectionTransition ( const TransitionOptions )

◆ setHillshadeShadowColor()

void mbgl::style::HillshadeLayer::setHillshadeShadowColor ( const PropertyValue< Color > &  )

◆ setHillshadeShadowColorTransition()

void mbgl::style::HillshadeLayer::setHillshadeShadowColorTransition ( const TransitionOptions )

◆ setPropertyInternal()

std::optional<conversion::Error> mbgl::style::HillshadeLayer::setPropertyInternal ( const std::string &  name,
const conversion::Convertible value 
)
finalprotected

The documentation for this class was generated from the following file: