QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
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,
44 QgsDataProvider::ReadFlags flags = QgsDataProvider::ReadFlags() );
45
47
52
57
61 virtual Qgis::TiledSceneProviderCapabilities capabilities() const;
62
67
72 virtual QString htmlMetadata() const;
73
83 virtual const QgsCoordinateReferenceSystem sceneCrs() const = 0;
84
92 virtual const QgsTiledSceneBoundingVolume &boundingVolume() const = 0;
93
103 virtual QgsTiledSceneIndex index() const = 0;
104
108 virtual QgsDoubleRange zRange() const;
109
110};
111
112#endif // QGSTILEDSCENEDATAPROVIDER_H
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:203
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.