QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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. | |
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 | |
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 318 of file qgspointcloudrgbrenderer.cpp.
|
overridevirtual |
Prepares the renderer for using the specified block.
Returns false
if preparation failed.
Implements QgsPreparedPointCloudRendererData.
Definition at line 295 of file qgspointcloudrgbrenderer.cpp.
|
overridevirtual |
Returns the set of attributes used by the prepared point cloud renderer.
Implements QgsPreparedPointCloudRendererData.
Definition at line 290 of file qgspointcloudrgbrenderer.cpp.
QString QgsPointCloudRgbRendererPreparedData::blueAttribute = QStringLiteral( "Blue" ) |
Definition at line 48 of file qgspointcloudrgbrenderer.h.
std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::blueContrastEnhancement |
Definition at line 51 of file qgspointcloudrgbrenderer.h.
int QgsPointCloudRgbRendererPreparedData::blueOffset = 0 |
Definition at line 59 of file qgspointcloudrgbrenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::blueType |
Definition at line 60 of file qgspointcloudrgbrenderer.h.
QString QgsPointCloudRgbRendererPreparedData::greenAttribute = QStringLiteral( "Green" ) |
Definition at line 47 of file qgspointcloudrgbrenderer.h.
std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::greenContrastEnhancement |
Definition at line 50 of file qgspointcloudrgbrenderer.h.
int QgsPointCloudRgbRendererPreparedData::greenOffset = 0 |
Definition at line 56 of file qgspointcloudrgbrenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::greenType |
Definition at line 57 of file qgspointcloudrgbrenderer.h.
QString QgsPointCloudRgbRendererPreparedData::redAttribute = QStringLiteral( "Red" ) |
Definition at line 46 of file qgspointcloudrgbrenderer.h.
std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::redContrastEnhancement |
Definition at line 49 of file qgspointcloudrgbrenderer.h.
int QgsPointCloudRgbRendererPreparedData::redOffset = 0 |
Definition at line 53 of file qgspointcloudrgbrenderer.h.
QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::redType |
Definition at line 54 of file qgspointcloudrgbrenderer.h.
bool QgsPointCloudRgbRendererPreparedData::useBlueContrastEnhancement = false |
Definition at line 61 of file qgspointcloudrgbrenderer.h.
bool QgsPointCloudRgbRendererPreparedData::useGreenContrastEnhancement = false |
Definition at line 58 of file qgspointcloudrgbrenderer.h.
bool QgsPointCloudRgbRendererPreparedData::useRedContrastEnhancement = false |
Definition at line 55 of file qgspointcloudrgbrenderer.h.