16#ifndef QGSTILEDSCENELAYER3DRENDERER_H
17#define QGSTILEDSCENELAYER3DRENDERER_H
54 if ( sipCpp->type() == QLatin1String(
"tiledscene" ) )
56 sipType = sipType_QgsTiledSceneLayer3DRenderer;
105 QString
type()
const override {
return "tiledscene"; }
110 void resolveReferences( const
QgsProject &project ) override;
114 double mMaximumScreenError = 16.0;
115 bool mShowBoundingBoxes = false;
Base class for all renderers that participate in 3D views.
QgsAbstract3DRenderer()=default
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
A container for the context for various read/write operations on objects.
3D renderer that renders content of a tiled scene layer.
QgsTiledSceneLayer * layer() const
Returns tiled scene layer associated with the renderer.
void setLayer(QgsTiledSceneLayer *layer)
Sets tiled scene layer associated with the renderer.
QString type() const override
Returns unique identifier of the renderer class (used to identify subclass).
bool showBoundingBoxes() const
Returns whether bounding boxes will be visible when rendering the tiled scene.
double maximumScreenError() const
Returns the maximum screen error allowed when rendering the tiled scene.
QgsTiledSceneLayer3DRenderer()
void setShowBoundingBoxes(bool showBoundingBoxes)
Sets whether bounding boxes will be visible when rendering the tiled scene.
void setMaximumScreenError(double error)
Sets the maximum screen error allowed when rendering the tiled scene.
Represents a map layer supporting display of tiled scene objects.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
_LayerRef< QgsMapLayer > QgsMapLayerRef