QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Prepared data container for QgsPointCloudClassifiedRenderer. More...
#include <qgspointcloudclassifiedrenderer.h>
Public Member Functions | |
QColor | pointColor (const QgsPointCloudBlock *block, int i, double z) override |
An optimised method of retrieving the color of a point from a point cloud block. More... | |
bool | prepareBlock (const QgsPointCloudBlock *block) override |
Prepares the renderer for using the specified block. More... | |
QSet< QString > | usedAttributes () const override |
Returns the set of attributes used by the prepared point cloud renderer. More... | |
Public Member Functions inherited from QgsPreparedPointCloudRendererData | |
virtual | ~QgsPreparedPointCloudRendererData () |
Public Attributes | |
QString | attributeName |
int | attributeOffset = 0 |
QgsPointCloudAttribute::DataType | attributeType |
QHash< int, QColor > | colors |
Prepared data container for QgsPointCloudClassifiedRenderer.
Definition at line 128 of file qgspointcloudclassifiedrenderer.h.
|
overridevirtual |
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.
Implements QgsPreparedPointCloudRendererData.
Definition at line 358 of file qgspointcloudclassifiedrenderer.cpp.
|
overridevirtual |
Prepares the renderer for using the specified block.
Returns false
if preparation failed.
Implements QgsPreparedPointCloudRendererData.
Definition at line 347 of file qgspointcloudclassifiedrenderer.cpp.
|
overridevirtual |
Returns the set of attributes used by the prepared point cloud renderer.
Implements QgsPreparedPointCloudRendererData.
Definition at line 342 of file qgspointcloudclassifiedrenderer.cpp.
QString QgsPointCloudClassifiedRendererPreparedData::attributeName |
Definition at line 138 of file qgspointcloudclassifiedrenderer.h.
int QgsPointCloudClassifiedRendererPreparedData::attributeOffset = 0 |
Definition at line 139 of file qgspointcloudclassifiedrenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudClassifiedRendererPreparedData::attributeType |
Definition at line 136 of file qgspointcloudclassifiedrenderer.h.
QHash< int, QColor > QgsPointCloudClassifiedRendererPreparedData::colors |
Definition at line 137 of file qgspointcloudclassifiedrenderer.h.