QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsTiledSceneTile Class Reference

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 QgsTiledSceneBoundingVolumeboundingVolume () 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.
 
QgsTiledSceneTileoperator= (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 QgsMatrix4x4transform () const
 Returns the tile's transform.
 

Detailed Description

Represents an individual tile from a tiled scene data source.

Since
QGIS 3.34

Definition at line 35 of file qgstiledscenetile.h.

Constructor & Destructor Documentation

◆ QgsTiledSceneTile() [1/3]

QgsTiledSceneTile::QgsTiledSceneTile ( )

Constructor for an invalid tile.

See also
isValid()

Definition at line 21 of file qgstiledscenetile.cpp.

◆ QgsTiledSceneTile() [2/3]

QgsTiledSceneTile::QgsTiledSceneTile ( long long  id)
explicit

Constructor for an valid tile.

See also
isValid()

Definition at line 27 of file qgstiledscenetile.cpp.

◆ ~QgsTiledSceneTile()

QgsTiledSceneTile::~QgsTiledSceneTile ( )
default

◆ QgsTiledSceneTile() [3/3]

QgsTiledSceneTile::QgsTiledSceneTile ( const QgsTiledSceneTile other)

Definition at line 36 of file qgstiledscenetile.cpp.

Member Function Documentation

◆ baseUrl()

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.

See also
setBaseUrl()

Definition at line 99 of file qgstiledscenetile.cpp.

◆ boundingVolume()

const QgsTiledSceneBoundingVolume & QgsTiledSceneTile::boundingVolume ( ) const

Returns the bounding volume for the tile.

See also
setBoundingVolume()

Definition at line 71 of file qgstiledscenetile.cpp.

◆ geometricError()

double QgsTiledSceneTile::geometricError ( ) const
inline

Returns the tile's geometric error, which is the error, in meters, of the tile's simplified representation of its source geometry.

See also
setGeometricError()

Definition at line 139 of file qgstiledscenetile.h.

◆ id()

long long QgsTiledSceneTile::id ( ) const
inline

Returns the tile's unique ID.

Definition at line 66 of file qgstiledscenetile.h.

◆ isValid()

bool QgsTiledSceneTile::isValid ( ) const
inline

Returns true if the tile is a valid tile (i.e.

not default constructed).

Definition at line 61 of file qgstiledscenetile.h.

◆ metadata()

QVariantMap QgsTiledSceneTile::metadata ( ) const

Returns additional metadata attached to the tile.

See also
setMetadata()

Definition at line 109 of file qgstiledscenetile.cpp.

◆ operator=()

QgsTiledSceneTile & QgsTiledSceneTile::operator= ( const QgsTiledSceneTile other)

Definition at line 48 of file qgstiledscenetile.cpp.

◆ refinementProcess()

Qgis::TileRefinementProcess QgsTiledSceneTile::refinementProcess ( ) const
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.

See also
setRefinementProcess()

Definition at line 76 of file qgstiledscenetile.h.

◆ resources()

QVariantMap QgsTiledSceneTile::resources ( ) const

Returns the resources attached to the tile.

See also
setResources()

Definition at line 84 of file qgstiledscenetile.cpp.

◆ setBaseUrl()

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.

See also
baseUrl()

Definition at line 104 of file qgstiledscenetile.cpp.

◆ setBoundingVolume()

void QgsTiledSceneTile::setBoundingVolume ( const QgsTiledSceneBoundingVolume volume)

Sets the bounding volume for the tile.

See also
boundingVolume()

Definition at line 66 of file qgstiledscenetile.cpp.

◆ setGeometricError()

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.

See also
geometricError()

Definition at line 94 of file qgstiledscenetile.cpp.

◆ setMetadata()

void QgsTiledSceneTile::setMetadata ( const QVariantMap &  metadata)

Sets additional metadata attached to the tile.

See also
metadata()

Definition at line 114 of file qgstiledscenetile.cpp.

◆ setRefinementProcess()

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.

See also
refinementProcess()

Definition at line 61 of file qgstiledscenetile.cpp.

◆ setResources()

void QgsTiledSceneTile::setResources ( const QVariantMap &  resources)

Sets the resources attached to the tile.

See also
resources()

Definition at line 89 of file qgstiledscenetile.cpp.

◆ setTransform()

void QgsTiledSceneTile::setTransform ( const QgsMatrix4x4 transform)

Sets the tile's transform.

See also
transform()

Definition at line 76 of file qgstiledscenetile.cpp.

◆ transform()

const QgsMatrix4x4 * QgsTiledSceneTile::transform ( ) const
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.

See also
transform()

Definition at line 117 of file qgstiledscenetile.h.


The documentation for this class was generated from the following files: