38 , mRefinementProcess( other.mRefinementProcess )
39 , mBoundingVolume( other.mBoundingVolume )
40 , mResources( other.mResources )
41 , mGeometricError( other.mGeometricError )
42 , mBaseUrl( other.mBaseUrl )
43 , mMetadata( other.mMetadata )
45 mTransform.reset( other.mTransform ?
new QgsMatrix4x4( *other.mTransform.get() ) : nullptr );
51 mRefinementProcess = other.mRefinementProcess;
52 mTransform.reset( other.mTransform ?
new QgsMatrix4x4( *other.mTransform.get() ) : nullptr );
53 mResources = other.mResources;
54 mGeometricError = other.mGeometricError;
55 mBoundingVolume = other.mBoundingVolume;
56 mBaseUrl = other.mBaseUrl;
57 mMetadata = other.mMetadata;
63 mRefinementProcess = process;
68 mBoundingVolume = volume;
73 return mBoundingVolume;
81 mTransform = std::make_unique< QgsMatrix4x4 >(
transform );
96 mGeometricError = error;
TileRefinementProcess
Tiled scene tile refinement processes.
A simple 4x4 matrix implementation useful for transformation in 3D space.
bool isIdentity() const
Returns whether this matrix is an identity matrix.
Represents a oriented (rotated) box in 3 dimensions.
Represents a bounding volume for a tiled scene.
Represents an individual tile from a tiled scene data source.
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 scene CRS units, of the tile's simplified rep...
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.
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)
Assignment operator.