QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
qgstiledscenedataprovider.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgstiledscenedataprovider.cpp
3 --------------------
4 begin : June 2023
5 copyright : (C) 2023 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
19#include "qgsthreadingutils.h"
20
22 const QString &uri,
24 QgsDataProvider::ReadFlags flags )
25 : QgsDataProvider( uri, options, flags )
26{
27}
28
30 : QgsDataProvider( other.dataSourceUri( false ), ProviderOptions(), other.mReadFlags )
31{
33}
34
36
37Qgis::TiledSceneProviderCapabilities QgsTiledSceneDataProvider::capabilities() const
38{
40
41 return Qgis::TiledSceneProviderCapabilities();
42}
43
45{
47
48 return QString();
49}
50
Abstract base class for spatial data provider implementations.
QgsCoordinateTransformContext transformContext() const
Returns data provider coordinate transform context.
virtual void setTransformContext(const QgsCoordinateTransformContext &transformContext)
Sets data coordinate transform context to transformContext.
QgsRange which stores a range of double values.
Definition qgsrange.h:203
Base class for data providers for QgsTiledSceneLayer.
~QgsTiledSceneDataProvider() override
virtual QString htmlMetadata() const
Returns metadata in a format suitable for feeding directly into a subset of the GUI properties "Metad...
virtual Qgis::TiledSceneProviderCapabilities capabilities() const
Returns flags containing the supported capabilities for the data provider.
virtual QgsDoubleRange zRange() const
Returns the provider's z range, or an infinite range if this is not known.
QgsTiledSceneDataProvider(const QString &uri, const QgsDataProvider::ProviderOptions &providerOptions, QgsDataProvider::ReadFlags flags=QgsDataProvider::ReadFlags())
Constructor for QgsTiledSceneDataProvider.
#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS
Setting options for creating vector data providers.