MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hillshade_layer.hpp
Go to the documentation of this file.
1 // clang-format off
2 
3 // This file is generated. Do not edit.
4 
5 #pragma once
6 
7 #include <mbgl/style/layer.hpp>
8 #include <mbgl/style/filter.hpp>
10 #include <mbgl/util/color.hpp>
11 
12 namespace mbgl {
13 namespace style {
14 
15 class TransitionOptions;
16 
17 class HillshadeLayer final : public Layer {
18 public:
19  HillshadeLayer(const std::string& layerID, const std::string& sourceID);
20  ~HillshadeLayer() override;
21 
22  // Paint properties
23 
29 
35 
41 
47 
53 
59 
60  // Private implementation
61 
62  class Impl;
63  const Impl& impl() const;
64 
67  std::unique_ptr<Layer> cloneRef(const std::string& id) const final;
68 
69 protected:
70  // Dynamic properties
71  std::optional<conversion::Error> setPropertyInternal(const std::string& name, const conversion::Convertible& value) final;
72 
73  StyleProperty getProperty(const std::string& name) const final;
74  Value serialize() const final;
75 
76  Mutable<Layer::Impl> mutableBaseImpl() const final;
77 };
78 
79 } // namespace style
80 } // namespace mbgl
81 
82 // clang-format on
TransitionOptions getHillshadeShadowColorTransition() const
std::optional< conversion::Error > setPropertyInternal(const std::string &name, const conversion::Convertible &value) final
HillshadeLayer(const std::string &layerID, const std::string &sourceID)
void setHillshadeHighlightColorTransition(const TransitionOptions &)
void setHillshadeExaggeration(const PropertyValue< float > &)
void setHillshadeExaggerationTransition(const TransitionOptions &)
static PropertyValue< float > getDefaultHillshadeIlluminationDirection()
const PropertyValue< float > & getHillshadeIlluminationDirection() const
void setHillshadeShadowColorTransition(const TransitionOptions &)
const PropertyValue< Color > & getHillshadeAccentColor() const
static PropertyValue< Color > getDefaultHillshadeShadowColor()
void setHillshadeIlluminationDirectionTransition(const TransitionOptions &)
TransitionOptions getHillshadeAccentColorTransition() const
std::unique_ptr< Layer > cloneRef(const std::string &id) const final
TransitionOptions getHillshadeIlluminationDirectionTransition() const
Mutable< Layer::Impl > mutableBaseImpl() const final
void setHillshadeHighlightColor(const PropertyValue< Color > &)
TransitionOptions getHillshadeIlluminationAnchorTransition() const
HillshadeLayer(Immutable< Impl >)
const PropertyValue< Color > & getHillshadeShadowColor() const
static PropertyValue< float > getDefaultHillshadeExaggeration()
Value serialize() const final
TransitionOptions getHillshadeHighlightColorTransition() const
void setHillshadeAccentColorTransition(const TransitionOptions &)
void setHillshadeIlluminationDirection(const PropertyValue< float > &)
const PropertyValue< HillshadeIlluminationAnchorType > & getHillshadeIlluminationAnchor() const
TransitionOptions getHillshadeExaggerationTransition() const
const PropertyValue< float > & getHillshadeExaggeration() const
static PropertyValue< Color > getDefaultHillshadeHighlightColor()
const Impl & impl() const
static PropertyValue< HillshadeIlluminationAnchorType > getDefaultHillshadeIlluminationAnchor()
Mutable< Impl > mutableImpl() const
void setHillshadeAccentColor(const PropertyValue< Color > &)
static PropertyValue< Color > getDefaultHillshadeAccentColor()
void setHillshadeIlluminationAnchorTransition(const TransitionOptions &)
void setHillshadeIlluminationAnchor(const PropertyValue< HillshadeIlluminationAnchorType > &)
StyleProperty getProperty(const std::string &name) const final
const PropertyValue< Color > & getHillshadeHighlightColor() const
void setHillshadeShadowColor(const PropertyValue< Color > &)
Generic representation of a style property.
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)
Definition: actor.hpp:15
mapbox::base::Value Value
Definition: feature.hpp:11