QGIS API Documentation 3.41.0-Master (25ec5511245)
|
Prepared data container for QgsPointCloudAttributeByRampRenderer. More...
#include <qgspointcloudattributebyramprenderer.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. | |
bool | prepareBlock (const QgsPointCloudBlock *block) override |
Prepares the renderer for using the specified block. | |
QSet< QString > | usedAttributes () const override |
Returns the set of attributes used by the prepared point cloud renderer. | |
Public Member Functions inherited from QgsPreparedPointCloudRendererData | |
virtual | ~QgsPreparedPointCloudRendererData () |
Public Attributes | |
bool | attributeIsX = false |
bool | attributeIsY = false |
bool | attributeIsZ = false |
QString | attributeName |
int | attributeOffset = 0 |
QgsPointCloudAttribute::DataType | attributeType |
QgsColorRampShader | colorRampShader |
Prepared data container for QgsPointCloudAttributeByRampRenderer.
Definition at line 36 of file qgspointcloudattributebyramprenderer.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 282 of file qgspointcloudattributebyramprenderer.cpp.
|
overridevirtual |
Prepares the renderer for using the specified block.
Returns false
if preparation failed.
Implements QgsPreparedPointCloudRendererData.
Definition at line 308 of file qgspointcloudattributebyramprenderer.cpp.
|
overridevirtual |
Returns the set of attributes used by the prepared point cloud renderer.
Implements QgsPreparedPointCloudRendererData.
Definition at line 303 of file qgspointcloudattributebyramprenderer.cpp.
bool QgsPointCloudAttributeByRampRendererPreparedData::attributeIsX = false |
Definition at line 47 of file qgspointcloudattributebyramprenderer.h.
bool QgsPointCloudAttributeByRampRendererPreparedData::attributeIsY = false |
Definition at line 48 of file qgspointcloudattributebyramprenderer.h.
bool QgsPointCloudAttributeByRampRendererPreparedData::attributeIsZ = false |
Definition at line 49 of file qgspointcloudattributebyramprenderer.h.
QString QgsPointCloudAttributeByRampRendererPreparedData::attributeName |
Definition at line 44 of file qgspointcloudattributebyramprenderer.h.
int QgsPointCloudAttributeByRampRendererPreparedData::attributeOffset = 0 |
Definition at line 46 of file qgspointcloudattributebyramprenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudAttributeByRampRendererPreparedData::attributeType |
Definition at line 50 of file qgspointcloudattributebyramprenderer.h.
QgsColorRampShader QgsPointCloudAttributeByRampRendererPreparedData::colorRampShader |
Definition at line 45 of file qgspointcloudattributebyramprenderer.h.