Implementation of threaded rendering for point cloud layers.
More...
#include <qgspointcloudlayerrenderer.h>
Implementation of threaded rendering for point cloud layers.
- Note
- The API is considered EXPERIMENTAL and can be changed without a notice
-
Not available in Python bindings
- Since
- QGIS 3.18
Definition at line 59 of file qgspointcloudlayerrenderer.h.
◆ QgsPointCloudLayerRenderer()
◆ ~QgsPointCloudLayerRenderer()
QgsPointCloudLayerRenderer::~QgsPointCloudLayerRenderer |
( |
| ) |
|
|
default |
◆ feedback()
QgsFeedback * QgsPointCloudLayerRenderer::feedback |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ forceRasterRender()
bool QgsPointCloudLayerRenderer::forceRasterRender |
( |
| ) |
const |
|
overridevirtual |
Returns true
if the renderer must be rendered to a raster paint device (e.g.
QImage).
Some layer settings require layers to be effectively "flattened" while rendering maps, which is achieved by first rendering the layer onto a raster paint device and then compositing the resultant image onto the final map render.
E.g. if a layer contains features with transparency or alternative blending modes, and the effects of these opacity or blending modes should be restricted to only affect other features within the SAME layer, then a flattened raster based render is required.
Subclasses should return true
whenever their corresponding layer settings require the layer to always be rendered using a raster paint device.
- Since
- QGIS 3.18
Reimplemented from QgsMapLayerRenderer.
Definition at line 506 of file qgspointcloudlayerrenderer.cpp.
◆ render()
bool QgsPointCloudLayerRenderer::render |
( |
| ) |
|
|
overridevirtual |
◆ setLayerRenderingTimeHint()
void QgsPointCloudLayerRenderer::setLayerRenderingTimeHint |
( |
int |
time | ) |
|
|
overridevirtual |
Sets approximate render time (in ms) for the layer to render.
This can be used to specifies a hint at the expected render times for the layer, so that the individual layer renderer subclasses can apply heuristics and determine appropriate update intervals during the render operation.
- Note
- Not available in Python bindings.
- Since
- QGIS 3.18
Reimplemented from QgsMapLayerRenderer.
Definition at line 513 of file qgspointcloudlayerrenderer.cpp.
The documentation for this class was generated from the following files: