18#ifndef QGSPOINTCLOUDLAYERRENDERER_H
19#define QGSPOINTCLOUDLAYERRENDERER_H
39#include <QElapsedTimer>
45class QgsPointCloudSubIndex;
85 std::unique_ptr< QgsPointCloudRenderer > mRenderer;
86 std::unique_ptr< QgsPointCloudExtentRenderer > mSubIndexExtentRenderer;
96 QList< QgsMapClippingRegion > mClippingRegions;
97 const QVector< QgsPointCloudSubIndex > mSubIndexes;
99 int mRenderTimeHint = 0;
100 bool mBlockRenderUpdates =
false;
101 QElapsedTimer mElapsedTimer;
103 std::unique_ptr<QgsFeedback> mFeedback =
nullptr;
105 bool mEnableProfile =
false;
106 quint64 mPreparationTime = 0;
QFlags< MapLayerRendererFlag > MapLayerRendererFlags
Flags which control how map layer renderers behave.
PointCloudDrawOrder
Pointcloud rendering order for 2d views.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
A geometry is the spatial representation of a feature.
Base class for utility classes that encapsulate information necessary for rendering of map layers.
virtual bool render()=0
Do the rendering (based on data stored in the class).
virtual bool forceRasterRender() const
Returns true if the renderer must be rendered to a raster paint device (e.g.
virtual Qgis::MapLayerRendererFlags flags() const
Returns flags which control how the map layer rendering behaves.
virtual void setLayerRenderingTimeHint(int time)
Sets approximate render time (in ms) for the layer to render.
Collection of point cloud attributes.
Represents a indexed point clouds data in octree.
Implementation of threaded rendering for point cloud layers.
QgsFeedback * feedback() const override
Access to feedback object of the layer renderer (may be nullptr)
~QgsPointCloudLayerRenderer()
Represents a map layer supporting display of point clouds.
Represents a indexed point cloud node's position in octree.
Encapsulates the render context for a 2D point cloud rendering operation.
Abstract base class for 2d point cloud renderers.
Point cloud data request.
Contains information about the context of a rendering operation.
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...