QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Prepared data container for QgsPointCloudRgbRenderer. More...
#include <qgspointcloudrgbrenderer.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 | blueAttribute = QStringLiteral( "Blue" ) |
std::unique_ptr< QgsContrastEnhancement > | blueContrastEnhancement |
int | blueOffset = 0 |
QgsPointCloudAttribute::DataType | blueType |
QString | greenAttribute = QStringLiteral( "Green" ) |
std::unique_ptr< QgsContrastEnhancement > | greenContrastEnhancement |
int | greenOffset = 0 |
QgsPointCloudAttribute::DataType | greenType |
QString | redAttribute = QStringLiteral( "Red" ) |
std::unique_ptr< QgsContrastEnhancement > | redContrastEnhancement |
int | redOffset = 0 |
QgsPointCloudAttribute::DataType | redType |
bool | useBlueContrastEnhancement = false |
bool | useGreenContrastEnhancement = false |
bool | useRedContrastEnhancement = false |
Prepared data container for QgsPointCloudRgbRenderer.
Definition at line 38 of file qgspointcloudrgbrenderer.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 299 of file qgspointcloudrgbrenderer.cpp.
|
overridevirtual |
Prepares the renderer for using the specified block.
Returns false
if preparation failed.
Implements QgsPreparedPointCloudRendererData.
Definition at line 276 of file qgspointcloudrgbrenderer.cpp.
|
overridevirtual |
Returns the set of attributes used by the prepared point cloud renderer.
Implements QgsPreparedPointCloudRendererData.
Definition at line 271 of file qgspointcloudrgbrenderer.cpp.
QString QgsPointCloudRgbRendererPreparedData::blueAttribute = QStringLiteral( "Blue" ) |
Definition at line 61 of file qgspointcloudrgbrenderer.h.
std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::blueContrastEnhancement |
Definition at line 64 of file qgspointcloudrgbrenderer.h.
int QgsPointCloudRgbRendererPreparedData::blueOffset = 0 |
Definition at line 72 of file qgspointcloudrgbrenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::blueType |
Definition at line 73 of file qgspointcloudrgbrenderer.h.
QString QgsPointCloudRgbRendererPreparedData::greenAttribute = QStringLiteral( "Green" ) |
Definition at line 60 of file qgspointcloudrgbrenderer.h.
std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::greenContrastEnhancement |
Definition at line 63 of file qgspointcloudrgbrenderer.h.
int QgsPointCloudRgbRendererPreparedData::greenOffset = 0 |
Definition at line 69 of file qgspointcloudrgbrenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::greenType |
Definition at line 70 of file qgspointcloudrgbrenderer.h.
QString QgsPointCloudRgbRendererPreparedData::redAttribute = QStringLiteral( "Red" ) |
Definition at line 59 of file qgspointcloudrgbrenderer.h.
std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::redContrastEnhancement |
Definition at line 62 of file qgspointcloudrgbrenderer.h.
int QgsPointCloudRgbRendererPreparedData::redOffset = 0 |
Definition at line 66 of file qgspointcloudrgbrenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::redType |
Definition at line 67 of file qgspointcloudrgbrenderer.h.
bool QgsPointCloudRgbRendererPreparedData::useBlueContrastEnhancement = false |
Definition at line 74 of file qgspointcloudrgbrenderer.h.
bool QgsPointCloudRgbRendererPreparedData::useGreenContrastEnhancement = false |
Definition at line 71 of file qgspointcloudrgbrenderer.h.
bool QgsPointCloudRgbRendererPreparedData::useRedContrastEnhancement = false |
Definition at line 68 of file qgspointcloudrgbrenderer.h.