16#ifndef QGSABSTRACTVECTORLAYER3DRENDERER_H
17#define QGSABSTRACTVECTORLAYER3DRENDERER_H
86 void writeXml( QDomElement &elem )
const;
88 void readXml(
const QDomElement &elem );
108 int mZoomLevelsCount = 3;
109 bool mShowBoundingBoxes =
false;
110 int mMaxChunkFeatures = 1000;
135 void resolveReferences(
const QgsProject &project )
override;
141 void writeXmlBaseProperties( QDomElement &elem,
const QgsReadWriteContext &context )
const;
QgsAbstract3DRenderer()=default
Base class for 3D renderers that are based on vector layers.
void setTilingSettings(const QgsVectorLayer3DTilingSettings &settings)
Sets tiling settings of the renderer.
QgsAbstractVectorLayer3DRenderer()
QgsVectorLayer3DTilingSettings tilingSettings() const
Returns tiling settings of the renderer.
void setLayer(QgsVectorLayer *layer)
Sets vector layer associated with the renderer.
QgsVectorLayer * layer() const
Returns vector layer associated with the renderer.
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.
Defines configuration of how a vector layer gets tiled for 3D rendering.
void setMaximumChunkFeatures(int value)
Sets the maximum number of features that will be fetched in any chunk.
Q_DECL_DEPRECATED int zoomLevelsCount() const
Returns number of zoom levels.
void setShowBoundingBoxes(bool enabled)
Sets whether to display bounding boxes of entity's tiles (for debugging).
static double tileGeometryErrorRatio()
This is the ratio of tile's largest size to geometry error and is used when setting the root tile's e...
int maximumChunkFeatures() const
Returns the maximum number of features that will be fetched in any chunk.
Q_DECL_DEPRECATED void setZoomLevelsCount(int count)
Sets number of zoom levels.
bool showBoundingBoxes() const
Returns whether to display bounding boxes of entity's tiles (for debugging).
static double maximumLeafExtent()
This is the maximum width or height a tile can have and still be considered a leaf node.
Represents a vector layer which manages a vector based dataset.
_LayerRef< QgsMapLayer > QgsMapLayerRef