QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
qgstiledscenedataprovider.h
Go to the documentation of this file.
1/***************************************************************************
2 qgstiledscenedataprovider.h
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 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
16 * *
17 ***************************************************************************/
18
19#ifndef QGSTILEDSCENEDATAPROVIDER_H
20#define QGSTILEDSCENEDATAPROVIDER_H
21
22#include "qgis_core.h"
23#include "qgsdataprovider.h"
24#include "qgis.h"
25
28
36{
37 Q_OBJECT
38 public:
39
40
42 QgsTiledSceneDataProvider( const QString &uri,
43 const QgsDataProvider::ProviderOptions &providerOptions,
45
47
50
54 virtual Qgis::TiledSceneProviderCapabilities capabilities() const;
55
60
70 virtual const QgsCoordinateReferenceSystem sceneCrs() const = 0;
71
79 virtual const QgsTiledSceneBoundingVolume &boundingVolume() const = 0;
80
90 virtual QgsTiledSceneIndex index() const = 0;
91
95 virtual QgsDoubleRange zRange() const;
96
97};
98
99#endif // QGSTILEDSCENEDATAPROVIDER_H
QFlags< TiledSceneProviderCapability > TiledSceneProviderCapabilities
Tiled scene data provider capabilities.
Definition qgis.h:5229
QFlags< DataProviderReadFlag > DataProviderReadFlags
Flags which control data provider construction.
Definition qgis.h:450
This class represents a coordinate reference system (CRS).
Abstract base class for spatial data provider implementations.
QgsRange which stores a range of double values.
Definition qgsrange.h:231
Represents a bounding volume for a tiled scene.
Base class for data providers for QgsTiledSceneLayer.
virtual QgsTiledSceneDataProvider * clone() const =0
Returns a clone of the data provider.
~QgsTiledSceneDataProvider() override
virtual const QgsCoordinateReferenceSystem sceneCrs() const =0
Returns the original coordinate reference system for the tiled scene data.
virtual QgsTiledSceneIndex index() const =0
Returns the provider's tile index.
QgsTiledSceneDataProvider & operator=(const QgsTiledSceneDataProvider &other)=delete
virtual const QgsTiledSceneBoundingVolume & boundingVolume() const =0
Returns the bounding volume for the data provider.
An index for tiled scene data providers.
#define SIP_FACTORY
Definition qgis_sip.h:76
Setting options for creating vector data providers.