QGIS API Documentation
3.28.0-Firenze (ed3ad0430f)
src
core
elevation
qgsabstractprofilesource.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsabstractprofilesource.h
3
---------------
4
begin : March 2022
5
copyright : (C) 2022 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
#ifndef QGSABSTRACTPROFILESOURCE_H
18
#define QGSABSTRACTPROFILESOURCE_H
19
20
#include "qgis_core.h"
21
#include "
qgis_sip.h
"
22
23
class
QgsProfileRequest
;
24
class
QgsAbstractProfileGenerator
;
25
26
33
class
CORE_EXPORT
QgsAbstractProfileSource
34
{
35
36
public
:
37
38
virtual
~QgsAbstractProfileSource
();
39
48
virtual
QgsAbstractProfileGenerator
*
createProfileGenerator
(
const
QgsProfileRequest
&request ) = 0
SIP_FACTORY
;
49
50
};
51
52
#endif
// QGSABSTRACTPROFILESOURCE_H
QgsAbstractProfileGenerator
Abstract base class for objects which generate elevation profiles.
Definition:
qgsabstractprofilegenerator.h:393
QgsAbstractProfileSource
Interface for classes which can generate elevation profiles.
Definition:
qgsabstractprofilesource.h:34
QgsAbstractProfileSource::createProfileGenerator
virtual QgsAbstractProfileGenerator * createProfileGenerator(const QgsProfileRequest &request)=0
Given a profile request, returns a new profile generator ready for generating elevation profiles.
QgsAbstractProfileSource::~QgsAbstractProfileSource
virtual ~QgsAbstractProfileSource()
QgsProfileRequest
Encapsulates properties and constraints relating to fetching elevation profiles from different source...
Definition:
qgsprofilerequest.h:38
qgis_sip.h
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:76
Generated on Sat Oct 22 2022 16:10:47 for QGIS API Documentation by
1.9.4