|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
Represents an individual tile from a tiled scene data source. More...
#include <qgstiledscenetile.h>
Public Member Functions | |
| QgsTiledSceneTile () | |
| Constructor for an invalid tile. | |
| QgsTiledSceneTile (const QgsTiledSceneTile &other) | |
| QgsTiledSceneTile (long long id) | |
| Constructor for an valid tile. | |
| ~QgsTiledSceneTile () | |
| QUrl | baseUrl () const |
| Returns the tile's base URL. | |
| const QgsTiledSceneBoundingVolume & | boundingVolume () const |
| Returns the bounding volume for the tile. | |
| double | geometricError () const |
| Returns the tile's geometric error, which is the error, in meters, of the tile's simplified representation of its source geometry. | |
| long long | id () const |
| Returns the tile's unique ID. | |
| bool | isValid () const |
Returns true if the tile is a valid tile (i.e. | |
| QVariantMap | metadata () const |
| Returns additional metadata attached to the tile. | |
| QgsTiledSceneTile & | operator= (const QgsTiledSceneTile &other) |
| Qgis::TileRefinementProcess | refinementProcess () const |
| Returns the tile's refinement process. | |
| QVariantMap | resources () const |
| Returns the resources attached to the tile. | |
| void | setBaseUrl (const QUrl &baseUrl) |
| Sets the tile's base URL. | |
| void | setBoundingVolume (const QgsTiledSceneBoundingVolume &volume) |
| Sets the bounding volume for the tile. | |
| void | setGeometricError (double error) |
| Sets the tile's geometric error, which is the error, in meters, of the tile's simplified representation of its source geometry. | |
| void | setMetadata (const QVariantMap &metadata) |
| Sets additional metadata attached to the tile. | |
| void | setRefinementProcess (Qgis::TileRefinementProcess process) |
| Sets the tile's refinement process. | |
| void | setResources (const QVariantMap &resources) |
| Sets the resources attached to the tile. | |
| void | setTransform (const QgsMatrix4x4 &transform) |
| Sets the tile's transform. | |
| const QgsMatrix4x4 * | transform () const |
| Returns the tile's transform. | |
Represents an individual tile from a tiled scene data source.
Definition at line 35 of file qgstiledscenetile.h.
| QgsTiledSceneTile::QgsTiledSceneTile | ( | ) |
Constructor for an invalid tile.
Definition at line 22 of file qgstiledscenetile.cpp.
|
explicit |
Constructor for an valid tile.
Definition at line 28 of file qgstiledscenetile.cpp.
|
default |
| QgsTiledSceneTile::QgsTiledSceneTile | ( | const QgsTiledSceneTile & | other | ) |
Definition at line 37 of file qgstiledscenetile.cpp.
| QUrl QgsTiledSceneTile::baseUrl | ( | ) | const |
Returns the tile's base URL.
If this tile's resources are relative paths, they would get resolved against this URL.
Definition at line 103 of file qgstiledscenetile.cpp.
| const QgsTiledSceneBoundingVolume & QgsTiledSceneTile::boundingVolume | ( | ) | const |
Returns the bounding volume for the tile.
Definition at line 75 of file qgstiledscenetile.cpp.
|
inline |
Returns the tile's geometric error, which is the error, in meters, of the tile's simplified representation of its source geometry.
Definition at line 139 of file qgstiledscenetile.h.
|
inline |
Returns the tile's unique ID.
Definition at line 66 of file qgstiledscenetile.h.
|
inline |
Returns true if the tile is a valid tile (i.e.
not default constructed).
Definition at line 61 of file qgstiledscenetile.h.
| QVariantMap QgsTiledSceneTile::metadata | ( | ) | const |
Returns additional metadata attached to the tile.
Definition at line 113 of file qgstiledscenetile.cpp.
| QgsTiledSceneTile & QgsTiledSceneTile::operator= | ( | const QgsTiledSceneTile & | other | ) |
Definition at line 49 of file qgstiledscenetile.cpp.
|
inline |
Returns the tile's refinement process.
Refinement determines the process by which a lower resolution parent tile's content is handled when its higher resolution children are also included.
Definition at line 76 of file qgstiledscenetile.h.
| QVariantMap QgsTiledSceneTile::resources | ( | ) | const |
Returns the resources attached to the tile.
Definition at line 88 of file qgstiledscenetile.cpp.
| void QgsTiledSceneTile::setBaseUrl | ( | const QUrl & | baseUrl | ) |
Sets the tile's base URL.
If this tile's resources are relative paths, they would get resolved against this URL.
Definition at line 108 of file qgstiledscenetile.cpp.
| void QgsTiledSceneTile::setBoundingVolume | ( | const QgsTiledSceneBoundingVolume & | volume | ) |
Sets the bounding volume for the tile.
Definition at line 70 of file qgstiledscenetile.cpp.
| void QgsTiledSceneTile::setGeometricError | ( | double | error | ) |
Sets the tile's geometric error, which is the error, in meters, of the tile's simplified representation of its source geometry.
Definition at line 98 of file qgstiledscenetile.cpp.
| void QgsTiledSceneTile::setMetadata | ( | const QVariantMap & | metadata | ) |
Sets additional metadata attached to the tile.
Definition at line 118 of file qgstiledscenetile.cpp.
| void QgsTiledSceneTile::setRefinementProcess | ( | Qgis::TileRefinementProcess | process | ) |
Sets the tile's refinement process.
Refinement determines the process by which a lower resolution parent tile's content is handled when its higher resolution children are also included.
Definition at line 65 of file qgstiledscenetile.cpp.
| void QgsTiledSceneTile::setResources | ( | const QVariantMap & | resources | ) |
Sets the resources attached to the tile.
Definition at line 93 of file qgstiledscenetile.cpp.
| void QgsTiledSceneTile::setTransform | ( | const QgsMatrix4x4 & | transform | ) |
|
inline |
Returns the tile's transform.
May be nullptr if no transform is associated with the tile.
This represents the transformation which must be applied to all geometries from the tile in order to transform them to the dataset's coordinate reference system.
Definition at line 117 of file qgstiledscenetile.h.