Skip to content

Class SlopeLayer

ClassList > SlopeLayer

Inherits the following classes: Layer

Public Signals inherited from Layer

See Layer

Type Name
signal void data_updated
signal void opacity_changed
signal void vertical_offset_changed
signal void visibility_changed (bool visible)

Public Functions

Type Name
SlopeLayer (const fs::path & dem_path, const fs::path & slope_path, AsyncProgressTracker progress_tracker, const std::string & target_crs_wkt={})
virtual Extent3D extent () override const
virtual std::string native_projection () override const
virtual std::string projection () override const
const AsyncRasterData & raster () const
AsyncRasterData & raster ()

Public Functions inherited from Layer

See Layer

Type Name
Layer (std::string name, LayerKind kind)
virtual Extent3D extent () const = 0
LayerKind kind () const
virtual std::string name () const
virtual std::string native_projection () const
float opacity () const
virtual std::string projection () const = 0
void set_opacity (float opacity)
void set_vertical_offset (float vertical_offset)
void set_visible (bool visible)
float vertical_offset () const
bool visible () const
virtual ~Layer () = default

Protected Attributes inherited from Layer

See Layer

Type Name
LayerKind m_kind
std::string m_name
float m_opacity = 1.0f
float m_vertical_offset = 0.0f
bool m_visible = true

Public Functions Documentation

function SlopeLayer

inline SlopeLayer::SlopeLayer (
    const fs::path & dem_path,
    const fs::path & slope_path,
    AsyncProgressTracker progress_tracker,
    const std::string & target_crs_wkt={}
) 

function extent

inline virtual Extent3D SlopeLayer::extent () override const

Implements Layer::extent


function native_projection

inline virtual std::string SlopeLayer::native_projection () override const

Implements Layer::native_projection


function projection

inline virtual std::string SlopeLayer::projection () override const

Implements Layer::projection


function raster [1/2]

inline const AsyncRasterData & SlopeLayer::raster () const

function raster [2/2]

inline AsyncRasterData & SlopeLayer::raster () 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/gui/layer.hpp