QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsPointCloudRgbRendererPreparedData Class Reference

Prepared data container for QgsPointCloudRgbRenderer. More...

#include <qgspointcloudrgbrenderer.h>

Inheritance diagram for QgsPointCloudRgbRendererPreparedData:
Inheritance graph
[legend]

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< QgsContrastEnhancementblueContrastEnhancement
 
int blueOffset = 0
 
QgsPointCloudAttribute::DataType blueType
 
QString greenAttribute = QStringLiteral( "Green" )
 
std::unique_ptr< QgsContrastEnhancementgreenContrastEnhancement
 
int greenOffset = 0
 
QgsPointCloudAttribute::DataType greenType
 
QString redAttribute = QStringLiteral( "Red" )
 
std::unique_ptr< QgsContrastEnhancementredContrastEnhancement
 
int redOffset = 0
 
QgsPointCloudAttribute::DataType redType
 
bool useBlueContrastEnhancement = false
 
bool useGreenContrastEnhancement = false
 
bool useRedContrastEnhancement = false
 

Detailed Description

Prepared data container for QgsPointCloudRgbRenderer.

Note
Not available in Python bindings.
Since
QGIS 3.26

Definition at line 38 of file qgspointcloudrgbrenderer.h.

Member Function Documentation

◆ pointColor()

QColor QgsPointCloudRgbRendererPreparedData::pointColor ( const QgsPointCloudBlock block,
int  i,
double  z 
)
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.

Since
QGIS 3.26

Implements QgsPreparedPointCloudRendererData.

Definition at line 318 of file qgspointcloudrgbrenderer.cpp.

◆ prepareBlock()

bool QgsPointCloudRgbRendererPreparedData::prepareBlock ( const QgsPointCloudBlock block)
overridevirtual

Prepares the renderer for using the specified block.

Returns false if preparation failed.

Implements QgsPreparedPointCloudRendererData.

Definition at line 295 of file qgspointcloudrgbrenderer.cpp.

◆ usedAttributes()

QSet< QString > QgsPointCloudRgbRendererPreparedData::usedAttributes ( ) const
overridevirtual

Returns the set of attributes used by the prepared point cloud renderer.

Implements QgsPreparedPointCloudRendererData.

Definition at line 290 of file qgspointcloudrgbrenderer.cpp.

Member Data Documentation

◆ blueAttribute

QString QgsPointCloudRgbRendererPreparedData::blueAttribute = QStringLiteral( "Blue" )

Definition at line 48 of file qgspointcloudrgbrenderer.h.

◆ blueContrastEnhancement

std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::blueContrastEnhancement

Definition at line 51 of file qgspointcloudrgbrenderer.h.

◆ blueOffset

int QgsPointCloudRgbRendererPreparedData::blueOffset = 0

Definition at line 59 of file qgspointcloudrgbrenderer.h.

◆ blueType

QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::blueType

Definition at line 60 of file qgspointcloudrgbrenderer.h.

◆ greenAttribute

QString QgsPointCloudRgbRendererPreparedData::greenAttribute = QStringLiteral( "Green" )

Definition at line 47 of file qgspointcloudrgbrenderer.h.

◆ greenContrastEnhancement

std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::greenContrastEnhancement

Definition at line 50 of file qgspointcloudrgbrenderer.h.

◆ greenOffset

int QgsPointCloudRgbRendererPreparedData::greenOffset = 0

Definition at line 56 of file qgspointcloudrgbrenderer.h.

◆ greenType

QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::greenType

Definition at line 57 of file qgspointcloudrgbrenderer.h.

◆ redAttribute

QString QgsPointCloudRgbRendererPreparedData::redAttribute = QStringLiteral( "Red" )

Definition at line 46 of file qgspointcloudrgbrenderer.h.

◆ redContrastEnhancement

std::unique_ptr< QgsContrastEnhancement > QgsPointCloudRgbRendererPreparedData::redContrastEnhancement

Definition at line 49 of file qgspointcloudrgbrenderer.h.

◆ redOffset

int QgsPointCloudRgbRendererPreparedData::redOffset = 0

Definition at line 53 of file qgspointcloudrgbrenderer.h.

◆ redType

QgsPointCloudAttribute::DataType QgsPointCloudRgbRendererPreparedData::redType

Definition at line 54 of file qgspointcloudrgbrenderer.h.

◆ useBlueContrastEnhancement

bool QgsPointCloudRgbRendererPreparedData::useBlueContrastEnhancement = false

Definition at line 61 of file qgspointcloudrgbrenderer.h.

◆ useGreenContrastEnhancement

bool QgsPointCloudRgbRendererPreparedData::useGreenContrastEnhancement = false

Definition at line 58 of file qgspointcloudrgbrenderer.h.

◆ useRedContrastEnhancement

bool QgsPointCloudRgbRendererPreparedData::useRedContrastEnhancement = false

Definition at line 55 of file qgspointcloudrgbrenderer.h.


The documentation for this class was generated from the following files: