19#ifndef QGSTILEDSCENETILE_H
20#define QGSTILEDSCENETILE_H
65 long long id()
const {
return mId; }
123 QVariantMap resources()
const;
130 void setResources(
const QVariantMap &resources );
146 void setGeometricError(
double error );
154 QUrl baseUrl()
const;
162 void setBaseUrl(
const QUrl &baseUrl );
169 QVariantMap metadata()
const;
176 void setMetadata(
const QVariantMap &metadata );
182 std::unique_ptr< QgsMatrix4x4 > mTransform;
183 QVariantMap mResources;
184 double mGeometricError = 0;
186 QVariantMap mMetadata;
TileRefinementProcess
Tiled scene tile refinement processes.
@ Replacement
When tile is refined then its children should be used in place of itself.
A simple 4x4 matrix implementation useful for transformation in 3D space.
Represents a bounding volume for a tiled scene.
bool isValid() const
Returns true if the tile is a valid tile (i.e.
Qgis::TileRefinementProcess refinementProcess() const
Returns the tile's refinement process.
QgsTiledSceneTile()
Constructor for an invalid tile.
long long id() const
Returns the tile's unique ID.
const QgsMatrix4x4 * transform() const
Returns the tile's transform.
double geometricError() const
Returns the tile's geometric error, which is the error, in meters, of the tile's simplified represent...
QgsTiledSceneTile & operator=(const QgsTiledSceneTile &other)