QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
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 () |
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... | |
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 302 of file qgspointcloudrgbrenderer.cpp.
|
overridevirtual |
Prepares the renderer for using the specified block.
Returns false
if preparation failed.
Implements QgsPreparedPointCloudRendererData.
Definition at line 279 of file qgspointcloudrgbrenderer.cpp.
|
overridevirtual |
Returns the set of attributes used by the prepared point cloud renderer.
Implements QgsPreparedPointCloudRendererData.
Definition at line 274 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.