mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
107 lines
3.5 KiB
Plaintext
107 lines
3.5 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/tiledscene/qgstiledscenedataprovider.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl 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,
|
|
QgsDataProvider::ReadFlags flags = QgsDataProvider::ReadFlags() );
|
|
%Docstring
|
|
Constructor for QgsTiledSceneDataProvider
|
|
%End
|
|
|
|
~QgsTiledSceneDataProvider();
|
|
|
|
QgsTiledSceneDataProvider( const QgsTiledSceneDataProvider &other );
|
|
%Docstring
|
|
Copy constructor.
|
|
%End
|
|
|
|
|
|
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 QString htmlMetadata() const;
|
|
%Docstring
|
|
Returns metadata in a format suitable for feeding directly
|
|
into a subset of the GUI properties "Metadata" tab.
|
|
%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.pl again *
|
|
************************************************************************/
|