39 , mRefinementProcess( other.mRefinementProcess )
40 , mBoundingVolume( other.mBoundingVolume )
41 , mResources( other.mResources )
42 , mGeometricError( other.mGeometricError )
43 , mBaseUrl( other.mBaseUrl )
44 , mMetadata( other.mMetadata )
46 mTransform.reset( other.mTransform ?
new QgsMatrix4x4( *other.mTransform.get() ) :
nullptr );
55 mRefinementProcess = other.mRefinementProcess;
56 mTransform.reset( other.mTransform ?
new QgsMatrix4x4( *other.mTransform.get() ) :
nullptr );
57 mResources = other.mResources;
58 mGeometricError = other.mGeometricError;
59 mBoundingVolume = other.mBoundingVolume;
60 mBaseUrl = other.mBaseUrl;
61 mMetadata = other.mMetadata;
67 mRefinementProcess = process;
72 mBoundingVolume = volume;
77 return mBoundingVolume;
85 mTransform = std::make_unique< QgsMatrix4x4 >(
transform );
100 mGeometricError = error;
TileRefinementProcess
Tiled scene tile refinement processes.
A simple 4x4 matrix implementation useful for transformation in 3D space.
Represents a oriented (rotated) box in 3 dimensions.
Represents a bounding volume for a tiled scene.
void setTransform(const QgsMatrix4x4 &transform)
Sets the tile's transform.
void setMetadata(const QVariantMap &metadata)
Sets additional metadata attached to the tile.
void setBaseUrl(const QUrl &baseUrl)
Sets the tile's base URL.
QVariantMap resources() const
Returns the resources attached to the tile.
void setGeometricError(double error)
Sets the tile's geometric error, which is the error, in meters, of the tile's simplified representati...
const QgsTiledSceneBoundingVolume & boundingVolume() const
Returns the bounding volume for the tile.
QgsTiledSceneTile()
Constructor for an invalid tile.
void setRefinementProcess(Qgis::TileRefinementProcess process)
Sets the tile's refinement process.
void setBoundingVolume(const QgsTiledSceneBoundingVolume &volume)
Sets the bounding volume for the tile.
QVariantMap metadata() const
Returns additional metadata attached to the tile.
long long id() const
Returns the tile's unique ID.
const QgsMatrix4x4 * transform() const
Returns the tile's transform.
void setResources(const QVariantMap &resources)
Sets the resources attached to the tile.
QUrl baseUrl() const
Returns the tile's base URL.
QgsTiledSceneTile & operator=(const QgsTiledSceneTile &other)