QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Base class for 2d point cloud renderer prepared data containers. More...
#include <qgspointcloudrenderer.h>
Public Member Functions | |
virtual | ~QgsPreparedPointCloudRendererData () |
virtual QColor | pointColor (const QgsPointCloudBlock *block, int i, double z)=0 |
An optimised method of retrieving the color of a point from a point cloud block. | |
virtual bool | prepareBlock (const QgsPointCloudBlock *block)=0 |
Prepares the renderer for using the specified block. | |
virtual QSet< QString > | usedAttributes () const =0 |
Returns the set of attributes used by the prepared point cloud renderer. | |
Base class for 2d point cloud renderer prepared data containers.
Definition at line 281 of file qgspointcloudrenderer.h.
|
virtualdefault |
|
pure virtual |
An optimised method of retrieving the color of a point from a point cloud block.
Before calling this method prepareBlock() must be called for each incoming point cloud block.
Implemented in QgsPointCloudAttributeByRampRendererPreparedData, QgsPointCloudClassifiedRendererPreparedData, and QgsPointCloudRgbRendererPreparedData.
|
pure virtual |
Prepares the renderer for using the specified block.
Returns false
if preparation failed.
Implemented in QgsPointCloudAttributeByRampRendererPreparedData, QgsPointCloudClassifiedRendererPreparedData, and QgsPointCloudRgbRendererPreparedData.
|
pure virtual |
Returns the set of attributes used by the prepared point cloud renderer.
Implemented in QgsPointCloudAttributeByRampRendererPreparedData, QgsPointCloudClassifiedRendererPreparedData, and QgsPointCloudRgbRendererPreparedData.