Skip to content

Class ContourLayer

ClassList > ContourLayer

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
ContourLayer (const fs::path & gpkg_path, AsyncProgressTracker async_progress_tracker, const std::string & target_crs_wkt={})
const std::vector< Contour > & contours () const
std::vector< Contour > copy_contours () const
virtual Extent3D extent () override const
virtual std::string native_projection () override const
virtual std::string projection () override const
bool ready () const

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 ContourLayer

inline ContourLayer::ContourLayer (
    const fs::path & gpkg_path,
    AsyncProgressTracker async_progress_tracker,
    const std::string & target_crs_wkt={}
) 

function contours

inline const std::vector< Contour > & ContourLayer::contours () const

function copy_contours

inline std::vector< Contour > ContourLayer::copy_contours () const

function extent

inline virtual Extent3D ContourLayer::extent () override const

Implements Layer::extent


function native_projection

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

Implements Layer::native_projection


function projection

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

Implements Layer::projection


function ready

inline bool ContourLayer::ready () const


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