QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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
52
57
61 virtual Qgis::TiledSceneProviderCapabilities capabilities() const;
62
67
77 virtual const QgsCoordinateReferenceSystem sceneCrs() const = 0;
78
86 virtual const QgsTiledSceneBoundingVolume &boundingVolume() const = 0;
87
97 virtual QgsTiledSceneIndex index() const = 0;
98
102 virtual QgsDoubleRange zRange() const;
103
104};
105
106#endif // QGSTILEDSCENEDATAPROVIDER_H
QFlags< TiledSceneProviderCapability > TiledSceneProviderCapabilities
Tiled scene data provider capabilities.
Definition: qgis.h:4551
This class represents a coordinate reference system (CRS).
Abstract base class for spatial data provider implementations.
QFlags< ReadFlag > ReadFlags
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
QgsTiledSceneDataProvider cannot be assigned.
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.