QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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. More... | |
virtual bool | prepareBlock (const QgsPointCloudBlock *block)=0 |
Prepares the renderer for using the specified block. More... | |
virtual QSet< QString > | usedAttributes () const =0 |
Returns the set of attributes used by the prepared point cloud renderer. More... | |
Base class for 2d point cloud renderer prepared data containers.
Definition at line 256 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 QgsPointCloudClassifiedRendererPreparedData, QgsPointCloudRgbRendererPreparedData, and QgsPointCloudAttributeByRampRendererPreparedData.
|
pure virtual |
Prepares the renderer for using the specified block.
Returns false
if preparation failed.
Implemented in QgsPointCloudClassifiedRendererPreparedData, QgsPointCloudRgbRendererPreparedData, and QgsPointCloudAttributeByRampRendererPreparedData.
|
pure virtual |
Returns the set of attributes used by the prepared point cloud renderer.
Implemented in QgsPointCloudClassifiedRendererPreparedData, QgsPointCloudRgbRendererPreparedData, and QgsPointCloudAttributeByRampRendererPreparedData.