1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/tiledscene/qgstiledscenedataprovider.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsTiledSceneDataProvider: QgsDataProvider
{
%Docstring(signature="appended")
Base class for data providers for :py:class:`QgsTiledSceneLayer`
.. versionadded:: 3.34
%End
%TypeHeaderCode
#include "qgstiledscenedataprovider.h"
%End
public:
QgsTiledSceneDataProvider( const QString &uri,
const QgsDataProvider::ProviderOptions &providerOptions,
Qgis::DataProviderReadFlags flags = Qgis::DataProviderReadFlags() );
%Docstring
Constructor for QgsTiledSceneDataProvider
%End
~QgsTiledSceneDataProvider();
QgsTiledSceneDataProvider( const QgsTiledSceneDataProvider &other );
virtual Qgis::TiledSceneProviderCapabilities capabilities() const;
%Docstring
Returns flags containing the supported capabilities for the data
provider.
%End
virtual QgsTiledSceneDataProvider *clone() const = 0 /Factory/;
%Docstring
Returns a clone of the data provider.
%End
virtual const QgsCoordinateReferenceSystem sceneCrs() const = 0;
%Docstring
Returns the original coordinate reference system for the tiled scene
data.
This may differ from the :py:func:`QgsDataProvider.crs()`, which is the
best CRS representation for the data provider for 2D use.
.. warning::
Care must be taken to ensure that :py:func:`~QgsTiledSceneDataProvider.sceneCrs` is used instead of :py:func:`~QgsTiledSceneDataProvider.crs` whenever
transforming bounding volumes or geometries associated with the provider.
%End
virtual const QgsTiledSceneBoundingVolume &boundingVolume() const = 0;
%Docstring
Returns the bounding volume for the data provider.
This corresponds to the root node bounding volume.
.. warning::
Coordinates in the returned volume are in the :py:func:`~QgsTiledSceneDataProvider.sceneCrs` reference system, not the :py:func:`QgsDataProvider.crs()` system.
%End
virtual QgsTiledSceneIndex index() const = 0;
%Docstring
Returns the provider's tile index.
This is a shallow copy, implicitly shared container for an underlying
:py:class:`QgsAbstractTiledSceneIndex` implementation.
The index is thread safe and can be used safely across multiple threads
or transferred between threads.
%End
virtual QgsDoubleRange zRange() const;
%Docstring
Returns the provider's z range, or an infinite range if this is not
known.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/tiledscene/qgstiledscenedataprovider.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|