QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsAbstractProfileSource Class Referenceabstract

Interface for classes which can generate elevation profiles. More...

#include <qgsabstractprofilesource.h>

Inheritance diagram for QgsAbstractProfileSource:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsAbstractProfileSource ()
 
virtual QgsAbstractProfileGeneratorcreateProfileGenerator (const QgsProfileRequest &request)=0
 Given a profile request, returns a new profile generator ready for generating elevation profiles.
 

Detailed Description

Interface for classes which can generate elevation profiles.

Since
QGIS 3.26

Definition at line 33 of file qgsabstractprofilesource.h.

Constructor & Destructor Documentation

◆ ~QgsAbstractProfileSource()

QgsAbstractProfileSource::~QgsAbstractProfileSource ( )
virtualdefault

Member Function Documentation

◆ createProfileGenerator()

virtual QgsAbstractProfileGenerator * QgsAbstractProfileSource::createProfileGenerator ( const QgsProfileRequest request)
pure virtual

Given a profile request, returns a new profile generator ready for generating elevation profiles.

The caller takes ownership of the returned generator.

May return nullptr if the source cannot generate a profile at this time.

Implemented in QgsMeshLayer, QgsPointCloudLayer, QgsRasterLayer, and QgsVectorLayer.


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